summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
AgeCommit message (Collapse)Author
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-02-01removed redundant coderichard
2010-02-01EXT-4848 - Crash when trying to view chicklet(?). Bug in word wrap logic.Eric M. Tulla (BigPapi)
Added a clamp to >= 0 for num pixels so we don't hit the assert. -Reviewed by Nyx
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-29EXT-4678: Support <nolink>...</nolink> to turn off URL hyperlinking.Lynx Linden
We are running into a bunch of places where we don't want to allow hyperlinking of URLs like secondlife.com in text boxes. I've therefore added a new type of URL regex that disables URL hyperlinking. Simply enclose the URL in a <nolink> tag, e.g.: <nolink>secondlife.com</nolink>
2010-01-26PE merge.Tofu Linden
2010-01-26Fixed major bug EXT-4719 - Crash in LLTextBase after showing popup menu for ↵Dmitry Zaporozhan
link. --HG-- branch : product-engine
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-26Automated merge with ssh://angela@hg.lindenlab.com/james/gooeyangela
2010-01-26fix mac build failure -- richardangela
2010-01-25Fix some Linux build breakage - can't treat the return of a constructor call ↵Tofu Linden
as a ref with gcc, have to use intermediate variable.
2010-01-25fixed bug EXT-4433 [BSI] friend privacy settings greyed outDenis Serdjuk
EXT-4353, EXT-4587, EXT-4442 have same cause. it should fix they. --HG-- branch : product-engine
2010-01-22LLPointer cleanup and fix for EXT-4413richard
reviewed by Rick
2010-01-15EXT-4380 - LLTextEditor: line_spacing.multiple option doesn't work well with ↵richard
"widgeted" text partial fix reviewed by Leyla
2010-01-06moved clipping logic inside LLFontGL::maxDrawableChars controlled by ↵richard
EWordWrapStyle fixes regression introduced in 3eef5ce9ae1e6fc62b9b52ce859501dd4e70fadf reviewed by Brad
2009-12-23DEV-44614 ugly/broken font and formatting used for IM toast emotesTofu Linden
fix bug, also fix some comments/typos/enumparams in this code area.
2009-12-18ext-3307 - nearby chat stays scrolled at bottomrichard
2009-12-17oops, forgot to remove assertrichard
2009-12-17clamp instead of assert when running out of room during reflowrichard
2009-12-17EXT-3087 - Crash when avatar icon truncated in interactive notificationsrichard
reviewed by Mani
2009-12-11ext-3404 - script editor scrolls to the bottom and sticksrichard
2009-12-11fixed a regression that caused bottom 15 pixels of scrollable text editors ↵richard
to appear blank
2009-12-11variable renames in LLTextBaserichard
2009-12-11fix for ellipses not appearing in single line text widgetsrichard
fix for ellipses sometimes appearing at end of wrapped line of text reviewed by James
2009-12-08EXT-2572 - Bottom text on bottom line in nearby chat is clippedrichard
2009-12-08added fading back to icons in text widgetsrichard
2009-12-08ext-3087 - avatar icon is truncated badlyrichard
reviewed by James
2009-12-07fix for inline widgets never shrinking with resizable text editorrichard
also fixed dropping last line in chat history
2009-12-07fix for horizontal scrolling in text_editorsrichard
2009-12-07ext-3112 - bad font width information with sansserifrichard
2009-12-03Hack for EXT-2971 Letter R doesn't show when it's the last letter in a text ↵James Cook
block. Add 1 pixel of padding to clipping rect computation. I think there is a deeper problem in the font width computation code, but I don't know where. Opened EXT-3112 for the deeper issue. Reviewed with Leyla.
2009-12-03EXT-2984 Fixed crash in LLNormalTextSegment::getDimensions (no repro)James Cook
Avoid stepping off end of array when text segment has 0 characters Reviewed with Ambroff
2009-12-01EXT-3015 Fixed right and center aligned text boxesJames Cook
Document rect left edge was being computed incorrectly. Made floater_test_textbox.xml have more examples of text. Reviewed with Kelly
2009-11-25fix for ellipses on a single linerichard
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-25fixed line numbering in script editorsrichard
2009-11-25forgot to apply resize fix for when text is selectedrichard
EXT-1995 - [BSI] Get rid of the *blop* sound when a textbox contains more text than displayable
2009-11-25created container for LLFloaterView for future z-swapping with sidetrayrichard
floaters can now overlap sidetray fixed text selection background color to be inverse of text fg color EXT-2713 Script editor automatically scrolls to the top of script text when text is longer than the window. reviewed by James
2009-11-24Merge from product-engineSteve Bennetts
2009-11-24Work on critical sub-task EXT-2615 (IM Chat History is severely broken)Mike Antipov
-- Improved calculating of the LLTextBase::mContentsRect to take into account "left" coordinate. Previous implementation just ignored it. --HG-- branch : product-engine
2009-11-23fix for infinite loop when doing /me emotesrichard
reviewed by Mark
2009-11-20Fix EXT-2645 Ensure link colors applied consistently to all text sourcesangela
2009-11-17mergerichard
2009-11-17Fix broken URL highlighting in local chat, broken in 5068 : ce08ac445035. ↵James Cook
Typo, not reviewed.
2009-11-17undo the changes for LLStyle params; add sizeFromFont in LLFontGL ; use ↵angela
font.style, font.name and font.size params for font creating
2009-11-16fix chat format for /meangela
2009-11-13fix for layout of urls with iconsrichard
2009-11-12mergeangela