summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
AgeCommit message (Collapse)Author
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
2013-04-03SH-4058 - log spam reduction initiative.Brad Payne (Vir Linden)
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-12Removed unneeded code.prep linden
2013-03-11mergeprep
2013-03-11mergeprep
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.
2013-03-01SH-3860 WIP - fixes the cloud on initial login, still have a COF version rae ↵Brad Payne (Vir Linden)
condition due to creation of the base outfit link
2013-02-27SH-3860 WIP - fixes for initial COF loading and configBrad Payne (Vir Linden)
2013-02-25SH-3860 WIP, SH-3899 WIP - make folder version management more debuggable, ↵Brad Payne (Vir Linden)
log appearance request results
2012-11-20Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-beta.William Todd Stinson
2012-11-09Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-beta.William Todd Stinson
2012-10-11Updating linux build to gcc4.6Don Kjer
2012-09-04CHUI-303: Problem was that the prior solution only updated (using ↵Gilbert Gonzales
dirtyFilter()) the inventory window that the paste occurred in. Resolution: Now each inventory window calls dirtyFilter(), which then determines visibility of the pasted item.
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-07-30mergeBrad Payne (Vir Linden)
2012-07-27Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-release.Todd Stinson
2012-07-20CHUI-207 FIXED Emptying Lost and Found and Trash in inventory crashes viewerAlexanderP ProductEngine
2012-07-19CHUI-236 : WIP : Places panel works for My Inventory but still empty lists ↵Merov Linden
for Favorites Bar, My Landmarks and Library.
2012-07-19CHUI-236 : WIP : Modify the handling of FT_ROOT_INVENTORY which was creating ↵merov_linden
havoc in LLInventoryModel instantiation. Still, some of those hack will have to come back on.
2012-06-22mergeDave Parks
2012-06-21CHUI-101 WIP Make LLFolderview general purposeRichard Linden
inventory item labels and icons displaying again
2012-06-04mergeBrad Payne (Vir Linden)
2012-05-25Merge pull from lindenlab/viewer-development as requested by Oz for DRTVWR-148simon@Simon-PC.lindenlab.com
2012-05-22merge changes for DRTVWR-149Oz Linden
2012-04-14DRTVWR-136: Remove redundant remove_(item|category)() functions.Nat Goodspeed
Incoming changes from two different project repos left viewer-development with LLInventoryModel::removeItem() and removeCategory() plus free functions remove_item() and remove_category() in llinventoryfunctions.cpp. remove_category() was actually the better implementation; migrated its body into LLInventoryModel::removeCategory(). Clearly the previous state of affairs -- with LLInventoryModel::removeItem() plus a remove_category() free function in a very different source file -- fooled two different developers into overlooking the other of the pair. Unfortunately we each added different "missing" functions, leaving us with a complete set of four. Fix existing references to remove_item() and remove_category() free functions.
2012-04-13merge changes for drtvwr-136Oz Linden
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: Make LLInventoryModel::removeItem() call changeItemParent().Nat Goodspeed
The body of removeItem() was already nearly identical to the body of changeItemParent(); this eliminates the redundancy. Improve logging for changeItemParent().
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-03-22fixed typoBrad Payne (Vir Linden)
2012-03-20SH-3040 FIX Inventory caching issuesNyx (Neal Orman)
A complete fix for a single cause of caching issues, does not solve all caching issues. Fixes the issue of inventory links that were incorrectly being marked as broken. Broken links get a second chance to see if their base objects exist in inventory now.
2012-03-13EXP-1915 : Rewrote the fetching mechanism for folders making it truly recursive.Merov Linden
2012-03-12EXP-1922 : Skip the clipboard elements when purging the trash when in cut modeMerov Linden
2012-04-12MAINT-841 FIXED ([PUBLIC]Folder "Lost and found" isn't cleaned)Paul ProductEngine
- This happens if something was added to the category before it was initialized, so accountForUpdate didn't update descendent count and thus the category thinks it has fewer descendents than it actually has.
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-10-31* Updated inventory code to handle creation of the "Received Items" panel whenLeslie Linden
the sim notifies the viewer that the folder is created. Unfortunately, the sim is not yet doing this so a relog is required to properly get this working.
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