summaryrefslogtreecommitdiff
path: root/indra/newview/llexpandabletextbox.cpp
AgeCommit message (Collapse)Author
2024-07-26Reduce utf8 to wstring conversion and llwstring temporaries during text draw ↵Rye Mutt
(#2115)
2024-07-08Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h ↵Ansariel
and llunittype.h for now
2024-05-22Fix line endlingsAnsariel
2024-05-22Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-AAnsariel
# Conflicts: # autobuild.xml # indra/cmake/CMakeLists.txt # indra/cmake/GoogleMock.cmake # indra/llaudio/llaudioengine_fmodstudio.cpp # indra/llaudio/llaudioengine_fmodstudio.h # indra/llaudio/lllistener_fmodstudio.cpp # indra/llaudio/lllistener_fmodstudio.h # indra/llaudio/llstreamingaudio_fmodstudio.cpp # indra/llaudio/llstreamingaudio_fmodstudio.h # indra/llcharacter/llmultigesture.cpp # indra/llcharacter/llmultigesture.h # indra/llimage/llimage.cpp # indra/llimage/llimagepng.cpp # indra/llimage/llimageworker.cpp # indra/llimage/tests/llimageworker_test.cpp # indra/llmessage/tests/llmockhttpclient.h # indra/llprimitive/llgltfmaterial.h # indra/llrender/llfontfreetype.cpp # indra/llui/llcombobox.cpp # indra/llui/llfolderview.cpp # indra/llui/llfolderviewmodel.h # indra/llui/lllineeditor.cpp # indra/llui/lllineeditor.h # indra/llui/lltextbase.cpp # indra/llui/lltextbase.h # indra/llui/lltexteditor.cpp # indra/llui/lltextvalidate.cpp # indra/llui/lltextvalidate.h # indra/llui/lluictrl.h # indra/llui/llview.cpp # indra/llwindow/llwindowmacosx.cpp # indra/newview/app_settings/settings.xml # indra/newview/llappearancemgr.cpp # indra/newview/llappearancemgr.h # indra/newview/llavatarpropertiesprocessor.cpp # indra/newview/llavatarpropertiesprocessor.h # indra/newview/llbreadcrumbview.cpp # indra/newview/llbreadcrumbview.h # indra/newview/llbreastmotion.cpp # indra/newview/llbreastmotion.h # indra/newview/llconversationmodel.h # indra/newview/lldensityctrl.cpp # indra/newview/lldensityctrl.h # indra/newview/llface.inl # indra/newview/llfloatereditsky.cpp # indra/newview/llfloatereditwater.cpp # indra/newview/llfloateremojipicker.h # indra/newview/llfloaterimsessiontab.cpp # indra/newview/llfloaterprofiletexture.cpp # indra/newview/llfloaterprofiletexture.h # indra/newview/llgesturemgr.cpp # indra/newview/llgesturemgr.h # indra/newview/llimpanel.cpp # indra/newview/llimpanel.h # indra/newview/llinventorybridge.cpp # indra/newview/llinventorybridge.h # indra/newview/llinventoryclipboard.cpp # indra/newview/llinventoryclipboard.h # indra/newview/llinventoryfunctions.cpp # indra/newview/llinventoryfunctions.h # indra/newview/llinventorygallery.cpp # indra/newview/lllistbrowser.cpp # indra/newview/lllistbrowser.h # indra/newview/llpanelobjectinventory.cpp # indra/newview/llpanelprofile.cpp # indra/newview/llpanelprofile.h # indra/newview/llpreviewgesture.cpp # indra/newview/llsavedsettingsglue.cpp # indra/newview/llsavedsettingsglue.h # indra/newview/lltooldraganddrop.cpp # indra/newview/llurllineeditorctrl.cpp # indra/newview/llvectorperfoptions.cpp # indra/newview/llvectorperfoptions.h # indra/newview/llviewerparceloverlay.cpp # indra/newview/llviewertexlayer.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/macmain.h # indra/test/test.cpp
2024-05-01Merge branch 'marchcat/w-whitespace' into marchcat/x-ws-mergeAndrey Lihatskiy
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-03-12Merge branch 'main' of https://github.com/secondlife/viewer into ↵Ansariel
DRTVWR-600-maint-A # Conflicts: # autobuild.xml # indra/llrender/llfontbitmapcache.cpp # indra/llrender/llfontbitmapcache.h # indra/llrender/llfontfreetype.cpp # indra/llrender/llfontfreetype.h # indra/llrender/llfontgl.cpp # indra/llrender/llfontgl.h # indra/llui/llbutton.h # indra/llui/llfloater.cpp # indra/llui/llfloater.h # indra/llui/llfolderviewitem.cpp # indra/llui/lllineeditor.cpp # indra/llui/lllineeditor.h # indra/llui/llscrollcontainer.cpp # indra/llui/llscrollingpanellist.cpp # indra/llui/llscrollingpanellist.h # indra/llui/llscrolllistctrl.h # indra/llui/lltextbase.cpp # indra/llui/lltextbase.h # indra/llui/lltexteditor.cpp # indra/llui/lltexteditor.h # indra/llui/lluictrl.cpp # indra/llui/llview.cpp # indra/llui/llview.h # indra/newview/llchicletbar.h # indra/newview/llconversationlog.h # indra/newview/llfloaterimsessiontab.cpp # indra/newview/llfloaterimsessiontab.h # indra/newview/llfloateruipreview.cpp # indra/newview/llnavigationbar.h # indra/newview/llpaneltopinfobar.h # indra/newview/llpathfindingpathtool.h # indra/newview/lltextureview.cpp # indra/newview/lltoolbrush.h # indra/newview/lltoolcomp.h # indra/newview/lltooldraganddrop.h # indra/newview/lltoolface.h # indra/newview/lltoolfocus.h # indra/newview/lltoolindividual.h # indra/newview/lltoolobjpicker.h # indra/newview/lltoolpie.h # indra/newview/lltoolpipette.h # indra/newview/lltoolselectland.h # indra/newview/llviewermediafocus.h # indra/newview/llviewerparcelmediaautoplay.h # indra/newview/llviewerwindow.cpp # indra/newview/llvoicechannel.h # indra/newview/llvoicevivox.h # indra/newview/llworldmapview.cpp
2024-03-04Merge branch 'main' into marchcat/x-mergeAndrey Lihatskiy
# Conflicts: # indra/llcommon/llstring.cpp # indra/llcommon/llstring.h
2024-02-21Convert remaining BOOL to boolAnsariel
2024-02-21Convert BOOL to bool in lluiAnsariel
2024-02-18Replace BOOL with bool in llwindow and dependent classesAnsariel
2024-01-30BugSplat Crash #1409959 onTopLostAndrey Kleshchev
onTopLost crashed 1. It contradicts callstack, but clearPopups() definetely has an issue due to not checking the pointer prior to calling onTopLost 2. According to callstack, crash happened around ~LLFolderViewFolder and while it does call removePopup for itself, it isn't a popup, the only one in the list would be the renamer, which calls back to parent, so made sure to secure it. 3. mFlashTimer was never deleted 4. Some explicit cleanup for TopLost
2022-08-28Merge branch 'contribution/emoji'Kitty Barnett
2019-11-06Characters can have more than one representation in LLFontFreetypeKitty Barnett
* By default all viewer text will use B/W glyphs * Added temporary use_color attribute to LLTextBase for testing
2019-08-10DRTVWR-493 LLUI to LLParamSingletonandreykproductengine
2017-06-08MAINT-7460 FIXED Crash in LLPopupView::removePopup()Mnikolenko Productengine
2017-04-06MAINT-7267 Fixed UI missing last symbol of string on hi-res monitors.andreykproductengine
2017-01-04MAINT-918 Newline was not displayed correctly in chat window.andreykproductengine
2016-05-06merge 4.0.4-release and MAINT-5974Oz Linden
2016-03-21MAINT-6130 FIXED Resizing "Picks" floater breaks formatting in list itemsandreykproductengine
2016-03-16merge changes for DRTVWR-417Oz Linden
2016-01-15merge changes for 4.0.1-releaseOz Linden
2015-12-29MAINT-5984 FIXED Incorrect cursor position with UI scale >1.0andreykproductengine
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-09-30MAINT-5670 FIXED <icon> should not be parsed in expandable textboxesMnikolenko ProductEngine
2014-08-20Reverted change to expandable_text, to use pre-existing functionality to fix ↵Cho
ACME-1583
2014-08-20Made expandable_text take max_length as a parameter and set experience ↵Cho
profile description max_length to 2048 for ACME-1583
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2012-06-19CHUI-127 FIXED (Make chat field auto resizable)Paul ProductEngine
- Replaced LLLineEditor with newly created LLChatEntry - Moved some functionality (such as setting label) to the LLTextBase as it can be useful to the other derived classes
2012-01-31EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local ChatRichard Linden
2011-07-22STORM-1311 FIXED Provide more space for parcel description in the Place ↵Vadim ProductEngine
Profile when coming from search. This also affects the way teleport history items look. In the first place I tried to make the description occupy all available space and follow viewer window shape. However that triggered numerous bugs in the text widgets, which spoiled the whole fix. So I'm coming up with a temporary hacky solution that should fit the ticket requirements.
2011-03-15STORM-250 FIXED "More" link being toggled in expandable textbox after reshaping.Seth ProductEngine
2010-09-14STORM-112 FIXED Fixed EOLs display as "squares" in expandable textboxes ↵Andrew Dyukov
after resize. This problem reproduced not only on minimize of certain floaters from description, but for all expandable textboxes after resizes. It happened because of hideExpandText() call in LLTextBoxEx::reshape() that broke lineendings. - Removed it from there so text expands now only when clicking "More" link- it's the only time when it should be shown, and also doesn't have problem with breaking anything because of calling setTextBase() after it.
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-27Backed out changeset: 58571b4e704bRichard Linden
2010-07-29removed unnecessary hack (no repro for EXT-8259, possibly due to other ↵Richard Linden
recent lltextbase changes)
2010-07-16EXT-8365 FIXED Untranslated "More" link in the Residents Profiles.Vadim Savchuk
The default link label specified in widgets/expandable_text.xml didn't seem to be taken into account for translation. So I moved the label to strings.xml to make sure it's localized. Also I removed overridden textbox.label attribute values because VLT can't handle them. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/770/ --HG-- branch : product-engine
2010-07-15Reverted changeset 2bb10eae42bfDessie Linden
2010-07-09EXT-8259 FIXED Fixed occasional truncation of the "More" link in expandable ↵Vadim Savchuk
textboxes. The bug seems to happen when the text contains trailing newlines. So the workaround is to strip those newlines. I use a workaround because a proper fix might require changing LLTextBase which is undesirable at this point. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/722/ --HG-- branch : product-engine
2010-04-01Fixed normal bug EXT-6023 - [HARD CODED]? Side Bar : "More" link inside ↵Dmitry Zaporozhan
"Profile" and "Pick" According to ticket, files in "widgets" folder are not localized and "more_label" is not a translatable attribute. Replaced "more_label" with "label". expandable_text "More" text is accessible through "textbox.label" attribute. Added "textbox.label" to every expandable_text to make "More" text localizable. --HG-- branch : product-engine
2010-03-04fixed expandable text box not hiding when clicking off themRichard Nelson
2010-03-02initial work changing topctrl to popup layerRichard Nelson
2010-02-02Fixed normal bug EXT-4105 ([BSI] group names are not able to be copied from ↵Eugene Mutavchi
side panel) - changed LLTextBoxEx class to inherit the LLTextEditor behavior --HG-- branch : product-engine
2010-01-25gcc fix - more of the same.Tofu Linden
2010-01-22LLPointer cleanup and fix for EXT-4413richard
reviewed by Rick
2009-12-17Fixed major bug EXT-3290 - Groups titles listed in profile lose links to ↵Dmitry Zaporozhan
groups after click on 'More' link. --HG-- branch : product-engine
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