Commit Graph

101 Commits (8a13530ce4eeb481ee467fd3ec54f1ed7e9f632a)

Author SHA1 Message Date
Mnikolenko Productengine cf8283bd04 MAINT-7910 Appearance floater's chosen tab is not remembered between sessions. 2017-10-18 14:44:30 +03:00
andreykproductengine 6b59d55230 MAINT-7028 Fixes scrambling of Outfit Order in Appearance Panel 2017-01-06 01:25:15 +02:00
andreykproductengine 188b778abc MAINT-6770 Remember appearance floater's chosen tab across logins 2016-09-29 21:34:36 +03:00
Mnikolenko Productengine 5b49f5c56e MAINT-6440 FIXED Inappropriate outfit is worn after clicking Wear button in Visual Outfit Browser 2016-05-25 18:52:57 +03:00
pavelkproductengine 4d9b3cd725 Merge VOB with release 4.0.6 2016-05-24 18:37:20 +03:00
Mnikolenko Productengine addbfaf1c7 MAINT-6431 Trash button is not functional in in Visual Outfit Browser 2016-05-23 17:07:48 +03:00
pavelkproductengine 6a02f5bbce Initial version of Visual Outfit Browser 2015-12-11 19:58:08 +02:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Brad Payne (Vir Linden) d9e3a2948a merge 2014-03-12 17:24:07 -04:00
Richard Linden 5b846ed2a6 merge with release 2014-03-12 12:48:43 -07:00
maksymsproductengine e6c85c46c4 MAINT-3555 crash in LLPanel::~LLPanel() on shutdown:
- memory leaks fixing;
2014-02-05 20:45:09 +02:00
Richard Linden a10eb7b240 further fix of inventory keyboard focus and tab order calculations 2013-11-05 19:30:38 -08:00
Brad Payne (Vir Linden) 3e0e236f33 SH-4243 WIP - cleaned up callback structure for createNewCategory, modified makeNewOutfitLinks() to wait for category creation before populating. 2013-06-24 15:42:27 -04:00
Brad Payne (Vir Linden) e16435c37c SH-4061 WIP - added ability to un-set missing asset, do this in the case of FTT_SERVER_BAKE images. This is needed because 'missing' is not necessarily permanent for such images. 2013-04-08 13:26:05 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Paul ProductEngine 9d3fc5d930 EXP-1209 FIXED Sidetray removed.
- Removed all sidetray dependencies and the sidetray itself.

- Also removed LLFloaterSidetrayTab and LLSidetrayListener as unused.
2011-09-29 21:43:07 +03:00
Paul ProductEngine 3c8b0ab537 EXP-1226 FIXED (Create and register a floater for Appearance side tab)
- Added xml for a new floater Appearance and registred it in the floaterreg

- Removed side tray dependencies

- Added static helper method: LLFloaterSidePanelContainer::getPanel
2011-09-27 22:06:56 +03:00
Paul Guslisty 6be708677e STORM-459 FIXED Delete outfit confirmation message doesn't appear if use context or gear menu on 'My Outfits' tab
Added confirmation dialog before deleting outfit from context menu and gear menu button of My Appearance -> My Outfits

- Deleted method that shows confirmation dialog in LLPanelOutfitsInventory. Moved it to the LLOutfitsList. Now confirmation dialog called before calling LLOutfitsList::removeSelected.

- Replaced native methods of deleting outfit in gear menu and context menu with LLOutfitsList::removeSelected.
2010-10-28 12:14:43 +03:00
Seth ProductEngine c12c60df4a STORM-263 FIXED popup menu of Cog button in lower-left of sidebar panel closing on second click
- Changed type of gear menu buttons from LLButton to LLMenuButton in all sidebar panels where gear menu button is used.

- Added setMenuPosition(), setMenu() and updateMenuOrigin() to the LLMenuButton.

- Moved actions common for displaying a context menu to LLMenuButton::toggleMenu().

- In all sidebar panels where LLButton was replaced with LLMenuButton the following steps were taken:
    1. setting gearMenu and its position relative to the menuButton with LLMenuButton::setMenu()
    2. setting mouse down callback for the menuButton if needed.
    3. calculating the menu origin point with LLMenuButton::updateMenuOrigin() in mouse down callback
