Commit Graph

211 Commits (bbfc0e47196ecbae8d89e7b721a61ba5eeaaa2b7)

Author SHA1 Message Date
Loren Shih e180c5f204 EXT-4602 : Copying folders doesn't work
Folders are back to being no longer copyable.
2010-02-09 21:21:11 -05:00
Loren Shih 295843ee36 EXT-4984 : Dragging an object out of the COF manually does not unwear that item
One-line change to forbid dragging items out of the COF.
Also added some cosmetic cleanup (some whitespace cleanup, const, etc.)
2010-02-05 18:38:40 -05:00
Loren Shih 663aa82831 EXT-4618 : Pasting an item into the COF folder creates a copy of the item, not a link
EXT-5018 : Automatically reject leading separators from right click menu

Trivial fix to remove "paste" as an option from the COF.
Also contains a partial fix for EXT-5018.
2010-02-05 13:38:52 -05:00
Loren Shih a05766c200 automated merge viewer2.0->viewer2.0 2010-02-04 19:04:03 -05:00
Loren Shih 14d77a36d4 EXT-4993 : Deleting an item from the COF in Inventory Floater keeps it worn
EXT-4997 : Centralize right-click menu options for delete/remove link
EXT-4998 : Automatically reject double separators from right click menu

Disabled/hid delete button from COF right-click menu, also means that trash icon is disabled.
Added generalized function to remove consecutive separators from right-click menu.
Made a minor cosmetic change to have all code duplication for adding "delete" menu item instead call a common function.
2010-02-04 18:38:47 -05:00
Loren Shih c25915b39e EXT-4990 : "Remove Link" and "Delete" are both active for links in the InventoryFloater
For links, removed "Delete", since having both "Remove Link" and "Delete" is redundant.
2010-02-04 17:21:21 -05:00
Loren Shih 643b014fb8 EXT-4990 : "Find Original" should be enabled for links in the trash
EXT-4988 : Centralize right-click menu options when items are in trash

This change is a lot less scary than it looks.  There is a bit of minor cosmetic cleanup (e.g. typedefing a commonly-used vector), and I've eliminated code duplication since, previously, every item/listener type had its own purge/restore item dialog; these are now handled in one central function.
I also moved "Find Original" above Purge/RestoreItem so that it appears first in the trash menu; this does not affect other menu options.
The functionality change from this checkin is to enable "Find Original" for link items in the trash.
2010-02-04 16:43:46 -05:00
Brad Payne (Vir Linden) 2b5a3de809 merge 2010-02-04 16:23:24 -05:00
Brad Payne (Vir Linden) a165279acd EXT-4902: Assert crash after detaching all and removing all clothes. 2010-02-04 16:20:43 -05:00
Brad Payne (Vir Linden) 973e2143d2 EXT-4902: Assert crash after detaching all and removing all clothes. Turned overzealous assert into a warning. 2010-02-04 15:22:39 -05:00
Loren Shih c58e152236 EXT-4801 : hitting trash button for trashed items does not delete item
EXT-4957 : add const correctness for LLFolderViewEventListener::isItemRemovable

This checkin affects several files but is a lot less scary than it looks.  It's mostly to add const correctness, and to rename isInTrash to isItemInTrash so that its naming is consistent with isItemRemovable/isItemMovable.
The only functionality change is to disable the trash button when an item is already in the trash.
2010-02-04 14:29:43 -05:00
Loren Shih f700be39e7 EXT-4901 : Context menu missing on Scripts and Notecards in Trash
Simple string naming error.
2010-02-03 21:55:18 -05:00
Loren Shih f5ade203cb EXT-4930 : Remove ability to change folder type in release viewer2.0
You should not be able to change folder type in viewer2.0; this was meant as a debug option and I swear it was removed some time ago and crept back in...
2010-02-03 16:56:25 -05:00
Dmitry Zaporozhan c679ae3546 Fixed normal bug EXT-4768 - 'Play' btn does nothing to gesture in Inventory side panel.
--HG--
branch : product-engine
2010-02-01 17:11:31 +02:00
Loren Shih f0ee8af8ae EXT-4816 : Fix coverty whine on break statement fallthrough
Can't fix the whine, but added a comment that the fallthrough is deliberate.
2010-02-01 13:46:22 -05:00
Mike Antipov 8a7ca61479 Work on major bug EXT-3985 ([BSI] Landmarks created in Viewer 2.0 show up with 1@ in Viewer 1.23.x)
-- cleanup: removed deprecated code added for previous sollution to support custom sorting of favorite landmarks.

For now previous implementation is removed, bug is FIXED.

