Commit Graph

115 Commits (5fa00a67af6364554c05eb3ca0339770fa6da455)

Author SHA1 Message Date
Mike Antipov 59d296e200 Fixed major bug EXT-6682 (Emptying Lost & Found Folder can crash Viewer2.0 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-19 14:12:42 +03:00
Loren Shih 873de2daae automated merge 2010-04-02 12:32:56 -04:00
Richard Linden dcc5e0a4fa EXT-3531 - Ctrl-p doesn't work reliably on login
moved gEditMenuHandler handling to LLEditMenuHandler destructor
2010-04-01 15:48:56 -07:00
Loren Shih 2854008e8e automated merge 2010-04-01 17:54:08 -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
Mike Antipov bba457e889 Merge from default branch
--HG--
branch : product-engine
2010-03-31 10:08:50 +03: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
Vadim Savchuk 3e23c04c9b Merge from default branch
--HG--
branch : product-engine
2010-03-30 18:19:56 +03:00
Paul Guslisty 72cf448492 Fixed normal bug EXT-6390 (inventory loses focus after renaming a inventory 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-30 10:00:40 +03:00
Loren Shih 114e5ca083 EXT-5940 : Typedef all vector<LLUUID>'s
Superficial cleanup to change all typedef std::vector<LLUUID> to use a common typedef uuid_vec_t instead.
2010-03-29 16:33:35 -04: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
Sergei Litovchuk ea6af38e40 Fixed normal bug (EXT-5834) Inventory SP: context menu for empty search 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-15 12:51:57 +02:00
Richard Nelson 4d412d38ce EXT-6030 - [ Assert Failure] Assert in LLFolderViewFolder when select inventory folder after moving item between folders
reviewed by Leyla
2010-03-09 16:16:07 -08:00
Richard Linden 931ff555bd merge 2010-03-05 14:46:00 -08:00
Richard Nelson 41a30a59fb initial work changing topctrl to popup layer 2010-03-02 14:21:58 -08: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
Tofu Linden f3c49d3b7c minor stylistic tweak for code in EXT-5729 2010-02-26 11:16:14 +00:00
Sergei Litovchuk a3e5496391 Fixed normal bug (EXT-5729) My Landmarks search doesn't auto expand folders of found terms.
--HG--
branch : product-engine
2010-02-25 22:49:37 +02:00
Denis Serdjuk e341b84503 fixed low bug EXT-5423 'Drag a landmark here ...' prompting is cropped in 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-19 15:09:20 +02:00
Tofu Linden eefdbced38 fix implicit cast in 2ea5dc26d479 / EXT-5251 2010-02-16 16:41:16 +00:00
Sergei Litovchuk cef352006c (EXT-5251) Status text isn't aligned to top in inventory SP.
- Removed some magic numbers in status textbox positioning.

--HG--
branch : product-engine
2010-02-16 17:32:29 +02:00
Eugene Mutavchi ef21d64c84 Fixed normal bug EXT-5328 (Focus is lost after LEFT arrow button has been pressed in Landmarks tab)
--HG--
branch : product-engine
2010-02-15 22:07:38 +02:00
Sergei Litovchuk 9ebd99d8ae Fixed low bug (EXT-5251) Status text isn't aligned to top in inventory SP
- Changed status textbox rect in folder view.

--HG--
branch : product-engine
2010-02-15 20:57:34 +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
richard df3da77fa9 merge 2010-02-05 11:34:49 -08:00
richard ddfc6efbee EXT-5025 - Tooltips block mouse clicks
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-05 11:32:33 -08: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
Ychebotarev ProductEngine ab68d36518 working on normal EXT-4261 Cannot use Keyboard to navigate to search result in my landmarks tab
--HG--
branch : product-engine
2010-01-28 08:22:26 +02:00
Ychebotarev ProductEngine 14bbed35fb additional fix for EXT-4035 Old sidepanel tab's text remains highlighted when switching to inventory sidepanel tab
--HG--
branch : product-engine
2010-01-22 14:48:54 +02:00
Eugene Mutavchi e8cbd586a9 Fixed normal bug EXT-4379 (Scroller doesn't follow the cursor if cursor is being moved by keyboard arrow buttons)
--HG--
branch : product-engine
2010-01-18 17:10:11 +02:00
James Cook 3f83c05f7c EXT-4341 "Create> New" and "rename" text presents malaligned
Fixed size and position of renamer line editor
Reviewed with Richard
2010-01-15 12:01:34 -08:00
James Cook a36087f5c1 Merge, sync from viewer-2-0, fixed conflict in llinspectavatar.cpp 2010-01-11 14:06:09 -08:00
James Cook 9ffaacc47e First pass expose inventory item settings in XML (folder_view_item.xml)
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-08 17:26:47 -08: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
Loren Shih bb04795eeb EXT-2203 : Wear btn doesn't disable after last Outfit deleted
Simple one-line fix, but fixes a core issue where if the last item in a panel is deleted, no notification is triggered.
2010-01-07 16:18:31 -05:00
James Cook 4e901957f9 EXT-3753 Made inventory subfolders indent more.
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-30 15:46:53 -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 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 74f0f4dac0 EXT-3575 : Inernal selection spam when nothing selected in some folders
Default selection will no longer try to select hidden folders.
2009-12-18 13:10:38 -05:00
Loren Shih 36634bc1ec automated merge viewer2.0->avp
--HG--
branch : avatar-pipeline
2009-12-17 18:55:01 -05:00
Loren Shih 3c38c7f148 EXT-1634 : Block collapse/expand of accordion "root" folder by keyword
Hidden folders are no longer allowed to be selected.

--HG--
branch : avatar-pipeline
2009-12-17 15:21:14 -05:00
Eric M. Tulla (BigPapi) 39700f104b Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-12-17 13:45:13 -05:00
Eric M. Tulla (BigPapi) 27fda6c35f EXT-2636: we now show "Loading..." before the my inventory named folder when doing a background fetch. 2009-12-17 13:40:57 -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 d2b72fe018 EXT-3373 : Favorites folder disappears after canceling filter
Doing a more robust check to see if folders need to be refreshed.

--HG--
branch : avatar-pipeline
2009-12-11 15:57:41 -05:00
Loren Shih 96d5f52624 EXT-3274 : Landmarks or Favorites accordion panel shows up as empty
EXT-1609 : Strange behavior for accordions in Places panel, Landmarks tab

Forcing top-level folders open when accordion is active.  Removed logic that was saving and restoring initial folder state.

--HG--
branch : avatar-pipeline
2009-12-09 14:47:52 -05:00
Loren Shih 9472608807 EXT-3256 : Show help message in Favorites bar if empty
--HG--
branch : avatar-pipeline
2009-12-08 18:19:39 -05:00
Nyx (Neal Orman) 938c51d2a4 merge to pull viewer-2 changes into avp
--HG--
branch : avatar-pipeline
2009-12-04 17:03:34 -05: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
James Cook 26a38ab852 EXT-2954 Crash when using the mousewheel in any inventory panel
LLFolderView was explicitly passing scroll events back to its
parent LLScrollContainer, which it didn't need to do.  It may not have
exhibited an infinite loop before due to bugs in the border width
computations for scroll rectangles.  Reviewed with Leyla.
2009-12-03 17:37:10 -08:00