Commit Graph

130 Commits (a7dbaaa0af643fc5bce0b740a92e69dfb931c6e8)

Author SHA1 Message Date
simon@Simon-PC.lindenlab.com b7555a3309 Merge back viewer-lion, which has viewer-development and down-stream fixes 2012-08-01 14:07:24 -07:00
simon@Simon-PC.lindenlab.com 891af8055a MAINT-1276: Add ability to paste LSL tooltips into scripts. Reviewed by Kelly 2012-07-17 13:52:08 -07:00
Kitty Barnett 80b1a2c0a8 STORM-276 Insert braces around if/for/while loops 2012-06-11 13:39:45 +02:00
Kitty Barnett 1300f77fdd Merged with viewer-beta 2012-05-20 17:41:00 +02:00
Oz Linden 95090c5d1e merge changes for version 3.3.1 2012-05-08 15:51:56 -04:00
Merov Linden f0a1b43f22 EXP-1841 : Use instance instead of getInstance on LLClipboard singleton. 2012-03-01 21:35:05 -08:00
Merov Linden 24789f11cc Pull from viewer-experience 2012-03-01 13:31:17 -08:00
Merov Linden 9761375ac2 EXP-1841 : Refactoring of LLClipboard, simplify the API and make it behave like a normal clipboard. 2012-02-06 15:43:53 -08:00
Kitty Barnett a9d1121977 STORM-276 Added spellcheck functionality to the LLTextEditor control 2012-02-03 15:20:34 +01:00
Merov Linden c1636911c8 EXP-1862 : Make LLClipboard an LLSingleton and clean up the internals (set up for toolbar and never used) 2012-02-01 19:09:29 -08:00
Richard Linden c47c31fdbf EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local Chat 2012-01-31 17:51:43 -08:00
Ima Mechanique eeefec394c Changes to filter out tabs from file load and to test if loading/saving should be allowed. 2011-11-23 01:30:15 +00:00
Seth ProductEngine f00eb3e161 STORM-229 ADDITIONAL FIX Disabled updating text segments during indenting the selected lines with TAB or SHIFT+TAB to prevent the viewer from stalling. 2011-04-20 17:31:57 +03:00
Andrew Productengine d3eccbcd8b STORM-229 FIXED Fixed long loading times and stalling of Viewer while 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-12-13 13:17:48 +02:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Richard Nelson d72a21aca1 further UI rendering performance improvements 2010-07-30 15:17:32 -07:00
Richard Linden 15247f0869 Backed out changeset: 58571b4e704b 2010-07-27 14:22:14 -07:00
Monroe Linden 551f74125b Changes to allow disabling an LLTextBox (or LLTextBox subclass) to gray out 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-15 16:32:50 -07:00
Dessie Linden 5d85dad85f Reverted changeset 2bb10eae42bf 2010-07-15 12:31:08 -07:00
Richard Linden 1f79bee86e EXT-8237 FIX Opening up Edit Outfit- Add More->Shirt causes FPS to drop from 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-09 14:26:56 -07:00
Yuri Chebotarev 5c263cdc64 EXT-6333 FIX introduce new segments - LLLineBreakSegment and LLImageSegment
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/241/

--HG--
branch : product-engine
2010-06-03 10:38:03 +03:00
Eugene Mutavchi 5f49061661 Fixed normal bug EXT-6806 (Context menu conflict: selected text vs group) - 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-16 13:31:06 +03:00
Richard Linden f252d0d1a0 merge 2010-04-01 15:51:24 -07:00
Richard Linden dcc5e0a4fa EXT-3531 - Ctrl-p doesn't work reliably on login
moved gEditMenuHandler handling to LLEditMenuHandler destructor
2010-04-01 15:48:56 -07:00
Richard Linden 2be2fdca5c EXT-3606 - Script editor window: next line not indenting if current line wraps 2010-04-01 14:08:49 -07:00
Richard Nelson 7b4046df83 EXT-3531 - Ctrl-P does not work reliably on login 2010-04-01 11:47:21 -07:00
richard 69032d8d9d EXT-5071 - Script Editor slows down FPS when editing scripts with 500+ lines
reviewed by Monroe
2010-02-16 19:14:55 -08:00
Dmitry Zaporozhan f8aa91dccb Fixed function name.
--HG--
branch : product-engine
2010-02-10 12:10:43 +02:00
richard df3da77fa9 merge 2010-02-05 11:34:49 -08:00
richard ddfc6efbee EXT-5025 - Tooltips block mouse clicks
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-05 11:32:33 -08:00
Dmitry Zaporozhan 553cf40d13 Updated low bug EXT-4951 - Redundant edit box context menu in list items in Panel Picks/Classifieds.
Reverted changeset 8956:930bef051fee.
Added new parameter to control context menu visibility.

--HG--
branch : product-engine
2010-02-05 12:25:18 +02:00
Dmitry Zaporozhan 79bcb8dc72 Fixed low bug EXT-4951 - Redundant edit box context menu in list items in Panel Picks/Classifieds
--HG--
branch : product-engine
2010-02-04 15:44:45 +02:00
Tofu Linden 75aec28534 merge.
--HG--
branch : product-engine
2010-02-03 18:27:38 +00:00
Tofu Linden 011673de5a CID-419
Checker: RESOURCE_LEAK
File: /indra/llui/llstyle.h

--HG--
branch : product-engine
2010-02-03 18:22:25 +00:00
Monroe Linden 5491dd6e98 Further fixes for EXT-4689 (Long-word chat spam cripples fps and/or 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-02 18:24:11 -08:00
richard 45e700cb3e merge 2010-02-01 12:39:59 -08:00
Tofu Linden 9f44c4df79 Fix some Linux build breakage - can't treat the return of a constructor call as a ref with gcc, have to use intermediate variable. 2010-01-25 10:30:57 -08:00
Ychebotarev ProductEngine fd33910c39 add comment for EXT-4443 about EXT-4443...
--HG--
branch : product-engine
2010-01-26 14:34:02 +02:00
Ychebotarev ProductEngine 12961b5701 fix for normal EXT-4443 Copying text from notifications fails
--HG--
branch : product-engine
2010-01-26 09:12:34 +02:00
richard 337716d946 LLPointer cleanup and fix for EXT-4413
reviewed by Rick
2010-01-22 16:51:13 -08:00
richard 0f11042d25 EXT-4095 - [crashhunters] Crash on shutdown in LLTextBase destructor
reviewed by James
2010-01-11 17:35:17 -08:00
richard c6234f352a variable renames in LLTextBase 2009-12-11 14:34:30 -08:00
Eugene Mutavchi 25b8258d81 Fixed low bug EXT-3058 ('Save Pick' Button Inoperable When Edit Only Involves Deleting Text from the Description)
--HG--
branch : product-engine
2009-12-08 22:27:33 +02:00
James Cook 7d3b3cc474 Linker optimization - use "extern template" for commonly regenerated templates
Also replaced many duplicate calls to LLViewerCamera::getInstance() with local pointer.
Reviewed with Ambroff
2009-11-30 14:41:52 -08:00
James Cook b50ba67bd8 Revert extern template link optimization until I can build/test on PC 2009-11-29 10:19:17 -08:00
James Cook 5531149ad1 Fix merge error 2009-11-28 21:25:53 -08:00
James Cook 928b7cba3e Linker optimization, use extern template for LLView::getChild<> 2009-11-25 22:00:15 -08:00