2010-10-15 00:10:55 +03:00
Richard Linden abe758d45f merge 2010-09-22 19:11:29 -07:00
Aimee Linden ae81cf5dc4 STORM-122 FIXED Clean up obsolete floaters and related dead code
Removed obsolete XUI files:

floater_activeim.xml
floater_customize.xml
floater_device_settings.xml
floater_first_time_tip.xml
floater_im.xml
floater_my_friends.xml
floater_outfit_save_as.xml
floater_preview_classified.xml
floater_preview_event.xml
floater_preview_gesture_info.xml
floater_preview_gesture_shortcut.xml
floater_preview_gesture_steps.xml
floater_statistics.xml
floater_wearable_save_as.xml
panel_audio_device.xml
panel_friends.xml
panel_groups.xml
panel_nearby_chat.xml
panel_online_status.xml
panel_region_general_layout.xml

Killed obsolete LLFloaterVoiceDeviceSettings class, and moved LLPanelVoiceDeviceSettings into its own appropriately named files.
2010-09-16 17:51:27 +01:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Nelson c20bd2dfee cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
2010-08-16 15:00:51 -07:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Vadim Savchuk de81d9d8a7 EXT-8481 FIXED Wear button in My Outfits being enabled when worn item is selected.
- Fixed condition for enabling the Wear button in My Outfits.
- The button was always enabled when when COF change completes, I fixed that as well.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/800/

--HG--
branch : product-engine
2010-07-23 18:06:49 +03:00
Andrew Dyukov 1be44136e0 EXT-8146 FIXED Added confirmation dialog before outfit(s) deleting.
- Added new notification which appears when trash button in "My Outfits" is clicked. Used it in code to only delete outfits if OK is selected.

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

--HG--
branch : product-engine
2010-07-05 20:18:52 +03:00
Andrew Dyukov 4bf3bda2ab EXT-7793 FIXED Implemented "Wear" button tooltip changing depending on selection.
- Added check to LLPanelOutfitsInventory::updateListCommands() which takes place on selection change and depending on hasItemSelected() sets tooltip for "Wear" button.

Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/665/

--HG--
branch : product-engine
2010-06-30 15:05:02 +03:00
Vladimir Pchelko 8595c479ec EXT-7976 FIXED The panel with Gear and Trash button was moved into panel_outfits_list.xml and (without trash button) panel_outfits_wearing.xml.
Note: MY OUTFITS and WEARING controls size/positions were corrected to be similar to Places and Inventory.

Reviewed by Mike Antipov and Neal Orman at https://codereview.productengine.com/secondlife/r/650/

--HG--
branch : product-engine
2010-06-29 16:14:03 +03:00
Andrew Dyukov a209e339ee EXT-7793 FIXED Implemented wearing separate wearables instead of whole outfit when individual items are selected in list.
- Added wearSelectedItems() method to LLOutfitsList which wears all items selected in outfit lists (if possible- adds, else replaces).
It is called when clicking wear if there is selection of individual items(LLOutfitsList::hasItemSelected() returns true). Otherwise
whole outfit is worn.

Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/638

--HG--
branch : product-engine
2010-06-24 18:00:09 +03:00
Sergei Litovchuk 2583a4d6ea EXT-4295 FIXED Added gear and context menus for Wearing tab.
- Moved My Outfits gear menu from llpaneloutfitsinventory.cpp to lloutfitslist.cpp

Revieved by Neal Orman and Mike Antipov at https://codereview.productengine.com/secondlife/r/604/.

--HG--
branch : product-engine
2010-06-22 16:34:27 +03:00
Sergei Litovchuk 887b2858d4 EXT-7779 FIXED Changed wearing panel from inventory panel to a flat list similar to My Outfits view.
- Added common interface for My Outfits and Wearing tabs.
- Changed LLPanelOutfitsInventory to use common interface for My Outfits and Wearing tabs.
- Removed dependency on outfits side panel from inventory bridge context menus.
- Removed unused LLShowCreatedOutfit class from llagentwearables.cpp.
- Restored opening newly created outfit in My Outfits tab.
- Fixed worn items indication for Wearing tab items.

Revieved by Neal Orman at https://codereview.productengine.com/secondlife/r/604/.

