Commit Graph

50 Commits (19c0d6d4eaf21cbfc96d7057c11db35edf73f2fe)

Author SHA1 Message Date
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
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
Vadim Savchuk 94bbaa43cc Less code duplication.
--HG--
branch : product-engine
2010-02-25 20:53:11 +02:00
Vadim Savchuk 3a9923bb87 Fixed bug EXT-5578 (My Inventory Filter entries are ALL CAP).
--HG--
branch : product-engine
2010-02-25 20:52:26 +02:00
Tofu Linden cf119b522f CID-137
Checker: NULL_RETURNS
Function: LLPanelMainInventory::onCustomAction(const LLSD &)
File: /indra/newview/llpanelmaininventory.cpp
2010-02-15 17:34:06 +00: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
Tofu Linden 66f5f2b922 EXT-4470 Several bad assumptions that LL_PATH_PER_SL_ACCOUNT is always good (which it isn't until after login)
To be reviewed by Soft!
2010-01-18 14:07:03 -08:00
Dmitry Zaporozhan b165492945 Fixed normal bug EXT-2791 - Upload Image / sound / animation missing cost.
--HG--
branch : product-engine
2009-12-28 13:19:15 +02:00
Brad Payne (Vir Linden) 8c5a13c370 For EXT-3500: Make InventorySP and AppearanceSP filters behave like it does in LandmarksSP and PeopleSP. This covers the InventorySP part.
--HG--
branch : avatar-pipeline
2009-12-17 10:20:55 -05:00
Loren Shih 9778c3d7b3 EXT-3407 : "Recent Items" panel shows as empty
The text in the search editor is now properly kept updated.
2009-12-14 14:01:16 -05:00
Eric M. Tulla (BigPapi) 9db47b1d4b Fix for EXT-3368 - "Save Texture" functionality was no longer respecting perms 2009-12-10 16:07:54 -05:00
Eric M. Tulla (BigPapi) 272bb744af Fix for save texture functionality no longer respecting permissions 2009-12-09 20:24:37 -05:00
Eric M. Tulla (BigPapi) 6e95fbd3c3 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-12-09 17:25:29 -05:00
Eric M. Tulla (BigPapi) dc8365ff00 Fix for EXT-2703 & EXT-2708 - save texture as issues
Added save as to texture preview floater.  Fixed behavior of save as (was only working for textures, not snapshots).
Removed advanced menu entry for save texture as (refused to work after multiple implementations).
2009-12-09 16:27:39 -05:00
Loren Shih 9eee5fb5a4 EXT-3214 : Trash icon flahes in Recent Items when nothing in history
Trash icon is disabled when no items are selected.

--HG--
branch : avatar-pipeline
2009-12-07 15:49:08 -05:00
Loren Shih ff7f3c348d EXT-3124 : Add lookup for finding all linked items to an item
Commented this feature out since the viewer can't ask the server to change assetIDs of its inventory items.

--HG--
branch : avatar-pipeline
2009-12-07 13:06:24 -05:00
Loren Shih 13f1ed2740 EXT-3124 : Add lookup for finding all linked items to an item
EXT-3195 : Regenerat Links sometimes pairs to library items

Excluding library when repairing broken links.
Reselecting original selected broken link after repairing.

--HG--
branch : avatar-pipeline
2009-12-07 11:43:24 -05:00
Loren Shih add459cfd2 EXT-3179 : Add ability to recover broken links
EXT-3168 : Add "Find Original" to InventoryPanel gear menu

Broken link recovery is still work in progress.

--HG--
branch : avatar-pipeline
2009-12-04 20:07:09 -05:00
Loren Shih 92a1ecd5fd EXT-3124 : Add lookup for finding all linked items to an item
Filter string now highlights when doing this search.

--HG--
branch : avatar-pipeline
2009-12-04 13:44:25 -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
Loren Shih 71cd24b479 EXT-3124 : Add lookup for finding all linked items to an item
Added ability to filter by UUID.  Work in progress.

--HG--
branch : avatar-pipeline
2009-12-03 21:32:03 -05:00
Bryan O'Sullivan 699eac4ee3 Switch some files to Unix line endings 2009-11-18 17:52:03 -08:00
Loren Shih 53beee9e08 EXT-2569 : Separate out LLPanelOutfitsInventory so it's more modular versus being coupled with LLSidepanelAppearance
EXT-2561 : Add standard bottom panel (gear menu, add button, trash icon)

Added gear menu and standardized the code. (someday, will create a subclass to share the functionality across panels)
Make LLPanelOutfitsInventory more modular, e.g. it no longer knows about the Wear/Edit buttons.

--HG--
branch : avatar-pipeline
2009-11-17 13:00:26 -05:00
Loren Shih 32dccaf3d8 Sidepanel Appearance refactoring. Work in progress.
1. Changed sidepanel names to have "sidepanel" (e.g. panel_appearance -> sidepanel_appearance)
2. Changed some "Looks" names to "Outfits"
3. Changed LLPanelLooks to LLPanelOutfitsInventory (to match other inventory panel naming)
4. Took out tab from sidepanel_appearance.

--HG--
branch : avatar-pipeline
2009-11-17 10:36:11 -05:00
Loren Shih 2117b096d7 EXT-2377 : Add XML switch to showing either menubar or gear menu
Reverting previous checkin for enabling this.  This is more complicated than worth spending time on, at the moment.
2009-11-11 18:13:43 -05:00
Loren Shih 5bb5333964 EXT-2377 : Add XML switch to showing either menubar or gear menu
First pass attempt at this.  This is not debugged, but hg won't let me merge until I commit this change...
2009-11-11 12:42:39 -05:00
Loren Shih 9c048d12fd merge
--HG--
branch : avatar-pipeline
2009-11-06 18:31:52 -05:00
Loren Shih 2aa981ac23 EXT-2278 : "Save Texture As" for bottom panel
EXT-2310 : "Save Texture As" for inventory right-click menu

"Save Texture As" now works properly and brings up the texture preview while saving.
Also added "Save Texture As" to the right-click inventory context menu.

--HG--
branch : avatar-pipeline
2009-11-06 17:35:05 -05:00
Loren Shih 96345c7420 EXT-2278 : "Save Texture As" for bottom panel
--HG--
branch : avatar-pipeline
2009-11-05 21:51:35 -05:00
Loren Shih 9affcc4a10 EXT-2277 : Bottom panel for Inventory view
Adds gear menu, add button, trash.

--HG--
branch : avatar-pipeline
2009-11-05 20:16:44 -05:00
Loren Shih 280e017291 EXT-2229 : Task SP : Update task on new selection
Using activePanel hack to update selection when it changes.

--HG--
branch : avatar-pipeline
2009-11-05 15:00:36 -05:00
Bryan O'Sullivan b806edf4ac Redo Bao's broken merge 2009-11-04 14:59:23 -08:00
Loren Shih 0dd9871012 merge
--HG--
branch : avatar-pipeline
2009-11-03 14:02:02 -05:00
Loren Shih bde7d67066 EXT-1866 : Inventory Side Panel
svn merge -r137106:137808 svn+ssh://svn.lindenlab.com/svn/linden/branches/avatar-pipeline/inventory-panel

Porting over changes from svn Inventory Panel work.
2009-11-02 15:39:55 -05:00