summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
AgeCommit message (Collapse)Author
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-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-04-22MergeXiaohong Bao
2014-04-22mergeBrad Payne (Vir Linden)
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)
2013-06-06SH-4166 WIP - fix for a permissions issue that was preventing cof-created ↵Brad Payne (Vir Linden)
links from being reordered in outfits.
2013-06-05SH-3635 WIP - logging cleanup, moved some big dumps into separate XML filesBrad Payne (Vir Linden)
2013-06-05SH-3635 WIP - COF slammer works in AISv3 regions. Extensive rework of ↵Brad Payne (Vir Linden)
onAISUpdateReceived.
2013-05-24SH-4207 WIP - use item updates with callback when updating link ↵Brad Payne (Vir Linden)
descriptions. Reworked updateAppearanceFromCOF() cof-validation stages.
2013-05-24SH-4027 WIP - initial implementation of item update via AIS.Brad Payne (Vir Linden)
2013-05-20SH-4200 FIX - retry ais ops on 5xx errors, dialed back some verbose logging.Brad Payne (Vir Linden)
2013-05-13SH-4168 WIP, SH-4155 WIP - update inventory model based on ais returns, try ↵Brad Payne (Vir Linden)
to maintain loading... string more consistently in folder bridge
2013-05-09SH-4168 WIP - fixed some bugs in inventory deletion and lost-and-found handling.Brad Payne (Vir Linden)
2013-05-07SH-4154 FIX - added a few more validity checks. Disabled by default so users ↵Brad Payne (Vir Linden)
won't have logs spammed.
2013-05-01SH-4154 WIP - gInventory.validate() has inventory model internal consistency ↵Brad Payne (Vir Linden)
checks
2013-04-25SH-4137 WIP - added callback-based support for purge descendents, remove ↵Brad Payne (Vir Linden)
category
2013-04-24SH-4128 WIP - misc cleanupBrad Payne (Vir Linden)
2013-04-24SH-4128 WIP - cleanup around item link removal and callbacksBrad Payne (Vir Linden)
2013-04-24CHUI-849 WIP, SH-4116 WIP - added simpler match check in inventory for when ↵Brad Payne (Vir Linden)
we don't need the list of matches to be returned.
2013-04-18SH-4116 WIP - removed follow_folder_links behavior, which was used nowhere ↵Brad Payne (Vir Linden)
and isn't really desirable currently
2013-04-18SH-4128 WIP - avoid needless called to updateLinkedObjectsFromPurge()Brad Payne (Vir Linden)
2013-04-08mergeprep
2013-04-05mergeNyx Linden