--HG--
branch : product-engine
2010-06-11 20:02:42 +03:00
Mike Antipov 08381a276d EXT-7755 ADDITIONAL FIX Fixed issues with wrong title after an outfit from the Inventory is worn, "Wear..." menu items state is made consistent with "Wear" button.
* Empty string is replaced with "Changing outfits" while changing COF;
* Fixed title to show "No Outfit" after an outfit from the Inventory is worn;
* Fixed bug with visible indicator after an empty folder is DnD from the Inventory "Clothing"
* Updated context and Gear "Wear..." menu items to take into account "isCOFChangeInProgress" state in on_enable callbacks

Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/625/

--HG--
branch : product-engine
2010-06-23 15:30:48 +03:00
Mike Antipov 53e35e3011 Merge after backout changeset: f0e9147baf74
--HG--
branch : product-engine
2010-06-22 15:03:02 +03:00
Mike Antipov 9a397826dd EXT-7789 FIXED reverted changes with removing "Rename Outfit" from gear menu
Backed out changeset: f0e9147baf74

--HG--
branch : product-engine
2010-06-22 14:35:45 +03:00
Andrew Dyukov 9aa7109456 EXT-7847 FIXED Disabled "trash" button if an item is selected inside selected outfit.
- Added bool mItemSelected variable and getter for it to determine if the selection inside outfit exists, and used it when determining whether to enable "Trash" button in My Outfits.

Reviewed by Vadim Savchuk and Neal Orman at https://codereview.productengine.com/secondlife/r/600/

--HG--
branch : product-engine
2010-06-18 12:56:02 +03:00
Vadim Savchuk 9f99644360 EXT-7722 Fixed "Add to COF" and "Remove from COF" outfit context menu items to be enabled when appropriate and work properly.
Work on "Take Off - Remove from Current Outfit" and "Wear - Add to Current Outfit" menu options:
- The menu items of the outfit context menu and the My Outfits gear menu are now disabled
  when inappropriate instead of being hidden.
