summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
AgeCommit message (Collapse)Author
2012-07-27Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-release.Todd Stinson
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-06-11STORM-276 Insert braces around if/for/while loopsKitty Barnett
2012-05-20Merged with viewer-betaKitty Barnett
2012-05-08merge changes for version 3.3.1Oz Linden
2012-03-01EXP-1841 : Use instance instead of getInstance on LLClipboard singleton.Merov Linden
2012-03-01Pull from viewer-experienceMerov Linden
2012-02-06EXP-1841 : Refactoring of LLClipboard, simplify the API and make it behave ↵Merov Linden
like a normal clipboard.
2012-02-03STORM-276 Added spellcheck functionality to the LLTextEditor controlKitty Barnett
2012-02-01EXP-1862 : Make LLClipboard an LLSingleton and clean up the internals (set ↵Merov Linden
up for toolbar and never used)
2012-01-31EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local ChatRichard Linden
2011-11-23Changes to filter out tabs from file load and to test if loading/saving ↵Ima Mechanique
should be allowed.
2011-04-20STORM-229 ADDITIONAL FIX Disabled updating text segments during indenting ↵Seth ProductEngine
the selected lines with TAB or SHIFT+TAB to prevent the viewer from stalling.
2010-12-13STORM-229 FIXED Fixed long loading times and stalling of Viewer while ↵Andrew Productengine
loading big scripts or pasting a lot of text into script. The bug was fixed by Satomi Ahn. Here is the description of what causes the problem from her comment in ticket: "Disabling the loading of syntax keywords in LLScriptEdCore::postBuild() removes the freeze (and with it: syntax highlighting). So it obviously comes from the parsing of the text. I also noticed something else: by adding a llwarn in LLTextEditor::updateSegments(), I saw that this function was called a lot of times when loading a script, roughly once for each line in the script (naively I would have thought only necessary to update when finished... or to only update the new line). My llwarn was in the "if (mReflowIndex < S32_MAX && mKeywords.isLoaded())", which means that, at each call, the text is actually parsed for all keywords... so the parsing of the script becomes quadratic instead of linear!!!" - To fix this, Satomi added a flag depending on which parsing is disabled when it is not necessary.
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-15Changes to allow disabling an LLTextBox (or LLTextBox subclass) to gray out ↵Monroe Linden
the text. Due to some legacy issues, text boxes will not gray out on disable unless they have their text_readonly_color property in xui set to "LabelDisabledColor" (or some other color distinct from their text color). Reviewed by Richard.
2010-07-15Reverted changeset 2bb10eae42bfDessie Linden
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-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-16Fixed normal bug EXT-6806 (Context menu conflict: selected text vs group) - ↵Eugene Mutavchi
prefer text menu if it has selection. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/245/. --HG-- branch : product-engine
2010-04-01mergeRichard Linden
2010-04-01EXT-3531 - Ctrl-p doesn't work reliably on loginRichard Linden
moved gEditMenuHandler handling to LLEditMenuHandler destructor
2010-04-01EXT-3606 - Script editor window: next line not indenting if current line wrapsRichard Linden
2010-04-01EXT-3531 - Ctrl-P does not work reliably on loginRichard Nelson
2010-02-16EXT-5071 - Script Editor slows down FPS when editing scripts with 500+ linesrichard
reviewed by Monroe
2010-02-10Fixed function name.Dmitry Zaporozhan
--HG-- branch : product-engine
2010-02-05mergerichard
2010-02-05EXT-5025 - Tooltips block mouse clicksrichard
EXT-4547 [BSI] it is possible to highlight multiple layers of chat EXT-3844 Mouse wheel camera zoom is not reflected on View popup slider EXT-3103 Add an option to restrict entering non-ascii symbols in text editor. reviewed by Leyla
2010-02-05Updated low bug EXT-4951 - Redundant edit box context menu in list items in ↵Dmitry Zaporozhan
Panel Picks/Classifieds. Reverted changeset 8956:930bef051fee. Added new parameter to control context menu visibility. --HG-- branch : product-engine
2010-02-04Fixed low bug EXT-4951 - Redundant edit box context menu in list items in ↵Dmitry Zaporozhan
Panel Picks/Classifieds --HG-- branch : product-engine
2010-02-03merge.Tofu Linden
--HG-- branch : product-engine
2010-02-03CID-419Tofu Linden
Checker: RESOURCE_LEAK File: /indra/llui/llstyle.h --HG-- branch : product-engine
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-01mergerichard
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-26add comment for EXT-4443 about EXT-4443...Ychebotarev ProductEngine
--HG-- branch : product-engine
2010-01-26fix for normal EXT-4443 Copying text from notifications failsYchebotarev ProductEngine
--HG-- branch : product-engine
2010-01-22LLPointer cleanup and fix for EXT-4413richard
reviewed by Rick
2010-01-11EXT-4095 - [crashhunters] Crash on shutdown in LLTextBase destructorrichard
reviewed by James
2009-12-11variable renames in LLTextBaserichard
2009-12-08Fixed low bug EXT-3058 ('Save Pick' Button Inoperable When Edit Only ↵Eugene Mutavchi
Involves Deleting Text from the Description) --HG-- branch : product-engine
2009-11-30Linker optimization - use "extern template" for commonly regenerated templatesJames Cook
Also replaced many duplicate calls to LLViewerCamera::getInstance() with local pointer. Reviewed with Ambroff
2009-11-29Revert extern template link optimization until I can build/test on PCJames Cook
2009-11-28Fix merge errorJames Cook
2009-11-25Linker optimization, use extern template for LLView::getChild<>James Cook