summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.h
AgeCommit message (Collapse)Author
2015-11-10remove execute permission from many files that should not have itOz Linden
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-19merge fix for merge with project interesting. New appearance utility source ↵Nyx Linden
and one quick doubly-declared typedef.
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-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-18MAINT-3319 : WIP : Introduce a consolidate folder method used for Merchant ↵Merov Linden
Outbox
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-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-17fix for build failure mac, linuxBrad Payne (Vir Linden)
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-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-05merge with viewer-releaseRichard 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-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-05Spring cleaning: removed unused .cpp and.h files, and cleaned up header ↵Richard Linden
dependencies
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-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-19merge changes for DRTVWR-294Oz Linden
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-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-13Merging LLCURL::Responder changes with CHUI changes. Fixed gcc 4.6 compile ↵Don Kjer
failures
2013-03-13Large changes to the LLCurl::Responder API, as well as pulling in some ↵Don Kjer
changes to common libraries from the server codebase: * Additional error checking in http handlers. * Uniform log spam for http errors. * Switch to using constants for http heads and status codes. * Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error. * Reduced spam regarding LLSD parsing errors in the default completedRaw http handler. It should not longer be necessary to short-circuit completedRaw to avoid spam. * Ported over a few bug fixes from the server code. * Switch mode http status codes to use S32 instead of U32. * Ported LLSD::asStringRef from server code; avoids copying strings all over the place. * Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob. * Ported server pretty notation format (and pretty binary format) to llsd serialization. * The new LLCurl::Responder API no longer has two error handlers to choose from. Overriding the following methods have been deprecated: ** error - use httpFailure ** errorWithContent - use httpFailure ** result - use httpSuccess ** completed - use httpCompleted ** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers. * In order to 'catch' a completed http request, override one of these methods: ** httpSuccess - Called for any 2xx status code. ** httpFailure - Called for any non-2xx status code. ** httpComplete - Called for all status codes. Default implementation is to call either httpSuccess or httpFailure. * It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below). * Uniform error handling should followed whenever possible by calling a variant of this during httpFailure: ** llwarns << dumpResponse() << llendl; * Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context. * In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed. * Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class). * Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods: ** successResult - Sets results and calls httpSuccess ** failureResult - Sets results and calls httpFailure ** completedResult - Sets results and calls httpCompleted * To obtain information about a the response from a reponder method, use the following getters: ** getStatus - HTTP status code ** getReason - Reason string ** getContent - Content (Parsed body LLSD) ** getResponseHeaders - Response Headers (LLSD map) ** getHTTPMethod - HTTP method of the request ** getURL - URL of the request * It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO. * See indra/llmessage/llcurl.h for more information.
2013-03-11Viewer-chui mergeprep
2013-03-05Fixing issues with not detecting when LLSD XML parsing fails. Changing most ↵Don Kjer
http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam.
2012-07-30CHUI-217 FIX Items are not visible in Merchant OutboxRichard Linden
cleaned up a lot custom code for folder view item creation in inbox and outbox proper initialization of views from inventory panel starting folder
2012-06-21CHUI-101 WIP Make LLFolderview general purposeRichard Linden
inventory item labels and icons displaying again
2012-03-27CHOP-854: Use new LLInventoryModel::removeObject() to discard offer.Nat Goodspeed
Introduce new LLInventoryModel::removeCategory() method comparable to removeItem(), but for folder objects (using changeCategoryParent() rather than changeItemParent()). Introduce removeObject() method that calls one of the above, depending on runtime object type.
2012-03-27CHOP-854: move change_(item|category)_parent() into LLInventoryModel.Nat Goodspeed
It's not really clear why they're in llinventoryfunctions.{h,cpp} instead of LLInventoryModel, and in fact LLInventoryModel::removeItem() already contains code essentially cloned from change_item_parent() -- or perhaps vice-versa. This changeset addresses only migrating the functions, and fixing up existing references, to simplify code review.
2012-01-12Merge with latest from viewer-experienceLeslie Linden
2012-01-10EXP-1525 FIXED Potential fix for a crash at shutdown: added some error ↵Vadim ProductEngine
handling to saving inventory cache.
2012-01-09Merge from viewer-developmentLeslie Linden
2012-01-06Add capability-based create folder routine for more reliable inventory, with ↵Aura Linden
fix for copy and wear
2011-12-15EXP-1730 FIXLeslie Linden
EXP-1731 FIX EXP-1735 FIX EXP-1736 FIX EXP-1737 FIX EXP-1738 FIX EXP-1739 FIX * Users can no longer drag and drop items to the outbox from in world, notecards or the library. * Drag and drop now blocks the creation of hierarchies that are too deep, too many folders or contain too many items. * Settings now exist to specify drag and drop limitations to the outbox, named: InventoryOutboxMaxFolderDepth (4) InventoryOutboxMaxFolderCount (20) InventoryOutboxMaxItemCount (200)
2011-11-11EXP-1498 : Hide empty system folders. System folders can be specifically ↵Merov Linden
marked to be hidden if empty in the LLViewerFolderDictionary constructor.
2011-10-21EXP-1439 : Modify DaD on the Favorite toolbar so that reordering visible ↵Merov Linden
landmarks don't send any back to the end of the list
2011-07-27CHOP-761 Items now disappear when the sim says so.Aaron Stone
2011-07-21Added handling for RemoveInventoryObjects message. Fixed handling of ↵Aura Linden
RemoveInventoryFolder
2011-04-12STORM-1042 FIXED Fixed the inventory observers of newly added items.Seth ProductEngine
The problem was caused by an outdated message name stored in LLInventoryObserver::mMessageName and not updated properly in LLInventoryModel::notifyObservers(). The message name used in LLInventoryAddedObserver::changed() was the name of the message most recently passed by LLInventoryModel::notifyObservers(), instead of the name of the latest actually received message. Using the most recent message name in this case fixed the problem.