Commit Graph

87 Commits (0bf3ee7fa7f09bee0ee12077442fac9e4d0b32cd)

Author SHA1 Message Date
Leslie Linden b6685b5872 EXP-1065 FIX -- Inventory has slowed to a crawl. Clicking between items has an average one second delay. Same with switching between tabs.
* Removed numerous places in the code that called findChild across the inventory panel unnecessarily.
* Conglomerated uses of inbox and outbox inventory panels to the sidepanel class so the pointers can be cached and functionality like selection handling can be done more efficiently.
* Optimized LLView::childHasKeyboardFocus() to work backwards up from the focus object rather than searching for children that may or may not turn out to have focus.

Reviewed by Richard.
2011-08-08 15:13:53 -07:00
Leslie Linden 6c12a5ca55 EXP-919 FIX -- Items not shown in Received Items panel
EXP-929 FIX -- First Direct Delivery item purchased while logged in: Received Items folder visible in inventory and item not visible in Received items panel - no badge count update

* Inbox and Outbox inventory panels now live in their own XML files and are hot loaded into place when appropriate, like when the "Received Items" folder is first created, for example.
* The Inbox and Outbox panels now show relevant default messages when the folders are empty or do not exist
* Added LLInventoryCategoryAddedObserver, a new inventory observer type to observe added folders
* Hacked LLInventoryPanel to properly set up inbox and outbox inventory views for the "Received Items" folder and the "Merchant Outbox" folder that aren't created with the proper system folder type
* Changed inventory badge count computation to use LLFolderView rather than the inventory directly
* Applied various focus, selection and other inbox fixes to the outbox

Reviewed by Richard.
2011-06-30 16:25:19 -07:00
Leslie Linden 019eae669e Removing mysterious "n" at the start of the file to fix the build. 2011-06-24 10:32:58 -04:00
Leyla Farazha 71b6d9d842 fixing non-dnd portion of EXT-895 2011-06-23 17:50:52 -07:00
Leyla Farazha 917e2d1897 EXP-895 Selecting items in Marketplace Inbox does not change focus in inventory panel away from items selected in inventory panel 2011-06-21 14:16:27 -07:00
Leslie Linden 0d246c0c5f EXP-872 PROGRESS -- Hide Inbox unless applicable
EXP-910 FIX -- Newness badge shown on suitcase inventory icon when InventoryDisplayInbox is set to False
EXP-895 FIX -- Selecting items in Marketplace Inbox does not change focus in inventory panel away from items selected in inventory panel

* Main inventory, outbox and inbox all clear the selection of the others when they gain focus
* The Fresh Item Count badge is no longer displayed on the inventory side tab button when the inbox is disabled
* The New Item Count text is no longer displayed.  (we will enable it again when freshness is supported)
2011-06-16 17:14:51 -07:00
Dave Parks 93696ac019 merge 2011-05-12 17:39:08 -05:00
Merov Linden 45145fe7e2 EXP-756 : Move the folder resort to first draw and do it only once 2011-05-03 17:34:53 -07:00
Merov Linden 64b192ed62 EXP-756 : Fix inventory folder ordering on launch 2011-05-03 13:18:16 -07:00
Dave Parks a25f898703 merge 2011-05-02 14:52:12 -05:00
Paul ProductEngine 8785c70776 STORM-898 Filter settings do not reset after unchecking 'Since Logoff' checkbox
- Corrected logic in inventory filter. Calculation of whether filter is more or less restrictive depending on time parameters was wrong.
2011-04-14 18:09:49 +03:00
Loren Shih 3f77074f27 Automated merge up from viewer-development into mesh-development 2011-02-04 11:23:56 -05:00
Seth ProductEngine 74ce25efb6 STORM-316 FIXED Added "Sort Folders Always by Name" setting.
Removed unused settings Inventory.Folders by Name/Sort by Date/Sort by Name/System Folders to Top.
2011-01-28 21:38:58 +02:00
Loren Shih 7c7527b672 Automated merge up from viewer-development 2011-01-05 15:10:39 -05:00
Jonathan Yap 5e37601785 STORM-737 Eliminate commented out line 2010-12-27 12:06:28 -05:00
Jonathan Yap 3b20ce5110 STORM-737 A little more code cleanup per Code Review suggestions. 2010-12-27 08:58:21 -05:00
Jonathan Yap 5e9e350deb STORM-737 Added comment. Combined code to eliminate temporary constant. 2010-12-24 18:09:08 -05:00
Jonathan Yap 5d4b4a1859 STORM-737 Removed unnecessary blank link from llpanelmaininventory.cpp 2010-12-24 15:28:46 -05:00
Jonathan Yap 971eb7f198 STORM-737 Inventory/Recent: Gray out "New Folder" in "+" menu and enable all menu items except "New Folder" when right clicking an item. 2010-12-23 15:56:15 -05:00
Jonathan Yap 066dfaee28 Add + control to Inventory/Recent tab 2010-12-07 10:14:07 -05:00
Loren Shih bfd8efb057 Automated merge up from viewer-development 2010-12-01 10:55:24 -05:00
Loren Shih b8a0549ac2 SH-429 FIXED Inventory Filter for Meshes does not work
Mesh inventory filter was added incorrectly to filters pane, and was not hooked up to any code.
2010-11-23 12:03:54 -05:00
Seth ProductEngine fa2aeb07f8 STORM-316 FIXED Added an item to inventory gear menu to control "Sort System Folders to Top" option (was always "true").
Changed inventory gear menu sort items - now they have check marks on the left.
Made inventory sort options persist across sessions.
2010-11-17 21:40:04 +02:00
Seth ProductEngine 54da19fdcf STORM-426 FIXED Menu button no longer looked pressed while its menu is displayed by another control.
- LLMenuGL in menu button replaced by LLToggleableMenu that handles visibility change upon clicks inside specific button rect.
- Added visibility change signal to LLToggleableMenu to update menu button pressed state.
- Added using menu handle in LLMenuButton.
2010-10-22 02:08:26 +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 Nelson e7884bbab5 DEV-53094 FIX Selecting texture picker causes viewer to crash
overzealous elimination of xml parsing
2010-09-08 19:00:50 -07:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Nelson 124bc854dd moved buildFloater out of lluictrlfactory to llfloater.cpp 2010-08-16 17:44:23 -07:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Christian Goetze (CG) 6a1fefac22 Redo the same merge as in changeset "2026f824953f", but this time with feeeeling. 2010-08-02 16:59:20 -07:00
Kent Quirk 19c0d6d4ea Merge from q/viewer-release to dessie/viewer-release for 2.1.1 beta 1 2010-07-30 10:11:55 -04:00
Richard Linden 15247f0869 Backed out changeset: 58571b4e704b 2010-07-27 14:22:14 -07:00
Richard Nelson 566e3969f9 deprecated LLPanel::child*() methods 2010-07-30 10:02:30 -07:00
Richard Nelson fde4edf75d merge 2010-07-20 11:31:23 -07:00
Vadim Savchuk ccc4e8bb7e EXT-8258 FIXED Update the Trash button in 'My Inventory' if selected items get worn or taken off.
Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/772/

