summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
AgeCommit message (Collapse)Author
2010-03-30EXT-3415 : INFRASTRUCTURE : Move LLInventoryCollectFunctors to separate classLoren Shih
Moved all the LLInventoryModelCOllectFunctors from LLInventoryModel to LLInventoryFunctions
2010-03-30EXT-3414 : Move static backgroundfetch methods and variables to ↵Loren Shih
llinventorymodel subclass Created LLInventoryModelBackgroundFetch file for handling background fetch.
2010-03-29EXT-5940 : Typedef all vector<LLUUID>'sLoren Shih
Superficial cleanup to change all typedef std::vector<LLUUID> to use a common typedef uuid_vec_t instead.
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup to replace all instances of "gAgentAvatar" with "gAgentAvatarp".
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup to replace all instances of "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject" with "gAgentAvatar".
2010-03-26EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup so that all instances of gAgent.getAvatarObject() use "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject".
2010-03-04EXT-5296 : Inventory folders revert to defort "sort" with each loginLoren Shih
Minor cleanup to start using DEFAULT_SORT_ORDER versus plain text "InventorySortOrder" in a few plaecs in the code. Makes this sorting code a lot easier to debug.
2010-02-13CID-207 assert.Tofu Linden
2010-02-13CID-207Tofu Linden
Checker: REVERSE_INULL Function: LLInventoryModel::addItem(LLViewerInventoryItem *) File: /indra/newview/llinventorymodel.cpp
2010-02-03PE merge.Tofu Linden
2010-02-03Backed out changeset 5add97e5b6cfMike Antipov
Related to major bug EXT-3985 [BSI] Landmarks created in Viewer 2.0 show up with 1@ in Viewer 1.23.x Removed auto-cleanup patch to repair Lanmarks in Favorite bar (remove LM Sort prefixes) --HG-- branch : product-engine
2010-02-02EXT-4874 : Client freezes on right click - take itemLoren Shih
Fixed infinite loop due to parent_id not being incremented properly in loop.
2010-01-29Mere from default branchVadim Savchuk
--HG-- branch : product-engine
2010-01-29Work on major bug EXT-3985 ([BSI] Landmarks created in Viewer 2.0 show up ↵Mike Antipov
with 1@ in Viewer 1.23.x) -- implemented patch to remove LM prefixes from landmarks' names *NOTE: It will be unnecessary after the first successful session in viewer 2.0. Can be removed before public release. Implementation details: At the first run with this patch it patches all cached landmarks: removes LM sort prefixes and updates them on the viewer and server sides. Also it calls fetching agent's inventory to process not yet loaded landmarks too. If fetching is successfully done it will store special per-agent empty file-marker in the user temporary folder (where cached inventory is loaded) while caching agent's inventory. After that in will not affect the viewer until cached marker is removed. --HG-- branch : product-engine
2010-01-21mergeRick Pasetto
2010-01-21EXT-3416 Can't name a new gesture on creation (and renaming is HARD)Leyla Farazha
reviewed by Callum
2010-01-18trivial comment fix.Tofu Linden
2010-01-15Fixed low bug EXT-4311 (Order of items in 'Favorites Bar' folder remains ↵Mike Antipov
non-changed if change its order in the 'Favorites Bar') -- reason: there was two places where identical resorting of Favorite landmarks functionality was implemented: InventoryBridge & Favorite bar. It was not impelnmented properly in favorites bar: LLInventoryObserver::SORT flag was not set after d-n-d. -- fix: moved identical functionality to update & save order of Favorite landmarks from these places to Inventory Panel --HG-- branch : product-engine
2010-01-15Work on normal bug EXT-4312 (Landmark occupy random location in the ↵Mike Antipov
'Favorites Bar' accordion if drag-and-drop it) -- refactoring: move functionality to rearange Favorite landmarks from Inventory Folder bridge to Inventory model -- improved logic to place dragged landmark before target one. --HG-- branch : product-engine
2010-01-14EXT-4271 : Remove "LLInventoryModel::accountForUpdate accounted..." spamLoren Shih
Took out llinfos spam.
2010-01-14EXT-4319 : Category descendent count fails to increment if descendent ↵Loren Shih
received while cat still fetching EXT-4320 : Mismatch in folder descendents count is causing fetch descendents to never complete EXT-2244 : My Outfits bars should be populated from Library on first 2.0 login Implemented a workaround for an issue where descendent count was becoming unsynchronized. EXT-4320 is the workaround, this solves for EXT-2244, and EXT-4319 is the actual bug (whose fix is still pending).
2009-12-23no ticket. HACK !!!.Yuri Chebotarev
HACK code to fix inventory root folder for some broken accounts code executed only once and takes O(N) where N - number of inventory items. --HG-- branch : product-engine
2009-12-21mergeBrad Payne (Vir Linden)
2009-12-21For EXT-3567: Folders should show as 'Loading...' when contents being fetchedBrad Payne (Vir Linden)
2009-12-21EXT-3582 : My Outfits populates from library if I delete my last outfitLoren Shih
Autopopulation logic is now smarter and only triggers if this is the first time you're logging into viewer2.0.
2009-12-21EXT-3582 : My Outfits populates from library if I delete my last outfitLoren Shih
Tracking a "Is this my first time in viewer2.0?" flag and only populating My Outfits folder if it's true.
2009-12-11EXT-3277 "<X> Items Fetched" info on InventoryFloater lost.Loren Shih
Background fetches track whether they're being done on MyInventory, Library, or both. Also did some cosmetic header file cleanup.
2009-12-08EXT-3133: Viewer crashes after deleting a Trash folder from the My Inventory ↵Loren Shih
accordion Put in a quick fix so that folders can't be made reparented to their own children. --HG-- branch : avatar-pipeline
2009-12-03EXT-2410 : Accepting an offered item should open the inventorySPLoren Shih
Added a new "Quiet" query for folder types, so I don't have to special case all the folders where we don't want UI notifications from inventory offers. Fixed a bug where a sidepanel was considered active even if the sidetray was closed. --HG-- branch : avatar-pipeline
2009-12-02EXT-3060 : Turn links into broken links immediately when baseobj is purgedLoren Shih
EXT-3067 : INFRASTRUCTURE : LLInventoryPanel::modelChanged cleanup Added REBUILD mask to inventory observer. Added new logic for rebuilding linked items when an item is purged. Took out atrocious expensive refresh that was being triggered on most LLInventoryPanel::modelChanged. --HG-- branch : avatar-pipeline
2009-12-01EXT-3028 : "Find Original" does nothing if floater inventory isn't openLoren Shih
Changed logic for getActiveInventory so that it considers InventorySP. Removed getActiveInventory and replaced with getActiveInventoryPanel since that follows its current usage. This currently contains a bug because the InventorySP always thinks it's open. --HG-- branch : avatar-pipeline
2009-11-25merge in changes from viewer-2-0, manually fixed conflict in ↵James Cook
llviewermessages.cpp
2009-11-25Created lightweight LLNotificationsUtil::add(), switched most alerts to use itJames Cook
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-24Removed include llnotifications.h from llfloater.h trying to speed buildsJames Cook
Fixed many other includes related to this file. Cleaned out llfloatertestlistview to be an empty test floater.
2009-11-19EXT-2675 : Folder that contains baseitems for COF doesn't load on first clickLoren Shih
EXT-2456 : Usability: Inventory > Clothing > context menu not intuitive RightClickFetchInventoryObserver now works correctly to update menu FetchInventoryDescendents now triggers notifyObservers properly Fixed up gInventory.notifyObservers logic --HG-- branch : avatar-pipeline
2009-11-18EXT-2581 : Old items still display as "(worn)" even after I change outfitsLoren Shih
Added gInventory.notifyObservers to idle callbacks so it gets triggered without explicit notifyObservers synchronization. Added more state tracking for attachments, wearables, and links of those types, so that they're marked as changed properly.
2009-11-17Server compile fix.Loren Shih
Changed FT_CATEGORY -> FT_ROOT_INVENTORY Removed AT_ROOT_CATEGORY This parallels llasset cleanup work done on viewer-side for removing the unused AT_ROOT_CATEGORY type, and for making it more clear that a folder of type FT_CATEGORY (now FT_ROOT_INVENTORY) is your "My Inventory" folder.
2009-11-13merging avatar-pipeline branch into viewer-2-0Eric M. Tulla (BigPapi)
2009-11-13Header file cleanupLoren Shih
Removed unnecessary "#include llinventorymodel.h" now that llinventoryobserver was split from llinventorymodel. --HG-- branch : avatar-pipeline
2009-11-13Header file #include cleanup for llinventorymodel and llinventorypanel.Loren Shih
Removed a bunch of unnecessary header inclues. --HG-- branch : avatar-pipeline
2009-11-13EXT-2482 : Newly created folders have wrong default typeLoren Shih
Removed AT_ROOT_CATEGORY and FT_ROOT_CATEGORY since those types are unused. Changed FT_CATEGORY to FT_ROOT_INVENTORY to make its purpose more clear. This change assumes that no agent inventories have category type 9 for either inventory type or folder preferred type. --HG-- branch : avatar-pipeline
2009-11-13Removed llinfos spam on prefetched items (changed to lldebugs).Loren Shih
--HG-- branch : avatar-pipeline
2009-11-12EXT-2349 : Diagnose warning spam: "[X] is in model and in view, but ↵Loren Shih
STRUCTURE flag not set" EXT-2432 : Diagnose warning spam: "[X] does not exist in either view or model, but notification triggered" Restructured llinventorypanel's handling of add/remove/structure so it's easier to understand Removed false positive "notification triggered" warning since objects can now exist outside of various inventory panels' directories. --HG-- branch : avatar-pipeline
2009-11-12Backed out changeset: 153709ddee86Loren Shih
--HG-- branch : avatar-pipeline
2009-11-12EXT-24131 : Diagnose warning spam: "WARNING: LLObjectBridge::performAction: ↵Loren Shih
object not found - ignoring" This warning is a false positive, also existed in 1.23. Removing. --HG-- branch : avatar-pipeline
2009-11-12Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Eric M. Tulla (BigPapi)
2009-11-12Extracted LLInventoryObserver classes from LLInventoryModel.h into their own ↵Loren Shih
subclass, LLInventoryObservers.h. This reduces dependencies and compile times, and makes these classes easier to locate. I have not yet refactored classes to remove #include "llinventorymodel.h" and replace with #include "llinventoryobservers.h". This will happen later.
2009-11-12Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Eric M. Tulla (BigPapi)
2009-11-12Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Brad Payne (Vir Linden)
2009-11-11Fix for EXT-2244 - Auto fill the My Outfits folder from library/clothing if ↵Eric M. Tulla (BigPapi)
empty -Reviewed by Seraph