- The menu items get enabled/disabled depending on whether you can wear (take off) anything from the selected outfit.
  (was: depending on whether you're wearing the outfit)
- Changed the way the options work: they now only operate on clothes and attachments.
  "Add to COF" now only adds those body parts that are missing in COF;
  "Remove from COF" doesn't touch body parts at all.

  Without this change both "Add" and "Remove" options would be available simultaneously, because
  any valid outfit contains body parts. I think that would be confusing.
  And you don't expect you body parts to be replaced when doing "Add to COF'. (that's addition, not replacement)

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/585/

--HG--
branch : product-engine
2010-06-17 19:03:57 +03:00
Mike Antipov eb973cf6b2 EXT-7755 FIXED Updated condition to not show "No Outfit" as a status when outfit is changing.
Implementation details:
 * Added flag to LLAgentWearables to determining that outfit is changing. Synchronizing it with mLoadingStartedSignal and mLoadedSignal signals.
 * Check this flag when there is no outfit set to show empty title when outfit is being changed.
 * Also updated condition to disable "Wear" button when outfit is being changed.

Additional improvements:
 * Removed reference to parent LLSidepanelAppearance from the LLPanelOutfitsInventory.
 * Now LLSidepanelAppearance is subscribed to mLoadingStartedSignal and mLoadedSignal to update its loading indicator.

Known Issue:
 * When new outfit is being worn its name is shown in title for a short moment (loading indicator is shown at this time). Then it is changed with an empty title and is shown when outfit is already worn.
If necessary it should be investigated and fixed in scope of another issue.

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

--HG--
branch : product-engine
2010-06-17 16:51:04 +03:00
Vadim Savchuk c773e01fbf EXT-7789 FIXED Removed "Rename Outfit" option from My Outfits gear menu
Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/584/

--HG--
branch : product-engine
2010-06-15 15:48:52 +03:00
Mike Antipov 300cb34291 EXT-7794 FIXED Implemented a common-used notification about wearing outfit to display loading indicator.
Details:
* Added signal "Wearable Loading Started" in AgentWearables (in parallel with "Wearables Loaded")
* Now it is raised from the LLAppearanceMgr::wearInventoryCategory.

Reviewed by Vadim Savchuk and Neal Orman at https://codereview.productengine.com/secondlife/r/583/

--HG--
branch : product-engine
2010-06-15 12:38:30 +03:00
Mike Antipov b90f6f2137 merge
--HG--
branch : product-engine
2010-06-11 17:36:38 +03:00
Mike Antipov 03f4366422 EXT-7792 FIXED Made Wear button disabled if there are no selected outfit (or list is empty).
Also fixed some issues in accordion caused by removing My Outfits content via Inventory:
 - updated accordion's help text to not shown nothing if there are no any tabs and filter substring is empty.
 - added check of necessity to show help text when accordion "arrange"

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

--HG--
branch : product-engine
2010-06-11 17:35:31 +03:00
Vadim Savchuk eb1929c8f9 EXT-6726 WIP Improved the way we disable irrelevant items of the My Outfits gear menu.
* Made the "Wear" and "Take Off" items mutually exclusive (i.e. only one of them is now shown).
* Hide all context-dependant items ("Wear", "Take off", "Rename", "Delete") when no outfit selected.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/566/

--HG--
branch : product-engine
2010-06-11 17:19:40 +03:00
Vadim Savchuk 62c82eef49 EXT-7620 FIXED Disable context-dependant outfit gear menu items if no (or invalid) outfit selected.
The "Create new clothes / body parts" menu items are always enabled because they have no on_enable callback set.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/548/

--HG--
branch : product-engine
2010-06-10 15:39:13 +03:00
Vadim Savchuk 63c21d120f EXT-7615 FIXED Fixed the trash button in My Outfits.
- Now it's enabled when the "Delete Outfit" context menu item is enabled.
- It actually deletes the selected outfits.

Known out-of-scope issues:
- The trash button is sometimes enabled when the WEARING tab is active.
- The check whether an outfit can be removed is probably wrong.
  There is a separate ticket (EXT-7716) for that.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/550/

--HG--
branch : product-engine
2010-06-10 15:34:44 +03:00
Alexei Arabadji 50eb27a04d EXT-7644 FIXED Implemented functionality for locking outfit modification controls and used it for 'save outfit' action.
1 Added functionality for locking outfit in LLAppearanceMgr. Outfit should be locked when outfit related operation is started(now it is used for updateBaseOutfit) and unlocked when operation completed or timeout is exceeded.
2 Added outfit saved and outfit lock changed signals to LLOutfitObserver.
3 Updated LLPanelOutfitsInventory and LLPanelOutfitEdit with functionality of controlling 'save outfit' controls state('save outfit' controls should be enabled only if outfit isn't locked and outfit is dirty).
4 Renamed action label of method LLPanelOutfitsInventory::isActionEnabled "make_outfit" to "save_outfit".

--HG--
branch : product-engine
2010-06-08 15:36:48 +03:00
Alexei Arabadji f99a601dbe EXT-7485 FIXED Provided update of 'save as' button status and save outfit panel status.
1 published LLCOFObserver as LLOutfitObserver(moved from llpaneloutfitedit.cpp to lloutfitobserver.h)
2 decoupled outfit edit panel and observer by replacing pointer to panel with signals and made observer as singleton
3 moved call of LLAppearanceMgr::getInstance()->updateIsDirty() from outfit edit panel to observer(discussed with IB)
4 modified updating of combo button state on outfit panel using LLOutfitObserver
5 modified refresh of outfit name and status on outfit change event using LLOutfitObserver
6 removed unnecessary LLWatchForOutfitRenameObserver that caused excessive updates of outfit panel status name

--HG--
branch : product-engine
2010-06-04 14:58:48 +03:00
Mike Antipov b52527de3a merge
--HG--
branch : product-engine
2010-06-03 12:53:54 +03:00
Mike Antipov 86c230e490 EXT-7503 WIP Made first inventory fetch in My Outfits panel only on first panel opening.
* LLOutfitsList is not Inventory Observer anymore
* Content is fetched in onOpen now
* Added call of the LLOutfitsList::onOpen when "My Outfits" tab is switched on in My Appearance panel

Reviewed by Brad Payne at https://codereview.productengine.com/secondlife/r/456/

--HG--
branch : product-engine
2010-06-03 11:26:38 +03:00
Vadim Savchuk 142a6c3b8f EXT-6726 WIP Added missing menu items to the Appearance SP.
- Hooked up Wear / Take off / Rename / Delete items in the My Outfits gear menu.
- Added "Create new..." to body part / clothing context menu in Edit Outfit.
- Added "Create new..." submenus to the Edit Outfit gear menu.
- Disabling the "Take Off" menu item of the clothing context menu in the Edit Outfit panel when it's irrelevant.

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

--HG--
branch : product-engine
2010-06-02 20:46:16 +03:00