summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.h
AgeCommit message (Collapse)Author
2010-08-27Post-convert merge by convert_monolith.py from ./viewer-experienceMonroe Linden
2010-08-16cleaned up LLUICtrlFactory...Richard Nelson
removed redundant functionality moved buildPanel to LLPanel
2010-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.
2010-08-24Backed out changeset a62bf7c0af21Tofu Linden
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24merge heads. whew.Tofu Linden
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-07-30further UI rendering performance improvementsRichard Nelson
2010-07-27Backed out changeset: 58571b4e704bRichard Linden
2010-07-26EXT-8010 FIXED Implemented special behaviour of avatar links.Andrew Dyukov
Avatar links are now underlined only on hover. Also they have the same color as other links. - Underlining text and getting it back to normal are done in handleHover() and draw() of new LLOnHoverChangeableTextSegment class derived from LLNormalTextSegment. This class has two pointers to styles- one for style which will be used for text on hover, and another otherwise. This special type of text segment is used if link's boolean member mUnderlineOnHoverOnly is true. So it is URL's flag depending on which textbase adds new text segment(like it currently happens with mDisabledLink). - Changed avatar link color in colors.xml to emphasis (because it was white before and was inconsistent with other links). Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/749/ --HG-- branch : product-engine
2010-07-16EXT-8465 FIX Text selection is often unreadableRichard Linden
2010-07-15Reverted changeset 2bb10eae42bfDessie Linden
2010-07-15changed allow_html to parse_urls to be clearer about its meaningRichard Linden
allow_html still supported as alternate
2010-07-09EXT-8237 FIX Opening up Edit Outfit- Add More->Shirt causes FPS to drop from ↵Richard Linden
60fps to 18fps for a really long time EXT-8235 FIX HUGE long delay when reopening and/or closing edit outfit sidepanel if "Add More..." is active EXT-7695 FIX UI lockup after add wearable, right click av -> Change Outfit reviewed by Vir
2010-07-02mergeYuri Chebotarev
--HG-- branch : product-engine
2010-07-02EXT-5692 FIX Add callback to create widget segment with LLAvatarIconCtrl (or ↵Yuri Chebotarev
LLGroupIconCtrl) based on url match id. reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/610/ --HG-- branch : product-engine
2010-07-01EXT-7654 - About Land Floater> Icons missingRichard Linden
fixed layout of embedded icons in text labels
2010-06-22EXT-7654 FIX "AddText" didn't create image segment now, use appendImageSegmentYuri Chebotarev
reviewed by Richard Nelson, Vadim Savchuk at https://codereview.productengine.com/secondlife/r/616/ --HG-- branch : product-engine
2010-06-18EXT-7766 FIX change the order of processing url matching and linebreaksYuri Chebotarev
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/596/ --HG-- branch : product-engine
2010-06-18EXT-6527 FIX Introduce new plain_text flag in LLTextBase and prevent image ↵Yuri Chebotarev
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-07EXT-7623 FIX One more place where text was processed into segments without ↵Yuri Chebotarev
LLLineBreakSegment. reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/516/ --HG-- branch : product-engine
2010-06-03EXT-6333 FIX introduce new segments - LLLineBreakSegment and LLImageSegmentYuri Chebotarev
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/241/ --HG-- branch : product-engine
2010-04-01EXT-3531 - Ctrl-P does not work reliably on loginRichard Nelson
2010-02-18Fix for EXT-5120 "Mouse-up in the scrollbar to the right of a link in nearby ↵Monroe Linden
chat window opens the link". Added an optional bool parameter "hit_past_end_of_line" to LLTextBase:: getDocIndexFromLocalCoord() and getSegmentAtLocalPos(). Default is true, which gives the old behavior. If false, clicks past the end-of-line won't map to the last segment on the line. Made LLNormalTextSegment::handleHover(), handleRightMouseDown(), handleMouseDown(), and handleMouseUp() call getSegmentAtLocalPos() in this new mode before processing URL actions, and only do the processing if it returns the same segment. Reviewed by Richard.
2010-02-02Further fixes for EXT-4689 (Long-word chat spam cripples fps and/or ↵Monroe Linden
disconnects client). This should fix the inefficiencies in the append path that made viewer FPS drop severely when addinglarge amounts of text to the nearby chat floater. Resizing the floater with a huge amount of text in it is still pretty bad, but fixing that will require some bigger architectural changes. Changed LLTextBase::needsReflow() to take an offset at which to start reflow processing. Changed most needsReflow() calls in LLTextBase to supply a proper index. Changed LLTextBase::reflow() to use the reflow index maintained by needsReflow(). Removed all needsReflow() calls from LLTextEditor (the only way for it to manipulate the text is through functions in LLTextBase that already manage reflowing internally). Removed LLTextEditor::replaceUrlLabel(), since it was identical to the inherited version LLTextBase::replaceUrlLabel(). Reviewed by Richard.
2010-02-02Fixed normal bug EXT-4740 - Object inspector hides however context menu presentDmitry Zaporozhan
--HG-- branch : product-engine
2010-02-01Fixes for EXT-4689 (Long-word chat spam cripples fps and/or disconnects client)Monroe Linden
Removed some unnecessary string copies in LLTextBase and LLNormalTextSegment by changing getWText() to return const LLWString& (instead of LLWString), and storing the result in a const LLWString& instead of an LLWString in places where the string doesn't need to be modified. Made LLTextViewModel::getDisplay() also return const LLWString& instead of LLWString. Removed a couple of unused local string variables in LLTextBase (the compiler flagged these after converting the local copies to const LLWString&).
2010-02-01mergerichard
2010-01-29EXT-4678: Revert URL black list support from LLTextBase.Lynx Linden
The new <nolink>URL</nolink> provides a more flexible solution that can be specified in XUI (as we now do to disabled hyperlinking for the sim hostname in the About floater).
2010-01-26EXT-4678: Don't hyperlink sim URLs in About window.Lynx Linden
Added support for specifying a black list of URLs on a per-widget basis. URLs on this black list will not be hyperlinked in the text widget. The About dialog adds the sim hostname to this black list.
2010-01-26fix mac build failure -- richardangela
2010-01-22LLPointer cleanup and fix for EXT-4413richard
reviewed by Rick
2009-12-23Work on normal task EXT-3636 (Code Improvements: Voice control panels - Make ↵Mike Antipov
Voice states and fade timeout xml driven) -- made Avatar Item Voice States xml driven. Added fake xml panel file with one textbox per style. Style of the appropriate textbox is applied to avatar item's name -- It was necessary to change visibility of the LLTExtBase::getDefaultStyle() to public. --HG-- branch : product-engine
2009-12-18ext-3307 - nearby chat stays scrolled at bottomrichard
2009-12-11variable renames in LLTextBaserichard
2009-12-08ext-3087 - avatar icon is truncated badlyrichard
reviewed by James
2009-11-25EXT-1944 - Implement ellipsis in message wellrichard
EXT-699 - Toasts should display maximum 6 lines of text before ellipses are applied EXT-2453 - TextBox displays an extra line of text
2009-11-16fix of a normal bug (EXT-2448) [BSI] Notification toasts should resize when ↵Dmitry Oleshko
text is to long to be displayed A maximum number of characters for textbox/texteditor could be set only through XML. In case when a corresponding attribute was absent - the maximun number was set to 255, and there were no chance (no function) to change it. So in this fix such a function was added. --HG-- branch : product-engine
2009-11-12mergeangela
2009-11-12add optional style params in setText functionangela
2009-11-11fix for normal bug EXT-2303 Distinguish Object-generated Nearby Chat from ↵Yuri Chebotarev
other Nearby Chat --HG-- branch : product-engine
2009-11-04ext-2038 - script editor, cursor becomes stuck in some rowsrichard
ext-2037 0 Script editor, garbage characters inserted in text
2009-10-30EXT-2018 PRofile "Real World" descripton scrolls before showing "More" linkrichard
EXT-2011 titles of IM sessions aren't aligned to center EXT-3025 Pick's description overlaps picks name also moved tool tip param default to tool_tip.xml also made default param<const LLFontGL*> be SansSerif reviewed by Leyla
2009-10-28EXT-1949 - Viewer freezes on resizing IM windowrichard
cleaned up some rectangle tracking logic and introduced LLInlineViewSegment param block reviewed by Leyla
2009-10-26tweaked clipping rect for scroll containers to not overlap vertical scrollbarrichard
fixed reflow logic when resizing text editors that contain widgets (would make text appear and disappear) reviewed by James
2009-10-21fix for chat history layout bugsRichard Nelson
EXT-1728 - there is no new line in the text copied on junction of 2 panels EXT-1670 - fix chat history use of widgets reviewed by James
2009-10-20ext-1670 - fix the chat history use of widgetsRichard Nelson
reviewed by leyla
2009-10-16fixed first click on SLURL not spawning inspector by handling mouse down ↵Richard Nelson
when clicking on url reviewed by Mani
2009-10-08only add LLScrollContainers to text widgets when requested, saving on ↵Richard Nelson
LLTextBox construction time combined clip and scroll attributes of text editors and text boxes...if you want to clip text, you need to introduce a scrollbar moved clear to LLTextEditor so that text boxes won't empty out when calling LLPanel::clearCtrls() EXT-1354 - added optional wrapping to LLTooltips...inspector tooltips don't wrap, everything else does added LLFastTimer::reset call on application init to prime timers for pre-login timing fixed tooltips positioning incorrectly due to mis-sized tooltipview eliminated hide_scrollbar param for text editors reviewed by Leyla
2009-10-05text boxes are now *not* mouse_opaque by defaultRichard Nelson
fixed some textbox and text editor layout problems (getWidth called with wrong index) EXT-1302 - rewrite LLExpandableTextBox to use new LLTextBase functionality (using custom LLExpanderSegment) reviewed by James
2009-10-03Merge inspectors UI project, gooey-4, into viewer-2 trunk. Added new ↵James Cook
tooltips to 3D avatars, 2D avatar names, and 3D objects. Refactors tooltips and text boxes, line editors, and text editors. Breaks LLExpandableTextBox, but a fix is coming. Resolved conflicts in lltexteditor.cpp, llchatitemscontainerctrl.cpp, llchatmsgbox.cpp, llfloaterbuycurrency.cpp, llnearbychat.cpp, floater_buy_currency.xml, and ru/strings.xml Merging revisions 134925-135157 of svn+ssh://svn.lindenlab.com/svn/linden/branches/gooey/gooey-4 into C:\source\viewer-2.0.0-3, respecting ancestry