Commit Graph

90 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Loren Shih d2d95e9645 automated merge 2010-06-15 17:12:22 -04:00
Loren Shih 0be5ce0a59 EXT-7468 FIXED Remove all 2.1 COF debugging code
#ifdef'd a bunch of llinfos spam to not show up in release mode.  Removed some other legacy comments.
2010-06-15 17:11:01 -04:00
Richard Linden a37e6ce52e merge 2010-06-15 10:25:47 -07:00
Richard Nelson e0c404a866 EXT-7742 WIP "Add to Outfit" type filter should contain items for each wearable type and for each category
added ability to filter inventory folder view by wearable type
2010-06-14 17:26:32 -07:00
Richard Linden 7127fa493c EXT-7750 - Wearing list does not need to be bold or show link or worn 2010-06-10 17:07:45 -07:00
Vadim Savchuk d5cae2e628 merge
--HG--
branch : product-engine
2010-06-11 14:11:14 +03:00
Mike Antipov 97b8068897 EXT-7699 FIXED Now Inventory Panel removes its onIdle method from the Idle Callback list while destroying.
Reason: pointer to destroyed instance of LLInventoryPanel was used in an idle callback.

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

--HG--
branch : product-engine
2010-06-11 13:38:17 +03:00
Loren Shih e414a91d7f EXT-7430 : Create art overlay for inventory icons that are links
Took out explicit _Link icons and replaced with overlay.
Removed links overlays from non-main-inventory-floater panels.
2010-06-09 17:09:42 -04:00
Vadim Savchuk 671625695f EXT-6726 WIP Added more menus to the Appearance SP.
Done:
- Implemented creating new wearables via My Outfits gear menu.
- Implemented renaming/removing/editing an outfit via My Outfits context menu.
- Implemented "Attach to..." / "Attach to HUD..." context submenus.

- Now disabling (instead of hiding) irrelevant wearable context menu items.
- Added "Take Off / Detach" context menu item that's shown for clothes and attachments.
  Useful if you selected a bunch of items and want to take them all off.

- Fixed taking off an outfit
  (not all wearables were taken off because of a wrong inventory collector).
- Fixed crash when editing a skirt
  (reference to a missing string).

- In LLWearableItemsList::ContextMenu::updateItemsVisibility renamed variables
  and introduced MASK_UNKNOWN per Nyx's request.

Known issues:
- "Attach to..." context menus may be displayed partially off-screen
  (there is the same bug in the inventory panel).
- The way we invoke wearable editing panel after the wearable gets created
  is currently a hack.

TODO:
- Wear / take off / rename / delete an outfit via My Outfits gear menu
  (currently not implemented because of missing selection support in My Outfits).
- Add "Create new..." to body part / clothing context menu in Edit Outfit.
- Add "Create new..." submenus to the Edit Outfit gear menu.

Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/466/

--HG--
branch : product-engine
2010-06-02 20:46:16 +03:00
Loren Shih 50fad31f09 EXT-7353 FIXED short cuts (links) to textures should show up in the texture picker
Links in general will now show up for all filtered inventory views of their associated types.
2010-05-14 17:31:56 -04:00
Loren Shih 1d6ebfbb57 EXT-4088 : FIXED : INFRASTRUCTURE : Change LLFolderView::getSelectionList to return a selection
Function signature change to return a selection instead of taking one as an argument.
2010-05-13 16:53:29 -04:00
Mike Antipov 15413e4442 Fixed major bug EXT-6797 (attempting to create new folder while viewing recent inventory renames newest item instead.)
Implemented Recent Inventory Panel specific classes to create appropriate context menu for Folders in Recent Items Panel:
 * Registered new LLInventoryRecentItemsPanel class
 * Added appropriate Folder Bridge and Bridge Builder

Updated main inventory panel to not show "+" button on Recent Items tab
 * Placed controls into Layout Stack.
 * Change visibility of panel with "+" button while switching between tabs.
 * also made bottom panel wider to be consistent with other side panels (see screenshots).

Reviewed by Loren Shih at https://codereview.productengine.com/secondlife/r/334/

--HG--
branch : product-engine
2010-05-05 12:29:53 +03:00
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