Commit Graph

82 Commits (8485bff29b98f47954b78b31b2e0511f94de3be4)

Author SHA1 Message Date
Liny f394597119 Added the opption to add an item on double click instead of wearing it. Implements FIRE-1567 2011-07-13 14:55:30 -07:00
Kitty Barnett 3b7c0d52d9 - changed : removed the custom LLTabContainer drag-and-hold code in LLPanelMainInventory
-> note: this code will change the auto-scroll rectangle for the active inventory panel as a side-effect
2011-06-17 00:31:57 +02:00
Arrehn 929c52324d FIRE-234, Gestures no longer shown in worn tab by default 2011-06-06 02:18:28 -04:00
ziree d63630d722 FIRE-942: Fixed collapse/Expand buttons on detached inventory windows, added filter clear on collapse. 2011-05-04 16:04:58 +02:00
Arrehn 10e88f3891 Merge with RLVa-LL2.5.2 2011-04-09 22:24:22 -07: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
Arrehn 0586dca369 Merge up part2 to Release 2.4.0 + RLVa . Needs live testing 2011-01-19 12:40:31 -05:00
Arrehn a30a9064b1 Merge Firestorm up to LL 2.4 Release. (initial pass)
RLVa needs additional merging
2011-01-18 00:50:43 -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
Arrehn dee84162c4 FIRE-203 Inventory Gear menu now allows toggling system folders on top 2010-12-25 12:36:33 -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
Arrehn 023d72ccc0 Worn items tab, thanks Satomi Ahn 2010-11-23 23:19:49 -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
Arrehn d0d3e716dc Rolling back before back RLV merge 2010-11-04 10:02:01 -07: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
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
Loren Shih 5372782d50 EXT-4084 : Change LLInventoryBridge "LLFolderView* folder" to "LLFolderView *rootFolder"
Superficial cleanup - changed all instances to "LLFolderView* root".
2010-04-01 14:29:23 -04: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
Loren Shih a5c43859c3 EXT-5735 : InventorySP doesn't show # of inventory items even when known by viewer
Moved # items fetched string into panel_main_inventory (out of floater_inventory) so that it's shared by all inventory views.
2010-03-16 17:11:02 -04:00
Loren Shih 2a60fdb197 EXT-5296 : Inventory folders revert to defort "sort" with each login
Minor cleanup to start using DEFAULT_SORT_ORDER versus plain text "InventorySortOrder" in a few plaecs in the code.  Makes this sorting code a lot easier to debug.
2010-03-04 15:29:49 -05:00