summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderview.cpp
AgeCommit message (Collapse)Author
2010-08-12EXT-8473 FIXED Fixed renaming inventory items without hitting Enter.Vadim Savchuk
Problem: The bug was caused by the fix of EXT-6682 that prematurely forgets the item being renamed (by resetting mRenameItem) whenever the renamer input field loses focus. That's why we couldn't actually finish renaming item. Fix: The code is quite messy, but I'll try to explain. There are three cases when we should hide the renamer: 1) ESC key is hit (just hide). 2) ENTER key is hit (rename, then hide). 3) renamer loses focus (rename, then hide). In the first two cases we manually remove the renamer from the popups list -- by calling gViewerWindow->removePopup(mRenamer). In the third case that's done automatically. So, in all cases the onRenamerLost() pop-up is called that hides the renamer and only *then* resets mRenameItem. Not only this approach fixes the bug -- I hope it's a bit more straightforward too. Reviewed by Seraph at https://codereview.productengine.com/secondlife/r/854/ --HG-- branch : product-engine
2010-07-26EXT-8229 FIXED Add "--no options--" automatically instead of special casing ↵Loren Shih
for it in right-click menus Changed logic so that the menu is post-processed and, at that time, nooptions is added if the menu is seen to be empty.
2010-07-19EXT-8448 FIX [crashhunters] Crash in LLFolderBridge::folderOptionsMenu()Richard Linden
reviewed by Callum
2010-06-28EXT-8033 FIXED Selecting multiple inventory items can give incorrect ↵Loren Shih
right-click context menus EXT-8093 FIXED No "open" or "properties" items for gestures Re-added open/properties to gestures Fixed right-click inventory selection so that it does something logical & consistent for multiple items. Had to add a "getLastVisible" to LLView to support this.
2010-06-15mergeRichard Linden
2010-06-10EXT-7750 - Wearing list does not need to be bold or show link or wornRichard Linden
2010-06-11EXT-7047 FIXED Overridden tab container's max tab width. Added paddings to ↵Mike Antipov
status message text in inventory folder view. Also fixed crash in LLPanelPlaceProfile if login after places Panel is opened and hidden in UI Preview Tool: * added removing of an idle function when instance is destroyed. Message text has been wrapped into several lines in EXT-7564 (1869e99b5ce2) Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/558/ --HG-- branch : product-engine
2010-06-10mergeYuri Chebotarev
--HG-- branch : product-engine
2010-06-10EXT-7741 FIX add iterator increment to prevent infinite loopYuri Chebotarev
revieded by Mike Antipov https://codereview.productengine.com/secondlife/r/552/ --HG-- branch : product-engine
2010-06-10EXT-7564 FIXED Added "wrap" attribute for status message in an inventory ↵Mike Antipov
folder view. EXT-7047 PARTIAL FIXED truncation of status message is fixed. Updated arranging in folder view to take into account required height for status message. --HG-- branch : product-engine
2010-05-17EXT-6941 FIX setup global EditMenu handleYuri Chebotarev
setup global EditMenu handle when pressing mouse on FolderView. --HG-- branch : product-engine
2010-05-13EXT-4088 : FIXED : INFRASTRUCTURE : Change LLFolderView::getSelectionList to ↵Loren Shih
return a selection Function signature change to return a selection instead of taking one as an argument.
2010-04-28Fixed critical bug EXT-4837 ( [NUX] When filter results in null state, ↵Mike Antipov
provide a message suggesting the user try global search.) Implemented passing of entered filter substring without head spaces to search URI in help message for null filtered results. * Updated setting "no item message" to use search term from filter editor for avatar & group lists and for inventory panels. * Updated appropriate translatable strings to get [SEARCH_TERM] substitution. * Updated processing of filter substring to pass original string to methods applied new filter. Additional necessary changes * Changed place to set "no item message" for group list from refresh to where filter is updated (like in avatar lists) * Removed converting of filter substring to upper case in Places & My Appearance sidepanels (this conversion has already been implemented in where filter is applied) * Added a separate message for Landmarks to set search URI to secondlife:///app/search/places for Lanmarks panel; other inventory related panels have URL to all searched categories (secondlife:///app/search/all) Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/326/ --HG-- branch : product-engine
2010-04-19Fixed major bug EXT-6682 (Emptying Lost & Found Folder can crash Viewer2.0 ↵Mike Antipov
if recent item was added) Reason: a pointer to renamed item was not nullified in Folder View when rename control lost focus. Fix: updated focus lost callback to nullify the pointer to renamed item. Had to made this callback non-static to have access to Folder View's member pointer. Also made "New..." menu items disabled for Lost & Found folder. Reviewed by Tofu Linden at https://codereview.productengine.com/secondlife/r/251/ --HG-- branch : product-engine
2010-04-02automated mergeLoren Shih
2010-04-01EXT-3531 - Ctrl-p doesn't work reliably on loginRichard Linden
moved gEditMenuHandler handling to LLEditMenuHandler destructor
2010-04-01automated mergeLoren Shih
2010-04-01EXT-6679 : INFRASTRUCTURE : Have LLInvFVBridge contain a LLFolderView *mRoot ↵Loren Shih
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-03-31Merge from default branchMike Antipov
--HG-- branch : product-engine
2010-03-30EXT-3414 : Move static backgroundfetch methods and variables to ↵Loren Shih
llinventorymodel subclass Created LLInventoryModelBackgroundFetch file for handling background fetch.
2010-03-30Merge from default branchVadim Savchuk
--HG-- branch : product-engine
2010-03-30Fixed normal bug EXT-6390 (inventory loses focus after renaming a inventory ↵Paul Guslisty
item) - Discard NULL'ing item after renaming it, to avoid focus losing of this item Reviewed by Samuel Kolb at https://codereview.productengine.com/secondlife/r/128/ --HG-- branch : product-engine
2010-03-29EXT-5940 : Typedef all vector<LLUUID>'sLoren Shih
Superficial cleanup to change all typedef std::vector<LLUUID> to use a common typedef uuid_vec_t instead.
2010-03-16fix for normal EXT-6354 [HARD CODED] - Inventory, Filter-popup: Title isnґt ↵Yuri Chebotarev
localized reviwed https://codereview.productengine.com/secondlife/r/35/ --HG-- branch : product-engine
2010-03-15Fixed normal bug (EXT-5834) Inventory SP: context menu for empty search ↵Sergei Litovchuk
result contain inappropriate items. - Fixed folder_view and inventory_panel resizing in LLFolderView::arrange() when all visible items are filtered out. This fixed context menu for "Search" SLURL in Places->My Landmarks. - Added check for visible items to display correct context menu when right-clicking on "Search" SLURL for empty search results in any inventory panel. Reviewed by Leyla Farazha https://codereview.productengine.com/secondlife/r/14/ --HG-- branch : product-engine
2010-03-09EXT-6030 - [ Assert Failure] Assert in LLFolderViewFolder when select ↵Richard Nelson
inventory folder after moving item between folders reviewed by Leyla
2010-03-05mergeRichard Linden
2010-03-02initial work changing topctrl to popup layerRichard Nelson
2010-03-02Fixed major bug EXT-3981 ([BSI] scroll bar resets to near the top of ↵Mike Antipov
inventory search) - disabled auto scrolling in inventory panels when mouse pointer is over the panel --HG-- branch : product-engine
2010-02-26minor stylistic tweak for code in EXT-5729Tofu Linden
2010-02-25Fixed normal bug (EXT-5729) My Landmarks search doesn't auto expand folders ↵Sergei Litovchuk
of found terms. --HG-- branch : product-engine
2010-02-19fixed low bug EXT-5423 'Drag a landmark here ...' prompting is cropped in ↵Denis Serdjuk
blank Favorites bar panel Cause: LLFolderView did NOT take into account size of status textbox during required height calculation Solution: Reserve size for textbox if the folderview does not have filtered items. --HG-- branch : product-engine
2010-02-16fix implicit cast in 2ea5dc26d479 / EXT-5251Tofu Linden
2010-02-16(EXT-5251) Status text isn't aligned to top in inventory SP.Sergei Litovchuk
- Removed some magic numbers in status textbox positioning. --HG-- branch : product-engine
2010-02-15Fixed normal bug EXT-5328 (Focus is lost after LEFT arrow button has been ↵Eugene Mutavchi
pressed in Landmarks tab) --HG-- branch : product-engine
2010-02-15Fixed low bug (EXT-5251) Status text isn't aligned to top in inventory SPSergei Litovchuk
- Changed status textbox rect in folder view. --HG-- branch : product-engine
2010-02-11EXT-4837 [NUX] When filter results in null state, provide a message ↵angela
suggesting the user try global search.
2010-02-05mergerichard
2010-02-05EXT-5025 - Tooltips block mouse clicksrichard
EXT-4547 [BSI] it is possible to highlight multiple layers of chat EXT-3844 Mouse wheel camera zoom is not reflected on View popup slider EXT-3103 Add an option to restrict entering non-ascii symbols in text editor. reviewed by Leyla
2010-02-04EXT-4801 : hitting trash button for trashed items does not delete itemLoren Shih
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-01-28working on normal EXT-4261 Cannot use Keyboard to navigate to search result ↵Ychebotarev ProductEngine
in my landmarks tab --HG-- branch : product-engine
2010-01-22additional fix for EXT-4035 Old sidepanel tab's text remains highlighted ↵Ychebotarev ProductEngine
when switching to inventory sidepanel tab --HG-- branch : product-engine
2010-01-18Fixed normal bug EXT-4379 (Scroller doesn't follow the cursor if cursor is ↵Eugene Mutavchi
being moved by keyboard arrow buttons) --HG-- branch : product-engine
2010-01-15EXT-4341 "Create> New" and "rename" text presents malalignedJames Cook
Fixed size and position of renamer line editor Reviewed with Richard
2010-01-11Merge, sync from viewer-2-0, fixed conflict in llinspectavatar.cppJames Cook
2010-01-08First pass expose inventory item settings in XML (folder_view_item.xml)James Cook
Optimized LLFolderViewItem constructor by passing param block as const ref to avoid copies. Removed per-item arrow and background images, use defaults. Removed unneeded static image pointers. Removed hard-coded rounded_square.tga, replaced with Rounded_Square Ditto for folder_arrow.tga Reviewed with Richard.
2010-01-08EXT-4089 : InventorySP File->Open doesn't open folders.Loren Shih
Includes some minor const correctness infrastructure changes.
2010-01-07EXT-2203 : Wear btn doesn't disable after last Outfit deletedLoren Shih
Simple one-line fix, but fixes a core issue where if the last item in a panel is deleted, no notification is triggered.
2009-12-30EXT-3753 Made inventory subfolders indent more.James Cook
Changed back to 8 pixel indent, as Ben Glenn was seeing confusion in user tests with lesser indents. Made it a setting, FolderIndentation in case we want to change in the future. Reviewed with Leyla.
2009-12-23Fixed normal bug EXT-3299 "Can't drag and drop landmarks into an empty ↵Sergei Litovchuk
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