summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
AgeCommit message (Collapse)Author
2015-05-01DD-379 : React on update for both listing and version foldersMerov Linden
2015-04-09DD-384, DD-388 : Do not trust cached values for stock folders, do not ↵Merov Linden
consider a non fetched stock folder empty
2015-04-02DD-291 : Use a heavier but more resilient test for listing updatesMerov Linden
2015-04-01DD-291 : Fix code path on category update in the SLM update caseMerov Linden
2015-03-28DD-291 : Trigger a GET /listing when receiving a category updateMerov Linden
2014-11-11Pull merge from lindenlanb/viewer-releaseMerov Linden
2014-10-06BUG-7454 Viewer crashes while logging with a turned off "HTTP Inventory"Monty Brandenberg
The HttpRequest objects used in inventory ops are created lazily when needed. The update() operation didn't protect against their not being created. Added some guard tests around the update() operations and we're good.
2014-09-22Tuning and documentation. Use a fast poll frequency (0.05S)Monty Brandenberg
on the HTTP requests for inventory. We'll benchmark with that and see how it goes. Document some of the history of the background fetcher for future devs. Suggest some future projects to make things faster. Pointers on using LLSD with the llcorehttp library in the readme. And restructured the LLSD onCompleted() processing phases using do{}while(false) which produced a code flow that is fairly attractive.
2014-09-19Cleanup work. Use http constants for content-type andMonty Brandenberg
accept headers in mesh and textures. For texture metrics reporting, use the AP_INVENTORY policy class which is non-pipelined and pointing (usually) in the right direction. Use a do-while(false) structure to manage common exit path code in onCompleted() methods. Identical to a 'goto' but might amuse the pedantic. Tuning on background fetch to have it cycle faster. This is experimental. I suspect with HTTP balancing in llcorehttp, we can do away with the timers here.
2014-09-09Cleanup pass. Documentation. Get older llcorehttp-usingMonty Brandenberg
code to use utils for any LLSD interfaces.
2014-08-26Bring better error handling to inventory item and folder fetching.Monty Brandenberg
First, introduced some LLSD-based interfaces to the llcorehttp code using utils classes (in llcorehttputil). I've kept LLSD out of the llcorehttp library up to now and will continue to do that. Functions provide a requestPost based on LLSD body and conversion utils for HttpResponse-to-LLSD and HttpResponse-to-string conversions. Inventory fetch operations now do more thorough error checking including 200-with-error status checking. Still do retry forever on folders though I don't like that.
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-06-04DD-84 : Final clean up for this fixMerov Linden
2014-06-03DD-84 : Fix all active listing modification actions. Add specific message ↵Merov Linden
when listing will unlist. Make update skip consistency check when called from internal level (not public API).
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-16DD-102 : Fix crash when emptying trash containing nested folders. Also avoid ↵Merov Linden
getting listings several times
2014-05-15fix for bad mergeBrad Payne (Vir Linden)
2014-05-14v-r -> s-e merge WIPBrad Payne (Vir Linden)
2014-05-13sunshine-external merge WIPBrad Payne (Vir Linden)
2014-05-01DD-81 : Fixed the stock folder count update using an inventory observer. ↵Merov Linden
This observe other changes as well of interest to marketplace and should improve consistency in general
2014-04-22MergeXiaohong Bao
2014-04-22mergeBrad Payne (Vir Linden)
2014-04-08DD-18 : Compute stock for all levels, get folders to update more ↵Merov Linden
consistently on all actions in the marketplace
2014-04-03DD-20 : Handle edge cases a bit more cleanlyMerov Linden
2014-04-02DD-20 : WIP : Improve Cut and Paste for marketplace. Still some use cases ↵Merov Linden
that are not working well
2014-04-01DD-20 : WIP : Implemented the cut and paste code for marketplace. Stock ↵Merov Linden
update still not working as expected.
2014-03-31DD-18 : WIP : Making stock folders update work betterMerov Linden
2014-03-28DD-24 : Add FT_MARKETPLACE_STOCK as a new type for folders, implement the ↵Merov Linden
promotion code for Drag and Drop, display of stock folders and embryonic marketplace validation
2013-12-19SH-4664 WIP - updated from from UpdateCreateInventoryItem to inventory ↵Brad Payne (Vir Linden)
observers.
2013-12-03SH-4640 WIP - use backlinks in inventoryBrad Payne (Vir Linden)
2013-12-03SH-4640 WIPBrad Payne (Vir Linden)
2013-11-26MAINT-3319 : Fix the purge of descendents of a category. Note: the cached ↵Merov Linden
number of descendents is not always reliable
2013-11-25SH-4613 WIP - add CREATE mask bit for newly created items in ↵Brad Payne (Vir Linden)
AISUpdate::doUpdate() - needed for some inventory observers.
2013-11-19ACME-3319 : Consolidate Merchant Outboxes when several are present into one ↵Merov Linden
in the right place
2013-11-18MAINT-3319 : WIP : Introduce a consolidate folder method used for Merchant ↵Merov Linden
Outbox
2013-11-18SH-4625 FIX - changed a warning that didn't really indicate a problem to an ↵Brad Payne (Vir Linden)
info statement
2013-11-18SH-4578 WIP - cleaner folder version accountingBrad Payne (Vir Linden)
2013-11-15SH-4621 WIPBrad Payne (Vir Linden)
2013-11-04SH-4595 WIP - use new LLInventoryObserver::CREATE flag to distinguish newly ↵Brad Payne (Vir Linden)
created items from existing ones being added to inventory.
2013-11-01SH-4595 WIP - reworked descendents of LLInventoryAddedObserver to use ↵Brad Payne (Vir Linden)
gInventory.getAddedIDs(). LLInventoryAddedObserver isn't really needed anymore, but leaving it in as a debugging point at least for now.
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
2013-07-17SH-4344 FIX - return the lowest UUID for a child of root with the desired ↵Brad Payne (Vir Linden)
preferred type. Also removed some duplicate code between findCategoryUUIDForType and findLibraryCategoryUUIDForType
2013-07-11Adding support for COPY methods to httpclient. Implementing viewer-side use ↵Don Kjer
of AISv3 COPY library folder operation. (SH-4304)
2013-06-25SH-4305 WIPBrad Payne (Vir Linden)
2013-06-24SH-4243 WIP - cleaned up callback structure for createNewCategory, modified ↵Brad Payne (Vir Linden)
makeNewOutfitLinks() to wait for category creation before populating.
2013-06-17SH-4238 WIP - postpone calling notifyObservers until all deletes are processed.Brad Payne (Vir Linden)
2013-06-07SH-4216 WIP - moved AISv3 commands and responders to llaisapi.* filesBrad Payne (Vir Linden)
2013-06-07SH-4216 WIP - broke up the onAISUpdateReceived monolithBrad Payne (Vir Linden)