Commit Graph

108 Commits (bbfc0e47196ecbae8d89e7b721a61ba5eeaaa2b7)

Author SHA1 Message Date
Tofu Linden fc70ca5403 PE merge. 2010-02-03 15:52:44 +00:00
Mike Antipov 2a77ef80ce Backed out changeset 5add97e5b6cf
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-03 14:18:06 +02:00
Loren Shih 85cc9f121d EXT-4874 : Client freezes on right click - take item
Fixed infinite loop due to parent_id not being incremented properly in loop.
2010-02-02 20:25:48 -05:00
Vadim Savchuk db4e46e93d Mere from default branch
--HG--
branch : product-engine
2010-01-29 16:46:06 +02:00
Mike Antipov a08f098847 Work on major bug EXT-3985 ([BSI] Landmarks created in Viewer 2.0 show up 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-29 10:11:53 +02:00
Rick Pasetto dc47f52e9f merge 2010-01-21 18:40:37 -08:00
Leyla Farazha 9ab7d647c1 EXT-3416 Can't name a new gesture on creation (and renaming is HARD)
reviewed by Callum
2010-01-21 15:09:38 -08:00
Tofu Linden 62ab590b16 trivial comment fix. 2010-01-18 15:41:12 -08:00
Mike Antipov 6e67ac5e02 Fixed low bug EXT-4311 (Order of items in 'Favorites Bar' folder remains 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-15 18:02:42 +02:00
Mike Antipov 06838dfd57 Work on normal bug EXT-4312 (Landmark occupy random location in the '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-15 19:56:37 +02:00
Loren Shih f16d357b3b EXT-4271 : Remove "LLInventoryModel::accountForUpdate accounted..." spam
Took out llinfos spam.
2010-01-14 20:26:36 -05:00
Loren Shih b134bf554d EXT-4319 : Category descendent count fails to increment if descendent 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).
2010-01-14 13:54:15 -05:00
Yuri Chebotarev dd20b16ed0 no ticket. HACK !!!.
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-23 18:13:57 +02:00
Brad Payne (Vir Linden) 97031cb90d merge 2009-12-21 17:28:06 -05:00
Brad Payne (Vir Linden) ced5b819d7 For EXT-3567: Folders should show as 'Loading...' when contents being fetched 2009-12-21 17:21:48 -05:00
Loren Shih c26034531a EXT-3582 : My Outfits populates from library if I delete my last outfit
Autopopulation logic is now smarter and only triggers if this is the first time you're logging into viewer2.0.
2009-12-21 16:49:14 -05:00
Loren Shih 37b04c1507 EXT-3582 : My Outfits populates from library if I delete my last outfit
Tracking a "Is this my first time in viewer2.0?" flag and only populating My Outfits folder if it's true.
2009-12-21 14:54:55 -05:00
Loren Shih 3e75137f26 EXT-3277 "<X> Items Fetched" info on InventoryFloater lost.
Background fetches track whether they're being done on MyInventory, Library, or both.
Also did some cosmetic header file cleanup.
2009-12-11 18:13:54 -05:00
Loren Shih d4b888d478 EXT-3133: Viewer crashes after deleting a Trash folder from the My Inventory accordion
Put in a quick fix so that folders can't be made reparented to their own children.

--HG--
branch : avatar-pipeline
2009-12-08 17:31:02 -05:00
Loren Shih 202d86b155 EXT-2410 : Accepting an offered item should open the inventorySP
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-03 15:39:43 -05:00
Loren Shih 9841edf0f4 EXT-3060 : Turn links into broken links immediately when baseobj is purged
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-02 18:31:01 -05:00
Loren Shih 8fdd2e0b28 EXT-3028 : "Find Original" does nothing if floater inventory isn't open
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-12-01 21:12:34 -05:00
James Cook 957055396d merge in changes from viewer-2-0, manually fixed conflict in llviewermessages.cpp 2009-11-25 12:31:24 -08:00
James Cook cbc0783cd1 Created lightweight LLNotificationsUtil::add(), switched most alerts to use it
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-25 01:15:50 -08:00
James Cook 458430be91 Removed include llnotifications.h from llfloater.h trying to speed builds
Fixed many other includes related to this file.
Cleaned out llfloatertestlistview to be an empty test floater.
2009-11-24 22:13:10 -08:00
Loren Shih 56a861138b EXT-2675 : Folder that contains baseitems for COF doesn't load on first click
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-19 21:57:14 -05:00
Loren Shih 5dea0791f7 EXT-2581 : Old items still display as "(worn)" even after I change outfits
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-18 14:51:14 -05:00
Loren Shih 889456e892 Server compile fix.
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-17 17:32:20 -05:00
Eric M. Tulla (BigPapi) cd9c5e5d70 merging avatar-pipeline branch into viewer-2-0 2009-11-13 20:34:55 -05:00
Loren Shih acdce23299 Header file cleanup
Removed unnecessary "#include llinventorymodel.h" now that llinventoryobserver was split from llinventorymodel.

--HG--
branch : avatar-pipeline
2009-11-13 17:47:00 -05:00
Loren Shih 3027c9fcce Header file #include cleanup for llinventorymodel and llinventorypanel.
Removed a bunch of unnecessary header inclues.

--HG--
branch : avatar-pipeline
2009-11-13 16:58:08 -05:00
Loren Shih f0cd44a6a2 EXT-2482 : Newly created folders have wrong default type
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-13 16:18:53 -05:00
Loren Shih 606256b9e6 Removed llinfos spam on prefetched items (changed to lldebugs).
--HG--
branch : avatar-pipeline
2009-11-13 11:08:28 -05:00
Loren Shih 999b9e28ce EXT-2349 : Diagnose warning spam: "[X] is in model and in view, but 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-12 20:36:54 -05:00
Loren Shih 2ea1b06440 Backed out changeset: 153709ddee86
--HG--
branch : avatar-pipeline
2009-11-12 20:29:07 -05:00
Loren Shih 1bbcc4be83 EXT-24131 : Diagnose warning spam: "WARNING: LLObjectBridge::performAction: object not found - ignoring"
This warning is a false positive, also existed in 1.23.  Removing.

--HG--
branch : avatar-pipeline
2009-11-12 20:21:33 -05:00
Eric M. Tulla (BigPapi) 2903e5aa2b Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-12 14:48:37 -05:00
Loren Shih 6eb5f380e3 Extracted LLInventoryObserver classes from LLInventoryModel.h into their own 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-12 13:40:01 -05:00
Eric M. Tulla (BigPapi) 4272ecaabe Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-12 11:54:14 -05:00
Brad Payne (Vir Linden) de6ca4c5ea Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-12 11:20:57 -05:00
Eric M. Tulla (BigPapi) 7e74e18548 Fix for EXT-2244 - Auto fill the My Outfits folder from library/clothing if empty
-Reviewed by Seraph
2009-11-11 20:27:29 -05:00
Loren Shih bcdd3c25b6 Took out unnecessary llinfos msg from LLInventoryModel. 2009-11-11 20:21:45 -05:00
Brad Payne (Vir Linden) ec81a548c5 Link spam reduction - consolidating inventory cache loading messages. 2009-11-11 11:45:20 -05:00
Loren Shih 652c8f6b5e merge 2009-11-11 10:44:39 -05:00
angela 3cfd8a7ae8 adding warning msg when fetching for folders with NULL uuid 2009-11-11 14:34:00 +08:00
Loren Shih af9b99b457 EXT-2349 : Diagnose warning spam: [X] is in model and in view, but STRUCTURE flag not set
No longer allowing recursive calls to gInventory.notifyObservers.  Added debugging tools to catch when this happens.
This fixes the symptom, but we'll also need to remove whatever code is causing the recursive calls.
2009-11-10 18:30:36 -05:00
angela 6106c9a7da Automated merge with ssh://angela@hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-10 10:48:17 +08:00
Brad Payne (Vir Linden) b6de723de0 merge 2009-11-09 19:06:51 -05:00
Brad Payne (Vir Linden) 1d4a6d1441 For EXT-2325: Should purge inventory cache moving from 1.23 to 2.0.
Added a version field at the beginning of inventory cache files.  If version field is not found or does not match expectected value, then the cache is discarded.  In 1.23, the version line triggers a warning but is otherwise ignored.

Reviewed by Seraph.
2009-11-09 17:01:08 -05:00
Loren Shih a54192db4b For EXT-2335 Diagnose warning spam: "LLInventoryPanel::buildNewViews called with invalid objectp->mType"
Trivial fix to just ignore reading in items that have unknown/none asset type.
2009-11-09 16:57:17 -05:00