Commit Graph

78 Commits (5fa00a67af6364554c05eb3ca0339770fa6da455)

Author SHA1 Message Date
Loren Shih 85f54aca0f automated merge 2010-04-13 16:39:12 -04:00
Eugene Mutavchi 27b457f2ce Implemented major task EXT-6710(Feature request: Allow drag and drop from Inventory panel to Resident Picker)
- added handling the drag add drop inventory items to resident picker
 - added "Share" verb button to the inventory panel which opens resident picker
 - added "Share" menu item to the individual inventory context menu which acts as verb button
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/215/

--HG--
branch : product-engine
2010-04-12 17:02:16 +03:00
Mike Antipov 9eb4caf0a1 Fixed normal bug EXT-6746 (Duplicated landmarks appear in 'Favorites bar' folder if DnD them from 'My Landmarks' folder)
Reason: LLFolderView::handleDragAndDrop got called twice from LLInventoryPanel::handleDragAndDrop when drag into empty Inventory folder view.
Fix: check if drag and drop is already handled before passing the event directly to LLFolderView.

Reviewed by Richard at https://codereview.productengine.com/secondlife/r/201/

--HG--
branch : product-engine
2010-04-09 11:55:25 +03:00
Loren Shih f096f02278 EXT-6728 : Have LLInventoryFetchItems/DescendentsObserver inherit from a base abstract LLInventoryFetchObserver class
Added a new abstract class LLInventoryFetchObserver from which LLInventoryFetchItems and LLInventoryFetchDescendents inherit.
Also changed isEverythingComplete to isFinished and made some other minor superficial changes.
2010-04-06 18:58:26 -04:00
Loren Shih 1ec47c39a6 EXT-6679 : INFRASTRUCTURE : Have LLInvFVBridge contain a LLFolderView *mRoot instead of passing it along everywhere such as in performAction
mRoot is now stored for all LLInventoryBridge types.
Did some superficial formatting cleanup for LLInventoryBridge.
2010-04-01 17:50:48 -04:00
Loren Shih 12a1c0aa8b EXT-6680 : [INFRASTRUCTURE] Change LLInventoryPanel "LLFolderView* mFolders" to "LLFolderView* mRootFolder"
Superficial member variable name changes.
2010-04-01 14:41:12 -04:00
Loren Shih 909091cc0c EXT-3415 : INFRASTRUCTURE : Move LLInventoryCollectFunctors to separate class
Moved all the LLInventoryModelCOllectFunctors from LLInventoryModel to LLInventoryFunctions
2010-03-30 15:56:15 -04:00
Loren Shih 5861a2faf2 EXT-3414 : Move static backgroundfetch methods and variables to llinventorymodel subclass
Created LLInventoryModelBackgroundFetch file for handling background fetch.
2010-03-30 11:49:15 -04:00
Loren Shih b6e7850c0a Merge 2010-03-29 12:30:09 -04:00
Loren Shih 58d76a9ecf EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup to replace all instances of "gAgentAvatar" with "gAgentAvatarp".
2010-03-29 12:11:51 -04:00
Loren Shih 94e6e10739 EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup to replace all instances of "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject" with "gAgentAvatar".
2010-03-29 12:00:26 -04:00
Brad Payne (Vir Linden) 4ff53b9066 For EXT-4666: changed LLAppearanceManager to LLAppearanceMgr throughout 2010-03-29 11:02:39 -04:00
Loren Shih 46fe5d49ca EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup so that all instances of gAgent.getAvatarObject() use "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject".
2010-03-26 14:33:48 -04:00
Sergei Litovchuk 27a7a68883 Fix for normal task (EXT-6355) [TRANSLATED BUT IN EN] - Inventory, hovertext of system folders: hovertext isn´t localized.
- Added updating tooltips with localized names.

Reviewed by Vadim Savchuk https://codereview.productengine.com/secondlife/r/39/

--HG--
branch : product-engine
2010-03-16 19:22:17 +02:00
Yuri Chebotarev bda0e60f98 fix for normal EXT-6354 [HARD CODED] - Inventory, Filter-popup: Title isnґt localized
reviwed https://codereview.productengine.com/secondlife/r/35/

--HG--
branch : product-engine
2010-03-16 15:31:30 +02:00
Mike Antipov ca37311987 Fixed major bug EXT-3981 ([BSI] scroll bar resets to near the top of inventory search)
- disabled auto scrolling in inventory panels when mouse pointer is over the panel

