Commit Graph

91 Commits (1a437cbedf94de90d749f426dde09f2466693de2)

Author SHA1 Message Date
Andrey Kleshchev e129986a49 SL-3007 Ability to report abuse from chat 2022-01-24 23:37:21 +02:00
Oz Linden 5822fb00b6 merge DRTVWR-398 build cleanup fixes 2016-03-07 12:41:11 -05:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Jonathan Yap 2d7fb5c675 STORM-2094 Save button not activated if spelling corrected in Notecard and no other changes made 2014-12-28 09:34:28 -05:00
simon 3e6698073c Merge viewer-release and become version 3.7.12 2014-07-07 14:49:45 -07:00
Cinder e776b600b1 Refactor more script editor properties away from LLTextEditor to LLScriptEditor 2014-05-14 14:08:24 -06:00
simon dc4c184696 Merge downstream version 3.7.8 code 2014-05-07 13:19:05 -07:00
Oz Linden a98b4b6bee merge changes for 3.7.7-release 2014-05-07 11:09:04 -04:00
Cinder dcffb97518 Move some more script editor functions from LLTextEditor to LLScriptEditor 2014-04-18 23:13:57 -06:00
Cinder 8c39617c9a Begin moving script editor portions of LLTextEditor to their own derived class.
This should fix the run off segment bugs by not overriding LLTextBase::clearSegments() in LLTextEditor
TODO: Move the rest of the script stuff out of LLTextEditor for simplicity sake
2014-04-18 12:52:07 -06:00
maksymsproductengine 635a3309f0 MAINT-3610 FIXED SL viewer partly 'eats' chat-messages 2014-03-06 05:51:49 +02:00
Ima Mechanique 00a99d9097 Adding clear methods to remove any highlighting. 2014-02-06 16:47:27 +00:00
Oz Linden 7f39d0472e merge changes for STORM-1831 2013-11-18 13:51:24 -05:00
Richard Linden 17e9c872ad Automated merge with http://bitbucket.org/lindenlab/viewer-release 2013-11-11 19:17:49 -08:00
Ima Mechanique dc317ed70a Refactoring load routines to remove uneeded methods 2013-11-10 21:58:17 +00:00
Ima Mechanique 0c1d6d7d9e Merge v3.6.7 in 2013-10-04 20:47:54 +01:00
Richard Linden 52da9f5f49 merge with viewer-release 2013-09-09 18:58:41 -07:00
Oz Linden 82bf4e4db2 merge changes for DRTVWR-285 2013-08-19 15:15:15 -04:00
Mnikolenko ProductEngine 8fa463113c MAINT-3119 FIXED Select auto-completed part using cursor position 2013-09-17 12:20:28 +03:00
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
consolidated most indra-specific constants in llcommon under indra_constants.h
fixed issues with operations on mixed unit types (implicit and explicit)
made LL_INFOS() style macros variadic in order to subsume other logging methods
such as ll_infos
added optional tag output to error recorders
2013-07-30 19:13:45 -07:00
Ima Mechanique 7d5ed4f747 Moving LSL highlighting colour info into .../skins/default/colors.xml where it makes more sense than its own xml file. Changing other functions to read it. 2013-06-27 21:28:52 +01:00
Ima Mechanique b615858d6c Merging last four months of development 2013-06-26 17:39:23 +01:00
Merov Linden 2113bb8159 Pull merge from viewer-release 2013-05-22 11:23:51 -07:00
Oz Linden 72e7269da3 merge changes for 3.5.2-release 2013-05-20 09:08:20 -04:00
maksymsproductengine 36a51f4927 CHUI-958 FIXED Log spam: "drawtext: Ran off Segmentation End" and To field in nearby chat blank when selected 2013-05-14 01:30:23 +03:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Oz Linden 75722baf29 merge changes for latest viewer-development 2013-03-13 15:15:15 -04:00
Ima Mechanique 7183cecd14 STORM-1831 merging in previous work 2013-02-05 16:37:37 +00:00
Merov Linden faae38daaa Pull merge from lindenlab/viewer-developement 2013-01-30 20:01:03 -08:00
Cho 163f3de73d CHUI-291 FIX New auto-replace feature does not work with chui text input boxes in conversation floater
Modified LLAutoReplace to pass back a string for replacement instead of modifying the input string
2013-01-25 19:53:12 +00:00
Cho d67804543d CHUI-291 FIX New auto-replace feature does not work with chui text input boxes in conversation floater
Fixed autoreplace in LLTextEditor so it updates correctly and works with undo
2013-01-25 01:57:56 +00:00
Cho 977d318ac8 CHUI-291 FIX New auto-replace feature does not work with chui text input boxes in conversation floater
Moved autoreplace hooks from LLLineEditor to LLTextEditor, and modified LLAutoReplace accordingly
2013-01-23 20:22:28 +00:00
Oz Linden 07cc38e9cb STORM-1855: Improve performance of pasting large blocks of text in the script editor 2012-11-09 15:12:15 -05: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
Paul ProductEngine 18aabdfd3d CHUI-127 FIXED (Make chat field auto resizable)
- 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-19 09:44:40 +03: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
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
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04: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
Richard Nelson 7b4046df83 EXT-3531 - Ctrl-P does not work reliably on login 2010-04-01 11:47:21 -07: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
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
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
angela b1a81afef6 add optional style params in setText function 2009-11-12 21:17:31 +08:00
richard bb9fe04b5f EXT-1949 - Viewer freezes on resizing IM window
cleaned up some rectangle tracking logic and introduced LLInlineViewSegment param block
reviewed by Leyla
2009-10-28 11:48:10 -07:00
richard 9589ee3f70 EXT-1727 Chat history widget has no context menu for copy/paste operations
added ignore for dbghelp.dll

reviewed by James
2009-10-27 10:51:34 -07:00
Richard Nelson b3d1eb82fa fix for chat history layout bugs
EXT-1728 - there is no new line in the text copied on junction of 2 panels
EXT-1670 - fix chat history use of widgets

reviewed by James
2009-10-21 21:30:40 +00:00