summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
AgeCommit message (Collapse)Author
2012-02-15EXP-1884 FIX Errors in navigating text when editing Landmarks and picks once ↵Richard Linden
a vertical scrollbar is shown fixed horizontal scrollbar showing up in local chat
2012-02-10EXP-1884 FIX Errors in navigating text when editing Landmarks and picks once ↵Richard Linden
a vertical scrollbar is shown
2012-02-09EXP-1874 FIX Unexpected scrollbar in text notificationRichard Linden
2012-02-06Mac build fix -- added missing enumeration from switchLeslie Linden
2012-02-03EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local ChatRichard Linden
EXP-1854 FIX Text positioning in mini inspector a couple pixels too low
2012-01-31EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local ChatRichard Linden
2012-01-27EXP-1513 WIP Underscore ( _ ) fails to show in first chat entry in Local ChatRichard Linden
cleaned up font positioning on buttons
2012-01-03EXP-1512 FIX changing UI size changes cursor position in notecardsRichard Linden
fixed case where adding text between 2 consecutive newlines created gibberish
2011-12-08EXP-1512 FIX changing UI size changes cursor position in notecardsRichard Linden
2011-11-04SH-2652 Don't allocate 6000+ strings every frameDave Parks
2011-07-14STORM-1234 FIXED text editor selection which was skipping the last character ↵Seth ProductEngine
in line. Added handling of the wrapped lines case when calculating the starting position for selection. The bug is a regression caused by the fix of STORM-320 which was dealing with calculating the position of the input cursor while navigating through the lines of text with word wrapping enabled.
2011-05-25Automated merge with http://hg.secondlife.com/viewer-developmentRichard Linden
2011-05-25EXP-829 FIX Text Box Alignment bugRichard Linden
EXP-755 FIX [PUBLIC] 'Search' and 'World Map' links in Sidebar are unclickable fixed issues with UI scaling and text layout as well as incorrect text editor rect transforms reviewed by Callum
2011-05-12Fix for error in debug build accessing beyond the end of a vector.brad kittenbrink
reviewed by davep.
2011-05-02mergeDave Parks
2011-04-20STORM-320 FIXED navigation with arrow keys through the text with enabled ↵seth_productengine
word-wrapping.
2011-04-10STORM-721 FIXED Fix for text clipping in a textbox without a scroller.Seth ProductEngine
Committed on behalf of Richard Linden: This patch makes clipping work consistently with text and embedded widgets. The widgets will only be displayed if the corresponding text they are embedded in is displayed. There is also a new param "clip" for text widgets that can be used to disable clipping entirely. I introduced this as a potential work around due to the fact that we *used* to assume that text was never clipped in the vertical direction unless we had scrolling turned on. This hasn't been the case for over a year, but now we can selectively turn off vertical text clipping with (clip="false") if we have to.
2011-04-19mergeDave Parks
2010-12-07Automated merge up from viewer-developmentLoren Shih
2010-11-24STORM-593 FIXED Make transparent texteditor and lineeditorPaul Guslisty
Reason: If some child of transparent LLFloater has a visible non-transparent background then this part of floater is non-transparent. As a result floater became partially transparent. Solution: When transparent floater changes focus, iterate through its children and set corresponding (corresponding to whether control in active or in inactive floater see STORM-535) transparency value. - Added method LLUICtrl::getCurrentTransparency. This method calculates transparency level of a control. Calculated value should be used as an alpha chennel value in case we want this control to be transparent. For now this method is used by LLFloater to adjust transparency of its children. - Added calculating of transparecny level for: LLLineEditor, LLTextBase, LLinventoryListItem, LLScrollContainer, LLScrollListCtrl, LLAccrodionCtrlTab. - Added method LLFlaoter::updateChildrenTransparency which updates transparency value of its children
2010-11-11mergeDave Parks
2010-11-08MergeLoren Shih
2010-11-02Fix for crash when clicking "about land" and land has no owner or something.Dave Parks
Reviewed by Nyx.
2010-10-29Merge with lindenlab/viewer-developmentKyle Ambroff
2010-10-29STORM-501 FIXED Script-editor shows ERRORS in the wrong line.Vadim ProductEngine
LLTextBase::setCursor() sometimes failed to work properly if line wrapping was enabled. This is a slightly optimized version of the patch made by Satomi Ahn.
2010-10-21Merge with andrewKyle Ambroff
2010-10-21Automated merge up from viewer-developmentLoren Shih
2010-10-20Automated merge up from viewer-developmentLoren Shih
2010-10-19STORM-390 FIXED "Place Profile" appeared instead of "Resident Profile" after ↵Vadim ProductEngine
clicking on user name in a nearby chat toast. Now clicking an avatar name opens avatar profile; clicking an object name opens object inspector. This change rolls back the fix of STORM-358.
2010-10-13correct licenses (fix problem with license change merge)Oz Linden
2010-09-10Post-convert merge by convert_monolith.py from ↵Andrew Meadows
http://hg.lindenlab.com/brad/viewer-simconsole
2010-09-03Post-convert merge by convert_monolith.py from ↵Aimee Linden
/Users/Aimee/Documents/Work/Linden-Lab/Development/viewer/convert/viewer-identity-evolution
2010-09-03Merge between james/viewer-identity-evolution and dessie/viewer-publicAimee Linden
2010-08-25mergeTofu Linden
2010-08-25EXT-8398/EXT-8300 FIXED Avatar icons displaced from SLURL profile linksAimee Linden
Icon was being inserted before any text preceding the link. Reviewed by Richard.
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-24fix for sim console not staying scrolled to bottomRichard Linden
2010-08-24fix for sim console not staying scrolled to bottomRichard Linden
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-08-09EXT-8010 ADDITIONAL FIX Fixed problems with avatar links underlining.Andrew Dyukov
There were two problems: 1. Underlining broke when avatar's first and second name were on different lines. 2. There was no underline on hover for avatar miniinspector links in plaintext IM. - First problem was caused by calling LLOnHoverChangeableTextSegment::draw() for the same segment twice- for first and second name that were on different lines, while handleHover() was called only once. So handleHover() was called -> text was underlined -> first part of segment was drawn underlined -> its draw set style back to normal -> second part of segment was drawn without underlining. Fixed this by setting style back to normal only when drawing the last part of the segment. - Second problem was caused by unusual way of appending link to text in chat history. Changed it so that LLTextBase::appendText() now receives link not inside style params, but directly. Also added "/inspect" ending to check in LLUrlEntryAgent::underlineOnHoverOnly(). Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/833/ --HG-- branch : product-engine
2010-08-04Merge with dessie/viewer-releaseLeyla Farazha
2010-08-02Redo the same merge as in changeset "2026f824953f", but this time with ↵Christian Goetze (CG)
feeeeling.
2010-07-30further UI rendering performance improvementsRichard Nelson
2010-07-30Merge from q/viewer-release to dessie/viewer-release for 2.1.1 beta 1Kent Quirk
2010-08-09EXT-8010 ADDITIONAL FIX Fixed problems with avatar links underlining.Andrew Dyukov
There were two problems: 1. Underlining broke when avatar's first and second name were on different lines. 2. There was no underline on hover for avatar miniinspector links in plaintext IM. - First problem was caused by calling LLOnHoverChangeableTextSegment::draw() for the same segment twice- for first and second name that were on different lines, while handleHover() was called only once. So handleHover() was called -> text was underlined -> first part of segment was drawn underlined -> its draw set style back to normal -> second part of segment was drawn without underlining. Fixed this by setting style back to normal only when drawing the last part of the segment. - Second problem was caused by unusual way of appending link to text in chat history. Changed it so that LLTextBase::appendText() now receives link not inside style params, but directly. Also added "/inspect" ending to check in LLUrlEntryAgent::underlineOnHoverOnly(). Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/833/ --HG-- branch : product-engine
2010-07-30further UI rendering performance improvementsRichard Nelson
2010-07-29fix for vertical truncation of sidebar headersRichard Linden
2010-07-29fix for vertical truncation of sidebar headersRichard Linden