Commit Graph

1120 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Andrew Dyukov 9aad53a437 EXT-7158 FIXED Implemented showing of full outfit content if its name or any item(s) inside it match current filter.
- Added availability to force showing unmatched items to LLFlatListViewEx

- Applied it to wearable items lists in LLOutfitsList

- Changed condition for outfit accordion tab showing (because now all items are visible, so checking their number doesn't help).
Used here check for a flag added in this fix, which tells whether last applied filter found any matches in the list.

Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/648/

--HG--
branch : product-engine
2010-06-24 01:52:26 +03:00
Yuri Chebotarev 02f042d0de merge
--HG--
branch : product-engine
2010-06-23 17:47:24 +03:00
Yuri Chebotarev ce9ac65014 EXT-7963 FIX introduce new variable "keep_selection_visible_on_reshape" and use it for "edit outfit" flatlist controls.
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/641/

--HG--
branch : product-engine
2010-06-23 17:43:43 +03:00
Mike Antipov 6290930c98 Merge with default branch
--HG--
branch : product-engine
2010-06-23 12:05:09 +03:00
Leyla Farazha 11ec720a06 adding eol 2010-06-22 16:55:08 -07:00
Leyla Farazha 25de07a379 EXT-7980 Double-clicking no longer selects contents of number fields
reviewed by Richard
2010-06-22 16:14:22 -07:00
Yuri Chebotarev 75d3856811 EXT-7654 FIX "AddText" didn't create image segment now, use appendImageSegment
reviewed by Richard Nelson, Vadim Savchuk at https://codereview.productengine.com/secondlife/r/616/

--HG--
branch : product-engine
2010-06-22 15:50:34 +03:00
Andrew Dyukov 7b64357562 EXT-7754 FIXED Implemented marking of worn outfit accordion header text with bold
- Added method to LLAccordionCtrlTabHeader which allows to change style of its textbox
- Added method to LLOutfitsList which marks accordion header of currently selected otfit and tied it up to BOF callbacks

Reviewed by Vadim Savchuk and Neal Orman at https://codereview.productengine.com/secondlife/r/609/

--HG--
branch : product-engine
2010-06-18 12:22:02 +03:00
Yuri Chebotarev f26eb91c44 EXT-7766 FIX change the order of processing url matching and linebreaks
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/596/

--HG--
branch : product-engine
2010-06-18 10:49:09 +03:00
Yuri Chebotarev 884e08b509 EXT-6527 FIX Introduce new plain_text flag in LLTextBase and prevent image segment from being created if this flag is set.
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/587/

--HG--
branch : product-engine
2010-06-18 10:47:49 +03:00
Vadim Savchuk c75c247bc9 EXT-7620 FIXED Save outfit selection when applying filter and restore it after filter has been reset.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/603/

--HG--
branch : product-engine
2010-06-17 19:35:29 +03:00
Vladimir Pchelko 3ad0981d2f EXT-7823 FIXED Accordion widget was improved to show different message when no_matched_tabs in panel or no_visible_tabs in panel.
Added "no_matched" and "no_visible" text for TeleportHistory.
+ Added "no_visible" text for My Outfit list.
+ Fixed filtering in TeleportHistory.

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

--HG--
branch : product-engine
2010-06-16 19:43:24 +03:00
Andrew Polunin e460985ddf EXT-7639 FIXED added shop button which reacts according to the ticket description
- Added method LLAccordionCtrl::getExpandedTab() which search for the first expanded accordion tab. This method is a bit of hacking, but I discussed it with Vadim Savchuk.
- LLAccordionCtrlTab::isExpanded() is made 'const'. This is necessary to call it from getExpandedTab() which is also 'const'.
- Added all provided Marketplace URLs (taken from EXT-7257) to the settings.xml. So URLs can be configured without recompilation.
- Added method LLCOFWearables::getSelectedItems() which can be used to get ALL selected items (not only one).
- Class LLShopURLDispatcher is implemented in the llpaneloutfitedit.cpp.
- Added callback LLPanelOutfitEdit::onShopButtonClicked() which calls LLShopURLDispatcher to send user to the correct URL.
- Added shop button (shop_btn) widget in panel_outfit_edit.xml. It has invalid icon for now. After review I'm going to reassign the ticket to someone who will provide correct icons.

Reviewed by Vadim Savchuk and Mike Antipov at https://codereview.productengine.com/secondlife/r/569/

--HG--
branch : product-engine
2010-06-15 21:52:15 +03:00
Mike Antipov 55cc54a06f EXT-7860 FIXED added check against NULL for member pointer.
Reviewed by Vadim Savchuk.

--HG--
branch : product-engine
2010-06-15 16:02:45 +03:00
Mike Antipov cfb9a6e341 Merge from default branch
--HG--
branch : product-engine
2010-06-15 13:26:09 +03:00
Richard Nelson e97cef4de9 EXT-7664 FIX Titles of all floaters are shifted down 2010-06-14 15:38:02 -07:00
Richard Nelson 380f472308 EXT-7833 FIX [crashhunters] Crash in LLTextBase::reflow() 2010-06-14 15:37:39 -07:00
Yuri Chebotarev fdeb1a5c76 EXT-7800 FIX add scroll wheel handle to accordion tab
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/577/

--HG--
branch : product-engine
2010-06-14 15:02:15 +03:00
Yuri Chebotarev 0904b13cbb EXT-7726 FIX didn't increase width if image segment didn't fit current line
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/557/

--HG--
branch : product-engine
2010-06-14 11:05:15 +03:00
Mike Antipov 03f4366422 EXT-7792 FIXED Made Wear button disabled if there are no selected outfit (or list is empty).
Also fixed some issues in accordion caused by removing My Outfits content via Inventory:
 - updated accordion's help text to not shown nothing if there are no any tabs and filter substring is empty.
 - added check of necessity to show help text when accordion "arrange"

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/568/

--HG--
branch : product-engine
2010-06-11 17:35:31 +03:00
Vadim Savchuk 0b2e17775f Merge from default branch
--HG--
branch : product-engine
2010-06-10 14:21:11 +03:00
Mark Palange (Mani) 5f53ba9af7 Automated merge with ssh://hg.lindenlab.com/dessie/viewer-release 2010-06-09 14:08:19 -07:00
Mark Palange (Mani) 015e0d55b3 Put range check around iterator assignment 2010-06-09 14:07:34 -07:00
Yuri Chebotarev 60a92dbaa4 EXT-7328 FIX If accordion tab has "fit_to_panel" flag on its height shouldn't be changed while arranging accordion tabs even if its the only tab in ctrl.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/533/

--HG--
branch : product-engine
2010-06-09 13:16:21 +03:00
Tofu Linden a62287c2b0 merge 2010-06-08 10:15:42 +01:00
Richard Nelson a1f21c968e EXT-7700 - Script error window shows [All Scripts] for every tab
reviewed by Mani
2010-06-07 16:49:06 -07:00
Vadim Savchuk 3e80a0e025 Merge from default branch
--HG--
branch : product-engine
2010-06-07 14:07:45 +03:00
Yuri Chebotarev 6bbe55558f EXT-7623 FIX One more place where text was processed into segments without LLLineBreakSegment.
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/516/

--HG--
branch : product-engine
2010-06-07 12:56:29 +03:00
Richard Nelson 46e1253ee1 DEV-50015 FIX Implement changes to the Buy L$ button in the top bar of the viewer
reviewed by Mani
2010-06-04 14:25:51 -07:00
Sergei Litovchuk d1751df1cc EXT-7610 FIXED Added sorting outfit tabs by name (case insensitive).
Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/523/.

--HG--
branch : product-engine
2010-06-04 21:52:38 +03:00
Mike Antipov e1189d0e2e EXT-7368 FIXED Implemented new "empty_accordion_text" textbox to show help text when there are no visible tabs in accordion.
* Textbox always fit whole accordion.
* This text is updated with search_term (in link to open Search floater) when new filter substring is passed to accordion.
* Accordion is notified by its tabs when their visibility is changed.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/486/

--HG--
branch : product-engine
2010-06-04 13:29:25 +03:00
Tofu Linden 3fe3e119d8 merge from PE's viewer-trunk 2010-06-03 11:18:17 +01:00
Yuri Chebotarev 5c263cdc64 EXT-6333 FIX introduce new segments - LLLineBreakSegment and LLImageSegment
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/241/

--HG--
branch : product-engine
2010-06-03 10:38:03 +03:00
Richard Linden 2d107f4349 merge 2010-06-02 14:46:18 -07:00
Richard Linden 6df66c35b3 fixed compile error 2010-06-02 14:43:45 -07:00
Richard Linden 9e7cf5c1bc eliminated several warnings on startup 2010-06-02 13:33:15 -07:00
Tofu Linden e57ae45174 merge from PE's viewer-trunk 2010-06-02 20:17:25 +01:00
Richard Linden 8beb651d76 EXT-7591 FIX Typing the first characters of a selection in a dropdown will ignore the first letter
clear the searchstring on list focus lost, not setFocus, so that the act of popping open the list when you type the first letter doesn't clear the first letter from the search string
2010-06-01 18:33:41 -07:00
Richard Linden 71fe767d9a EXT-7590 FIX Modal alerts obscure any modal alerts that they spawn
the toast logic to set visibility on dialogs in reverse order was bringing older modal dialogs to the front
2010-06-01 18:28:46 -07:00
Richard Linden a817981f34 merge 2010-06-01 12:41:37 -07:00
Andrew Dyukov 1e090dafa6 EXT-7087 ADDITIONAL FIX Style changes regarding image_flash attribute
Removed default "FlashIconAbsent" value of image_flash button attribute. Changed check for presence of thic icon in code accordingly.

--HG--
branch : product-engine
2010-06-01 16:42:31 +03:00
Andrew Dyukov 66ddb437f1 EXT-7087 FIXED Added flashing icons for im tabs and hooked them up in code
Added new attribute image_flash to button.xml which sets an image used for button icon when button is flashing.
Pointer to this image is stored in member mImageFlash from LLButton and is used in LLButton::draw(). There are two
ways an image can flash now - by making changes in color according to flash_color attribute or by changing icon from
current to the one specified in image_flash. Second way is used only if the name of flash icon is different from
"FlashIconAbsent" which is there by default. First way is used otherwise. Used new selfmade orange icons for
flashing tabs.

--HG--
branch : product-engine
2010-05-31 22:30:35 +03:00
Richard Linden f3c9f631c2 merge 2010-05-29 13:32:03 -07:00
Richard Linden 2646eb8166 EXT-7557 - About Second Life > Credits does not open with scrollbar all the way at the top
also made floaters not update title label every time they are resized
2010-05-29 13:31:37 -07:00
Richard Linden efdfc298d4 Merge 2010-05-28 16:55:58 -07:00
Richard Linden 2703125698 Backed out changeset: 13b29333f1db 2010-05-28 16:55:12 -07:00
Sergei Litovchuk 40b476dbb2 EXT-7198, EXT-7491 FIXED Added mutli-selection support for outfit items and outfit tabs selection support.
- Added selecting multiple items from more than one accordion tab.
- Integrated context menus from Vadim's patch for EXT-6726 Appearance SP menus (WIP tier 2).
- Added selection to accordion control to use it instead of accordion tab focus in cases when focus is lost and outfit tab should stay selected.
- Changed "Wear" button behavior: "Wear" puts on currently selected outfit (as the tooltip reads "Wear selected outfit"). There is always an  outfit selected when the accordion is focused so for now there are no cases when only some items are selected. Separate items can be worn from context menu.
- Added moving accordion tab selection with right click. Fixed (EXT-7491) Right click on an accordion title should move selection to it.

Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/437/

--HG--
branch : product-engine
2010-05-29 00:06:34 +03:00
Yuri Chebotarev a83ec740e4 EXT-7231 FIX if precision is "0" set validation function to validateNonNegativeS32
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/451/

--HG--
branch : product-engine
2010-05-27 20:18:21 +03:00
Alexei Arabadji c63233106b EXT-7090 FIXED Made snapshot preview and minimap(like in 1.23) floaters showable in mouselook mode.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/449/

--HG--
branch : product-engine
2010-05-27 14:47:27 +03:00
Richard Nelson 74279f551b merge 2010-05-26 10:11:14 -07:00