--HG--
branch : product-engine
2010-03-02 16:26:30 +02:00
Sergei Litovchuk 09ffc1e031 Fixed low bug (EXT-5457) Old tooltip is shown for just renamed landmark.
- Added setting new tooltips after inventory panel item renaming.

--HG--
branch : product-engine
2010-02-16 23:50:28 +02:00
angela e747e9a3da EXT-4837 [NUX] When filter results in null state, provide a message suggesting the user try global search. 2010-02-11 22:27:49 +08:00
Loren Shih 7e19328785 EXT-4846 : [NUX] Inventory Side Panel - Can we suppress the "Landmarks" and "My FavoriteS" folder since they have their own Task Panel?
Adding simple infrastructure for supporting ability to hide folder types from inventory panels, but NOT exercising this code.  This will be deferred for 2.1.
Also did some very superficial header file cleanup for LLInventoryPanel.
2010-02-08 14:52:24 -05:00
Eric M. Tulla (BigPapi) 3119c0bdce EXT-4824 - NUX Close My Inventory and open Library for a new user's first login.
-Reviewed by Vir
2010-02-03 18:39:13 -05:00
Igor Borovkov f8bde94b9f completely got rid of Communicate floater and stuff
--HG--
branch : product-engine
2010-01-29 15:41:41 +02:00
Loren Shih 0283837e56 EXT-4492 : Deleting gestures from the wearing tab causes the viewer to crash
EXT-4660 : Can delete a bodypart from the COF through inventory view or WEARING tab delete key
EXT-4662 : remove leading separator from COF right-click menu
EXT-4633 : AppearanceSP trash button doesn't update enabled state correctly

Bunch of UI fixes related to the trash/delete functionality in InventoryFloater/SP and AppearanceSP "WEARING" tab.  The main idea is that we don't want to allow deletion of bodyparts and folder links from the COF by the user.
2010-01-22 14:44:32 -05:00
James Cook ba1f246503 EXT-3687 Inventory and Outfits lists don't fill panel need DkGray2 background
EXT-4044 Inventory and Outfits scroll region has no background color/border
Moved background color initialization to inventory_panel.xml
Fixed search highlight color and extra borders no longer needed now that colors
are correct.  Reviewed with Simon.
2010-01-11 13:58:42 -08:00
richard 3a0b948bb3 merge 2010-01-07 18:38:28 -08:00
Brad Payne (Vir Linden) 16773e0021 For EXT-4018: Wrong expansion behavior in inventory. Made process of finding the My Inventory folder more robust instead of assuming it was always the first child. 2010-01-07 14:16:06 -05:00
richard e28eac929b EXT-4014 - Inventory folders should use "open" folder art...
reviewed by Leyla
2010-01-06 16:17:27 -08:00
Sergei Litovchuk 425fd9c6e0 Fixed normal bug EXT-3299 "Can't drag and drop landmarks into an empty favorites folder through landmarksSP"
- Added drag and drop for empty inventory panel. Dropped item gets to
the root folder.
- Fixed issue with empty "Landmarks" inventory panel not displaying "No
matching items..." message.
- Removed accordion updating and hiding in idle routine. This invalidates EXT-2346 "My Landmarks accordion panels shouldn't be displayed if there are no landmarks in respective folders"

--HG--
branch : product-engine
2009-12-23 18:35:27 +02:00
Loren Shih 04b63a67e6 EXT-3619 : CRASH in xui preview tool when editing an inventory panel
Now checking if inventory is usable before checking if views are initialized.
2009-12-21 18:31:19 -05:00
Loren Shih 5aaaa4e947 EXT-3567 : Folders hsould show as "Loading..." when contents are being fetched
Name change "DontShowInHierarchy"->"Hidden".
2009-12-21 12:56:52 -05:00
Loren Shih a162d6afda EXT-3304 : Can't reorder items in the Favorites accordions
Fixed a bug where addChangedMask(LLInventoryObserver::SORT) was being called before the new sort order was established.

--HG--
branch : avatar-pipeline
2009-12-15 19:16:42 -05:00
Loren Shih fbf5d1a992 EXT-3304 : Can't reorder items in the Favorites accordions
EXT-3476 : Dragging and item in the PlacesSP brings up the InventorySP
EXT-1916 : Landmarks are not sorted in the Favorites Accordion

Added a new LLInventoryObserver::SORT request for resorting folder contents.
Landmarks no longer use the same sorting as accordions.