--HG--
branch : product-engine
2010-07-16 19:08:37 +03:00
Dessie Linden 5d85dad85f Reverted changeset 2bb10eae42bf 2010-07-15 12:31:08 -07:00
Vadim Savchuk 756b010f7c EXT-8318 FIXED Fixed wrong (hardcoded) locale usage to format number of inventory items in the Inventory SP.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/752/

--HG--
branch : product-engine
2010-07-14 15:01:30 +03:00
Richard Nelson 4797f54b0f EXT-8305 FIX [crashhunters] Crash in LLTabContainer::findChildView 2010-07-12 15:04:56 -07:00
Vadim Savchuk 3b9c7d3403 merge
--HG--
branch : product-engine
2010-07-02 15:16:55 +03:00
Vladimir Pchelko edcf44ad59 EXT-7473 FIXED ("Share" button was added to "gear" menu in Inventory SP.)
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/678/

--HG--
branch : product-engine
2010-07-02 14:56:24 +03:00
Loren Shih 1cdf3146f2 EXT-8191 FIXED Find All Links shouldn't include original item
EXT-7721 FIXED Find All Links shouldn't appear when it can't be used

This required adding some minor infrastructure to support including/excluding links in search.
2010-07-01 11:10:26 -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
Andrew Polunin ecd93410ff EXT-7142 FIXED Upload functionality duplicated in the Build menu and Select Linked Parts menu moved up
- LLPanelMainInventory::setUploadCostIfNeeded() - uncommented the line which enables retrieving of the upload cost price using LLGlobalEconomy class.
- Implemented LLUploadCostCalculator event handler in the llviewermenu.cpp (the fact that it should be implemented in this file was discussed with Mike Antipov).
- LLUploadCostCalculator::calculateCost() is implemented only for code readability: it's name is more descriptive than a code snippet placed directly in the constructor (LLPanelMainInventory::setUploadCostIfNeeded() works in similar way: it calculates cost_str only once).
- 'Select Linked Parts' menu was moved below 'Edit Linked Parts'.
- 'Upload' menu was added at the bottom, below 'Options' menu

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

--HG--
branch : product-engine
2010-05-25 15:31:07 +03:00
Andrew Polunin d861768345 EXT-7381 FIXED (Nothing happens after clicking on some verb buttons of 'My Inventory' side panel)
- \"options_gear_btn\", \"trash_btn\" and \"add_btn\" now initialized using getChild of the main inventory panel (to avoid another break if the \"bottom_panel\"'s control class will be changed again from LLLayoutStack to something other, e. g. reverted back to LLPanel)
- mTrashButton member was added (which corresponds to \"trash_btn\" control) to optimize performance a little: LLPanelMainInventory::updateListCommands() updates \"trash_btn\"'s enabled state, so to avoid searching using getChild() again and again, a separate member was created.

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

--HG--
branch : product-engine
2010-05-18 15:19:03 +03: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
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