Commit Graph

215 Commits (df00e8a0b2e9cdd9700f51e964d040c19a4bf2ec)

Author SHA1 Message Date
Mnikolenko ProductEngine 8fa463113c MAINT-3119 FIXED Select auto-completed part using cursor position 2013-09-17 12:20:28 +03:00
MaximB ProductEngine b0a873570e MAINT-3289 (User is not able to open mini inspector by one click on 'i' icon) 2013-10-11 22:45:12 +03:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07: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
maksymsproductengine 90a3285e26 CHUI-941 [CHUIBUG]Inline input is not available in 3.5.0 2013-05-31 20:05:12 +03:00
Merov Linden 51fab4d45c Pull merge from viewer-release 2013-05-22 13:59:53 -07:00
Merov Linden 2113bb8159 Pull merge from viewer-release 2013-05-22 11:23:51 -07:00
maksymsproductengine c6d4e449e4 CHUI-941 FIXED [CHUIBUG]Inline input is not available in 3.5.0 2013-05-22 16:35:08 +03: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
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
prep@lindenlab.com 0f24668b0a Merged in Chui beta6+ fixes 2013-03-29 10:37:58 -05:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Gilbert Gonzales e76a4eb7c5 CHUI-905 (Viewer crashes while using Insert keyboard key in chat): Problem was because when insert was used at the end of a string of text, this would attempt to delete something past the bounds of the string...as a side effect the size of the segment was increasing even though the string length never changed. The segment size would be greater than the string size and would eventually cause an invalid read outside the bounds of the string. 2013-03-28 17:31:45 -07:00
Oz Linden d7e041d0c7 correct merge error 2013-03-25 16:11:04 -04:00
Oz Linden 1057caffaf merge changes for latest snowstorm project viewer 2013-03-22 18:08:49 -04:00
Oz Linden a625dbe35e merge changes for 3.5.0-beta3 2013-03-15 15:42:21 -04:00
Oz Linden 75722baf29 merge changes for latest viewer-development 2013-03-13 15:15:15 -04:00
Nyx Linden 1586107e87 SH-3944 WIP CHUI merge fixing
re-introduced don's refactor of low-level openGL calls pulling out of llui
and putting them into llrender. Took the new code from their updated versions
from the CHUI merge, but put them in a place accessible to appearance utility.
2013-03-12 22:34:15 +00:00
Merov Linden cb6574c905 CHUI-845 : Avoid some xml param parsing error that seems to be linked with crashers 2013-03-12 19:38:01 -07:00
prep 207d9fd767 Viewer-chui merge 2013-03-11 14:45:53 -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
Nyx Linden 11fe124ae9 merging in viewer-beta.
Most of the merge was clean, a couple conflicts.
Brought over a couple patches manually for llpolymesh.
2013-01-24 16:22:49 -05: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
Don Kjer c06c35609c Updating linux build to gcc4.6 2012-10-11 00:09:04 +00:00
Oz Linden 7632861fc4 STORM-1855: fix performance problem with pasting many lines in script editor 2012-09-18 12:54:32 -04:00
Don Kjer cf7eb79fa7 Removed most llappearance -> llui dependencies (LLTrans remains). Moved LLInventoryIcon::EIconName into LLInventoryType. Moved LLInventoryIcon back to newview. Moved LLUI gl_* functions into llrender. 2012-09-08 04:39:11 +00:00
Todd Stinson 3e038cd71b Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-release. 2012-07-27 12:53:54 -07:00
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
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
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
angela cfccf4d514 EXT-2780 allow_scroll = false in LLTextEditor will crash the viewer 2009-11-24 11:54:33 +08:00
angela b1a81afef6 add optional style params in setText function 2009-11-12 21:17:31 +08:00
Leyla Farazha d181b84dfd EXT-1478 Tool-tip background and border colors are being ignored
EXT-2082   	 Multifloater preview tab container extends outside window border
EXT-773   	 odd notecard behaviour on closing an unsaved notcard
reviewed by Richard
2009-11-10 17:10:47 -08:00
richard 0d9682113d EXT-1980 - Bottom bar buttons retain highlight
EXT-1936 - [BSI] Reversion - clicking on avatar name in group chat should bring up profile
also fixed buttons not working on avatar list in IM window

reviewed by Leyla
2009-10-30 11:43:45 -07: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 b4dd4a4d77 removed typo 2009-10-27 10:53:08 -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 977dd84534 tweaked clipping rect for scroll containers to not overlap vertical scrollbar
fixed reflow logic when resizing text editors that contain widgets (would make text appear and disappear)

reviewed by James
2009-10-26 14:25:45 -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
Richard Nelson ce5a5f84d5 ext-1670 - fix the chat history use of widgets
reviewed by leyla
2009-10-20 00:41:41 +00:00
Martin Reddy 7aa859b7f4 EXT-1566: Fixed another case of UTF-8 vs UTF-32 coding error for SLURL
parsing in text editors. Any time we are looking up segment start/end
ranges we should do this on a wide string.

Also added a convenience LLUrlRegistry::hasUrl() method to easily
determine if a string contains a valid SLURL.
2009-10-16 14:04:23 +00:00
Richard Nelson 5edb4f2171 removed requirement for specializing ParamCompare on boost::function types
eliminated usage of iterator_range from LLInitParam
made LLTextEditor::addChar consistent with truncate in counting text bytes (not including null terminator)
EXT-1494 - Avatar profile description text truncated to 255 characters

reviewed by Leyla
2009-10-15 19:56:45 +00:00
Richard Nelson fd846da06c only add LLScrollContainers to text widgets when requested, saving on LLTextBox construction time
combined clip and scroll attributes of text editors and text boxes...if you want to clip text, you need to introduce a scrollbar
moved clear to LLTextEditor so that text boxes won't empty out when calling LLPanel::clearCtrls()
EXT-1354 - added optional wrapping to LLTooltips...inspector tooltips don't wrap, everything else does
added LLFastTimer::reset call on application init to prime timers for pre-login timing
fixed tooltips positioning incorrectly due to mis-sized tooltipview
eliminated hide_scrollbar param for text editors

reviewed by Leyla
2009-10-08 01:48:50 +00:00
James Cook ada0f4fa22 Merge inspectors UI project, gooey-4, into viewer-2 trunk. Added new tooltips to 3D avatars, 2D avatar names, and 3D objects. Refactors tooltips and text boxes, line editors, and text editors. Breaks LLExpandableTextBox, but a fix is coming.
Resolved conflicts in lltexteditor.cpp, llchatitemscontainerctrl.cpp, llchatmsgbox.cpp, llfloaterbuycurrency.cpp, llnearbychat.cpp, floater_buy_currency.xml, and ru/strings.xml

Merging revisions 134925-135157 of svn+ssh://svn.lindenlab.com/svn/linden/branches/gooey/gooey-4 into C:\source\viewer-2.0.0-3, respecting ancestry
2009-10-03 23:40:28 +00:00
Steven Bennetts f05df68656 merge https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1868 https://svn.aws.productengine.com/secondlife/pe/stable-2@1876 -> viewer-2.0.0-3
* Bugs: EXT-1111 EXT-915 EXT-1131 EXT-1200 EXT-1202 EXT-1201 EXT-1205 EXT-1212 EXT-1173 EXT-1229 EXT-1218 EXT-1164 EXT-996 EXT-821 EXT-1030 EXT-1031 EXT-816
* Major Bugs: EXT-1142 (timeout during login due to processing group IMs)
* Changes: EXT-1216 (minimize message well)
2009-10-01 17:44:44 +00:00