--HG--
branch : avatar-pipeline
2009-12-15 13:47:31 -05:00
Loren Shih e2360f3d39 EXT-3355 : InventorYSP no longer auto-opens
Fixed merge from changeset: 156496ce7d3f to restore my original getActiveInventoryPanel code.
2009-12-10 10:37:58 -05:00
Steve Bennetts 5245fb6972 merge fixes 2009-12-07 17:07:52 -08:00
Steve Bennetts 0b4b03fe3e Merge from product-engine 2009-12-07 15:57:31 -08:00
Sergei Litovchuk 86c686e962 Fix for major bug EXT-3135 "Crash after dragging LM from 'Inventory' accordion to fav bar".
- Added method to get currently active tab in sidetray.
- Disabled opening sidetray inventory panel upon receiving new inventory item or after drag-n-drop operations with landmarks in sidetray places panel.

--HG--
branch : product-engine
2009-12-07 20:31:45 +02:00
Loren Shih 9b89325cc9 EXT-3124 : Add lookup for finding all linked items to an item
Filter now works correctly.
Made some naming changes (e.g. setFilterType -> setFilterObjectType) so that what you choose to filter by is more explicit.

--HG--
branch : avatar-pipeline
2009-12-04 11:42:17 -05:00
Loren Shih 71cd24b479 EXT-3124 : Add lookup for finding all linked items to an item
Added ability to filter by UUID.  Work in progress.

--HG--
branch : avatar-pipeline
2009-12-03 21:32:03 -05:00
Loren Shih 0f2f846a12 EXT-3125 : INFRASTRUCTURE : Cleanup LLInventoryFilter to disambiguate various filter options
EXT-3124 : Add lookup for finding all linked items to an item

LLInventoryFilter cleanup, including adding ability to lookup item by UUID.

--HG--
branch : avatar-pipeline
2009-12-03 20:50:21 -05:00
Loren Shih e23d517007 EXT-2410 : Accepting an offered notecard should open the inventorySP
Added logic to choose the side panel if it's open, or open the side panel if no other inventory panels are open.

--HG--
branch : avatar-pipeline
2009-12-03 14:06:08 -05:00
Loren Shih bd4ad607ba EXT-2410 : Accepting an offered notecard should open the inventorySP
Preliminary checkin to improve this infrastructure.

--HG--
branch : avatar-pipeline
2009-12-03 11:20:21 -05:00
Nyx (Neal Orman) 0cfc3af9ac fixing bad cast that was causing a compiler error.
Code reviewed by Seraph

--HG--
branch : avatar-pipeline
2009-12-03 10:45:55 -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 4b5849b6c0 EXT-3060 : Turn links into broken links immediately when baseobj is purged
EXT-3067 : INFRASTRUCTURE : LLInventoryPanel::modelChanged cleanup

This first set of checkins is just llinventorypanel infrastructure cleanup, including comments and improved use of iterators.

--HG--
branch : avatar-pipeline
2009-12-02 16:12:39 -05:00
Loren Shih 74f080ed31 EXT-3028 : "Find Original" does nothing if floater inventory isn't open
InventorySP will open if no inventory floaters are open.

--HG--
branch : avatar-pipeline
2009-12-02 12:02:47 -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
Loren Shih f62ea011ea EXT-3028 : "Find Original" does nothing if floater inventory isn't open
Preliminary checkin, includes cleanup for llinventorypanel.
Also removed several unused private classes and such from llinventorypanel.

--HG--
branch : avatar-pipeline
2009-12-01 20:21:54 -05:00
Loren Shih 9b9c3f03ac EXT-2386 : The very first time you log in as a new account, your inventory sidepanel is blank
Changed the way that we're generating initial views for inventory panels.  Instead of waiting for a notification, we check on idle and generate the views whenever we first see that the inventory has become usable.

--HG--
branch : avatar-pipeline
2009-11-24 21:58:08 -05:00
Loren Shih 80f85b3937 EXT-2817 : COF contents in appearanceSP are sometimes blank on startup
COF folder was being removed from panel because its parent is outside the panel.  Added checks so that first-level children of panel root are never to be removed.

--HG--
branch : avatar-pipeline
2009-11-24 20:14:01 -05:00
Loren Shih 2b54c8a084 EXT-2763 : Right-click on inventory doesn't bring up context menu
Also did some minor cleanup on header files.

--HG--
branch : avatar-pipeline
2009-11-23 17:46:30 -05:00
Loren Shih fc1860bcc6 EXT-2705 : Create accordion panel to show COF contents
Also made several infrastructure improvements that help inventory panels defer generating their folders/views until after inventory has been loaded up.  This was pretty haphazard before.

--HG--
branch : avatar-pipeline
2009-11-23 15:25:31 -05:00