--HG--
branch : product-engine
2010-01-29 13:05:11 +02:00
Tofu Linden efe8b578db merge. 2010-01-22 12:21:59 -08:00
Loren Shih 3b0ba0c2d7 automated merge viewer2.0->viewer2.0 2010-01-22 14:55:39 -05: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
Tofu Linden 3889d43299 PE merge. 2010-01-22 10:51:58 -08:00
Loren Shih c64638dc21 EXT-4492 Deleting gestures from the wearing tab causes the viewer to crash
Revert removal of "delete" option from last checkin.
Now enabling "delete" but checking if *this was deleted within removeItem().
2010-01-22 10:48:24 -05:00
Mike Antipov 4230c65548 Fixed major bug EXT-4609 Deleting duplicate calling cards also removes a Resident from ur Friends list :(
- removed separate logic for Residents in the Friends list when Calling card is removed

--HG--
branch : product-engine
2010-01-22 13:17:58 +02:00
Rick Pasetto dc47f52e9f merge 2010-01-21 18:40:37 -08:00
Loren Shih af2f61af50 EXT-4492 Deleting gestures from the wearing tab causes the viewer to crash
Removed "delete" from the COF menu, since it is normally disabled from the inventory view.
2010-01-21 20:34:10 -05:00
angela 52baeb34b3 EXT-4269 PDD: Add teleport destination to teleport warning dialog 2010-01-19 11:06:17 +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 c3c0b5ed47 Fixed normal bug EXT-4312 (Landmark occupy random location in the 'Favorites Bar' accordion if drag-and-drop it)
-- added LLInventoryCallback to rearrange favorite landmarks properly after new on is added.

--HG--
branch : product-engine
2010-01-15 20:18:22 +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 04f1a83b2e EXT-3955 : [ AppearanceSP ] "Add to Current Outfit" confusing for outfits, remove it
Removed "Add to Current Outfit" from right-click outfits context menu.
2010-01-14 19:44:07 -05:00
Loren Shih d9b8307786 automated merge viewer2.0->viewer2.0 2010-01-08 16:33:43 -05:00
Loren Shih a2d4b740ed EXT-4089 : InventorySP File->Open doesn't open folders.
Includes some minor const correctness infrastructure changes.
2010-01-08 12:34:10 -05:00
richard 3a0b948bb3 merge 2010-01-07 18:38:28 -08:00
Brad Payne (Vir Linden) e55193cf85 For EXT-4030: Can delete the outfit folder that you're wearing in My Outfits 2010-01-07 14:55:49 -05:00
richard e28eac929b EXT-4014 - Inventory folders should use "open" folder art...
reviewed by Leyla
2010-01-06 16:17:27 -08:00
Brad Payne (Vir Linden) 5c8b2deb82 For EXT-3622: Take off item, wear a different item --> first item is put on again. Fixed the 'remove all clothing' case. 2009-12-23 15:15:49 -05:00
Brad Payne (Vir Linden) 55c1f18c8d For EXT-3622: Take off item, wear a different item --> first item is put on again 2009-12-22 16:41:21 -05:00
Loren Shih 36634bc1ec automated merge viewer2.0->avp
--HG--
branch : avatar-pipeline
2009-12-17 18:55:01 -05:00
Loren Shih 03c75c22f9 EXT-3329 : Able to delete system folder is confusing - disable from non-god mode
"Delete" no longer works for system folders.
Created a new "Delete System Folder" context menu entry that only works in RelWithDebug if only one item is selected.

--HG--
branch : avatar-pipeline
2009-12-17 18:47:58 -05:00
Loren Shih d3d454988a EXT-2677 : "Remove From Outfit" active even when I'm not wearing any items in the folder
Now checking contents of the folder for any actively worn items for determining this flag.

--HG--
branch : avatar-pipeline
2009-12-17 15:47:07 -05:00
Mike Antipov e0855e5249 Fixed major bug EXT-3498 (Sorting not working correctly in Favorites Bar)
- added sorting of Favorites items before reordering

--HG--
branch : product-engine
2009-12-17 18:34:50 +02:00
Loren Shih d2abd1779a EXT-3527 : Centralize calls to getIsItemWorn
Changed more functions to use get_is_item_worn.

--HG--
branch : avatar-pipeline
2009-12-16 18:21:37 -05:00
Loren Shih 95bbee6b0e EXT-3527 : Centralize calls to getIsItemWorn
Changed more functions to use get_is_item_worn.

--HG--
branch : avatar-pipeline
2009-12-16 17:02:02 -05:00
Loren Shih 7796fc6748 EXT-3527 : Centralize calls to getIsItemWorn
Moved function from llinventorybridge to llinventoryfunctions.

--HG--
branch : avatar-pipeline
2009-12-16 16:36:40 -05:00
Loren Shih 66e7ca7c7a EXT-2524 : Disable ability to make links manually in non-god mode
Non-god mode treatment of copy/paste is now consistent with 1.23 behavior, and "paste as linK" doesn't show up in non-god mode.

--HG--
branch : avatar-pipeline
2009-12-16 16:11:53 -05:00
Loren Shih f87dcc28fa EXT-2760 : Double-clicking an Object in inventory opens the permissions in the side tray
Double clicking on an object no longer brings up both the floater and sidetray (it only brings up the sidetray now).

--HG--
branch : avatar-pipeline
2009-12-16 13:53:19 -05:00
Loren Shih 4d4406820b automated merge avp->avp
--HG--
branch : avatar-pipeline
2009-12-15 19:17:30 -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
Brad Payne (Vir Linden) 2dd09062d1 menu separator fix
--HG--
branch : avatar-pipeline
2009-12-15 17:33:59 -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
Nyx (Neal Orman) 4cc5f81ddf EXT-3370 integrate tab-ification to appearance sidepanel
Moved elements around so that the bottom bar is contained in the outfits panel
XUI changes by erica/chuck/nyx
code changes by nyx

code reviewed by Bigpapi

--HG--
branch : avatar-pipeline
2009-12-14 17:17:40 -05:00