Commit Graph

442 Commits (afdcd356db0a496e8916645eeebc8a03755ee0bd)

Author SHA1 Message Date
AndreyL ProductEngine 3175525950 Merged in lindenlab/viewer-release 2019-05-08 21:41:56 +03:00
AndreyL ProductEngine 93f0023efa Merged in lindenlab/viewer-release 2019-05-08 21:41:11 +03:00
andreykproductengine 9d2cb130e3 SL-11028 [Legacy Profiles] Selection in account field is malfunctioning 2019-04-25 23:03:18 +03:00
andreykproductengine 580b35c8ea SL-307 Display in-viewer all warning messages logged by the mesh uploader 2019-04-01 20:22:25 +03:00
AndreyL ProductEngine 09b750483a SL-10293 Firestorm PR: preferences and menu search 2019-01-03 22:59:49 +02:00
andreykproductengine b7c909367e MAINT-7267 Fixed UI missing last symbol of string on hi-res monitors. 2017-04-06 21:29:43 +03:00
Mnikolenko Productengine eddcb43851 MAINT-7224 Chat logs move down, leaving huge empty space 2017-03-21 16:18:23 +02:00
andreykproductengine 8ef99c38a5 MAINT-918 Newline was not displayed correctly in chat window. 2017-01-04 18:38:52 +02:00
andreykproductengine da23e0f925 MAINT-6726 Fixed LLLineEditor menus staying in memory forever 2016-09-13 20:32:34 +03:00
andreykproductengine ff118b7d21 MAINT-6720 Fixed onVisibilityChange() crash in LLTextBase 2016-09-12 17:45:12 +03:00
andreykproductengine d37003a631 MAINT-2129 signuls cleanup 2016-05-23 18:06:16 +03:00
andreykproductengine efa716b5fc MAINT-2129 "Block" button doesn't become disabled 2016-05-18 19:29:31 +03:00
Oz Linden 950c41d184 merge 4.0.4-release and MAINT-5974 2016-05-06 10:28:42 -04:00
Oz Linden 31f3db0291 merge changes for DRTVWR-417 2016-03-16 13:08:06 -04:00
andreykproductengine 230fc28d8a MAINT-6097 FIXED On required update, clicking link to release notes opens browser behind menu 2016-03-11 20:16:03 +02:00
Oz Linden 5822fb00b6 merge DRTVWR-398 build cleanup fixes 2016-03-07 12:41:11 -05:00
andreykproductengine c73d9e5c44 MAINT-5984 FIXED Incorrect cursor position with UI scale >1.0 2015-12-29 20:20:40 +02:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Oz Linden 69ff937e47 merge changes for 3.8.5-release 2015-10-13 08:43:03 -04:00
Mnikolenko ProductEngine 4ab4c6da02 MAINT-5463 FIXED Add hovertext to the official link badge in chat/IM, etc. 2015-08-10 11:15:50 +03:00
Oz Linden 71a468c6fb merge changes for other open sourc contributions 2015-07-30 11:09:00 -04:00
Mnikolenko ProductEngine 07020ffce0 MAINT-5428 FIXED Show tooltip for both parts of url. 2015-07-29 12:35:54 +03:00
AndreyL ProductEngine e62d5ea4e8 MAINT-5019 FIXED Undesired "http://" added to domains sent in chat
Completely removed matching of the URLs w/o a protocol
+ Some unit tests
2015-07-29 07:35:08 +03:00
Oz Linden 034fb74d05 merge changes for STORM-2113 2015-04-14 05:39:36 -04:00
Oz Linden a8ef252571 merge changes for 3.7.27-release 2015-04-13 16:23:36 -04:00
Cinder 5a282abe18 STORM-2113 - uri parsing cleanup and fixes 2015-04-11 15:23:06 -06:00
Oz Linden d6f7a16a68 merge changes for 3.7.26-release 2015-03-23 22:39:18 -04:00
Oz Linden 905431cf60 merge changes for 3.7.25-release 2015-02-24 15:48:28 -05:00
andreykproductengine dbafa3c358 MAINT-4975 FIXED Sender's name is hidden out of view for inventory offer popups and payment popups 2015-03-11 15:56:31 +02:00
Mnikolenko ProductEngine f097c731d6 MAINT-4169 ShowGreyQueryInUrls debug setting was removed and the grey part of the link always appears. 2015-03-04 13:10:58 +02:00
Mnikolenko ProductEngine bf51454223 MAINT-4169 FIXED grey out all but domain name in SL-links, same as it's done for non-Linden URLs 2015-01-09 12:10:32 +02: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
callum_linden 23711c9275 Rename llround(..) to ll_round(..) because of a collision with MS llround (long long round) in VS2013 2014-12-10 08:44:08 -08:00
andreykproductengine 389cba01c6 MAINT-3457 FIXED List of notecard content is shifted while resize of notecard window 2014-12-08 18:47:04 +02:00
maksymsproductengine 2b8827a55f MAINT-4169 FIXED Suppress initial display of the path portion of URLs from other users and scripts 2014-10-13 19:14:42 +03:00
maksymsproductengine 6ea75fd4b0 MAINT-4548 & MAINT-4557 FIXED build issues 2014-10-07 18:59:11 +03:00
maksymsproductengine a25748e11e MAINT-4119 FIXED Uniquely decorate links on Second Life or Linden Lab domains 2014-10-02 18:20:10 +03:00
maksymsproductengine dd8d2b59f7 MAINT-4170 FIXED Eliminate homoglyphs in URL hostnames: converting to lowercase links without scheme 2014-09-24 23:09:30 +03:00
maksymsproductengine 61e05f9125 MAINT-4170 Eliminate homoglyphs in URL hostnames: used 3p-uriparser; 2014-09-22 20:01:55 +03:00
andreykproductengine 7982ae6b91 MAINT-3967 FIXED Up arrow key does not move the cursor up in chat field.
Reverted previous two fixes and modified LLTextBase::changeLine()
2014-08-28 19:36:47 +03:00
andreykproductengine 208fe31200 MAINT-3967 FIXED Up arrow key does not move the cursor up in chat field.
Reverted previous two fixes and modified LLTextBase::changeLine()
2014-08-28 19:36:47 +03:00
Mnikolenko ProductEngine ae15e85e9f MAINT-3460 FIXED Dictionary doesn't exchange the mispelled word to correct one in a special case 2014-07-08 13:07:46 +03:00
simon bfa42c9e28 Merge downstream code and become 3.7.12 2014-07-07 16:17:53 -07:00
Cinder 8d2e0fb3a0 STORM-2035 - Invert the background color in script editors for highlighting sections. Since the background color can be changed by the user, this ensures distinctive highlighting 2014-06-20 13:43:31 -06:00
maksymsproductengine 7991fe96ec MAINT-3475 FIXED 'windows 64bit (?) crash in LLTextBase::getDocIndexFromLocalCoord' 2014-06-20 20:26:51 +03:00
simon d760a6889d Merge downstream code 2014-06-18 19:02:25 -07:00
Oz Linden e15002a11c merge changes for 3.7.9-release 2014-06-16 11:42:37 -04:00
maxim@mnikolenko 72dba8742c MAINT-4070 FIXED Use icon in urls when content is trusted. 2014-05-28 13:20:12 +03:00
maksymsproductengine 8b86130f25 MAINT-3967 FIXED Up arrow key does not move the cursor up in chat field. 2014-05-07 18:42:24 +03:00
Oz Linden a98b4b6bee merge changes for 3.7.7-release 2014-05-07 11:09:04 -04:00
Stinson Linden 001621dfc2 MAINT-4009: Patching a small memory leak for when menu items were being created before the viewer window initialization had created the menu holder. Also, added llasserts in other cases when referencing the menu holder to ensure the holder is non-null. 2014-05-05 23:24:34 +01: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
Oz Linden bd4f4ee793 logging cleanup in support of debugging text editor problems 2014-03-19 14:17:13 -04:00
Oz Linden d6fdc6e68f merge changes for 3.7.3-release 2014-03-14 16:38:12 -04:00
Oz Linden 3ee3d4a8f4 correct logging levels (ERR causes a crash), and a minor style fix 2014-03-14 16:19:21 -04:00
Richard Linden 5b846ed2a6 merge with release 2014-03-12 12:48:43 -07:00
simon cfadbe631f Revert earlier back-out for MAINT-535 ... it's back in 2014-01-10 13:15:19 -08:00
simon f291995dac Revert changes made for MAINT-535 to test in a release cohort. 2014-01-07 15:18:29 -08:00
Richard Linden 17e9c872ad Automated merge with http://bitbucket.org/lindenlab/viewer-release 2013-11-11 19:17:49 -08:00
Richard Linden 697d2e720b renamed TimeBlock to BlockTimerStatHandle 2013-10-15 20:24:42 -07:00
Richard Linden 80dfbbaacd merge from viewer-release 2013-10-08 11:59:24 -07:00
Richard Linden 17df8988fe renamed TraceType to StatType
added more MemTrackable types
optimized memory usage of LLTrace some more
2013-10-07 13:38:03 -07:00
Richard Linden 12f0f8cb72 changed over to manual naming of MemTrackable stats
changed claimMem and disclaimMem behavior to not pass through argument
added more mem tracking stats to floater_stats
2013-10-01 13:46:43 -07:00
Richard Linden 053d97db1b better memory usage for LLTrace (tighter packing of recording arrays)
removed complicated and unnecessary fast timer gapless handoff logic (it should be gapless anyway)
improved MemTrackable API, better separation of shadow and footprint
added memory usage stats to floater_stats.xml
2013-09-25 19:12:35 -07:00
Richard Linden 52da9f5f49 merge with viewer-release 2013-09-09 18:58:41 -07:00
Richard Linden cbe397ad13 changed fast timer over to using macro
another attempt to move mem stat into base class
2013-09-05 14:04:13 -07:00
simon 27d637d0f1 Merge downstream code from CHUIStorm release 2013-08-26 14:43:23 -07:00
Nicky e7bc0e6e63 BUG-3605 / CHUIBUG-197 Don't create excessive amounts of string objects in LLNormalTextSegment::getNumChars. 2013-08-14 01:00:41 +02:00
MaximB ProductEngine 3e934d5089 MAINT-3151 (Issue with urls being autoclicked when holding left click into an unfocused textbox then dragging pointer over a url and releasing.) 2013-09-23 09:14:53 +03:00
Mnikolenko ProductEngine 28339afa15 MAINT-535 'trust model' is added for secondlife:// URLs in wiki style links. Chat history is marked as untrusted source now. 2013-10-22 12:47:16 +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 8208a40412 BUILDFIX: reverted changes that attempted to automate mem track
stat definition as they don't work on gcc/clang
2013-07-01 18:50:51 -07:00
Richard Linden 04bdc8ba83 SH-4294 FIX Interesting: Statistics Texture cache hit rate is always 0%
also, removed LLTrace::init and cleanup
removed derived class implementation of memory stat for LLMemTrackable
is automatic now
2013-07-01 17:04:01 -07:00
mberezhnoy 2b8beeeff1 CHUI-809 (Right-click menu on user name in compat chat mode doesn't have "IM")
Fixed "Add friend" option always being greyed out, add ability to block object via context menu in compact chat mode.
2013-06-20 12:45:22 +03:00
mberezhnoy 882ab04ef3 CHUI-809 (Right-click menu on user name in compat chat mode doesn't have "IM")
Added callback for friendship checking
2013-06-13 20:21:24 +03:00
Richard Linden 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
PavelK ProductEngine 0ada8944ee CHUI-964 ADD FIX Oversized "To" input field hides actual IM text 2013-06-05 19:40:06 +03:00
Mnikolenko ProductEngine 3bbab5bb46 CHUI-957 FIXED Missing line was added. 2013-06-04 14:45:19 +03:00
Merov Linden 0b4b92cbbf Pull merge from lindenlab/viewer-release 2013-05-30 14:07:59 -07:00
simon 507ce0d84f Merge downstream code 2013-05-29 14:42:19 -07:00
Merov Linden 2113bb8159 Pull merge from viewer-release 2013-05-22 11:23:51 -07:00
Gilbert Gonzales 892f3cdd2c CHUI-967: fix display of % escapes in chat 2013-05-22 06:26:54 -04:00
Richard Linden 41b4374760 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
renamed LLView::handleVisibilityChange to onVisibilityChange to reflect
standard naming conventions for handlers vs. reactors
2013-05-10 17:57:12 -07:00
simon ee2fce8790 Merge downstream code and viewer-beta 2013-05-09 14:10:45 -07:00
Merov Linden 043f2e0bfd Pull from viewer-release 2013-05-02 14:09:40 -07:00
Merov Linden 5cf1c9bfe1 CHUI-845 : Make changeLine() a bit more resistant to unforseen line count values (i.e. 0) and a bit more general 2013-04-24 17:26:09 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
simon b42b789723 Merge in downstream code (chui fixes, materials) 2013-04-11 16:18:34 -07:00
Mnikolenko ProductEngine 3c2c897cac CHUI-916 FIXED Clear mMisspellRanges if spell check is not needed. 2013-04-12 20:27:28 +03: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
maksymsproductengine da8f2ffb16 CHUI-855 FIXED Text entry bar auto expand does not resize 2013-03-28 04:52:24 +02:00
Gilbert Gonzales 04372382d6 CHUI-846 ([crashhunters] crash in LLFontGL::maxDrawableChars): Added logging for bug to further track down problem when it occurs. Need to debug further based off information. 2013-03-26 00:29:53 -07:00
prep@lindenlab.com f2948cb1eb Merge with viewer-chui 2013-03-20 17:53:51 -05:00
Simon Linden d5561a1ada Merge in viewer-beta to get CHUI code 2013-03-19 16:20:53 -07:00
merov c294c7c474 CHUI-863 : Clean up dead code that's creating failures on gcc-4.6 builds on Linux 2013-03-16 16:09:50 -07:00
Don Kjer 9150757c81 More fixes for gcc-4.6 breakage 2013-03-13 21:01:50 +00: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
Graham Madarasz e8b8a12b73 Mods to make compile on gcc 4.6.3 work mo betta 2013-03-12 10:48:05 -07:00
Merov Linden c594e84865 Pull merge from lindenlab/viewer-chui 2013-03-12 19:40:00 -07: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
Mnikolenko ProductEngine d81226f170 CHUI-809 FIXED Changes in menu items to make them consistent. Do not start IM if selected person is self. 2013-03-12 15:38:10 +02:00
mberezhnoy 5957f1da91 merge 2013-03-07 22:13:15 +02:00
mberezhnoy 8e924c8505 CHUI-823 ([CHUIBUG]Triple-clicking on the scroll back button in the CHUI causes all the conversation to be selected) 2013-03-07 13:49:29 +02:00
Richard Linden f07b9c2c69 renamed LLTrace stat gathering classes/methods to make the structure of LLTrace clearer
Count becomes CountStatHandle
Count.sum becomes sum(Count, value), etc.
2013-03-06 11:08:25 -08:00
Mnikolenko ProductEngine 477920b138 CHUI-809 FIXED "Start IM" menu item is added 2013-03-05 15:40:31 +02:00
Mnikolenko ProductEngine 4b43672690 CHUI-751 FIXED Triple click is now handled. 2013-02-11 15:22:24 +02:00
maksymsproductengine 46294bdcac CHUI-731 FIXED Viewer crashed while deleting text from IM message 2013-02-08 19:54:34 +02:00
Richard Linden cbff0e7ab8 SH-3468 WIP add memory tracking base class
attempted fix for gcc compile errors
can't use typeid() on a class that doesn't have a method
defined in a translation unit
fix is to force classes deriving from LLMemTrackable to
use their own static member named sMemStat
2013-01-04 13:48:35 -08:00
Richard Linden 1f56e57008 SH-3468 WIP add memory tracking base class
created memory tracking trace type
instrumented a few classes with memory tracking
2012-12-18 00:58:26 -08:00
William Todd Stinson 0356ef61cf CHUI-243: Add calls the parent class's implementation for onFocusReceived() and onFocusLost() to ensure that the focus change messages are properly propagated. 2012-10-19 16:21:35 -07:00
Gilbert Gonzales 49ad7fd4b5 CHUI-410: Post code review submit, changed useLabel() to return bool instead of BOOL. Adjusted code accordingly. 2012-10-17 17:52:10 -07:00
Gilbert Gonzales 05a72687d8 CHUI-410: Now when a converation floater is focused the default text 'To <Some User>' displays only when the text input field is empty. 2012-10-17 14:55:36 -07:00
Todd Stinson 3e038cd71b Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-release. 2012-07-27 12:53:54 -07:00
Paul ProductEngine 9ab042dd1d CHUI-196 FIXED (Chat text entry area gets resized unexpectedly with certain user display names)
- Fixed label length calculating
2012-07-06 17:49:02 +03:00
Paul ProductEngine a7831406ab CHUI-180 FIXED (Started an ad hoc IM spams log with drawtext warning)
- Don't draw TextBase context if it's empty and in focus
2012-06-27 18:52:08 +03:00
Dave Parks 9e9d32de38 merge 2012-06-22 14:04:33 -05:00
Oz Linden 4397516ca5 merge changes for DRTVWR-168 2012-06-21 17:50:41 -04: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
Todd Stinson 32063b5999 EXP-1953: Altering the behavior of building an LLTextBase such that icons are appended in place rather than prepended out of context. 2012-06-12 16:58:59 -07:00
Kitty Barnett 80b1a2c0a8 STORM-276 Insert braces around if/for/while loops 2012-06-11 13:39:45 +02:00
Kitty Barnett 34e7226ac8 STORM-276 FIXED Squiggles overflow line editor height when font size is set to large
- Also reduced squiggle width from 6 to 4 and prevented running past the end of a word
2012-05-15 13:13:44 +02:00
Oz Linden 95090c5d1e merge changes for version 3.3.1 2012-05-08 15:51:56 -04:00
Nat Goodspeed 0249a0d1e7 Automated merge with http://hg.secondlife.com/viewer-release 2012-04-26 14:07:09 -04:00
Kelly Washington 6d3be57d33 SEC-995 FIX viewer is easily spammed to death by chat
removed a couple more unnecessary string copies from unfortunate LLSD behavior.
reviewed with simon, post review from Richard.
2012-04-25 11:26:54 -07:00
Richard Linden 4472354b54 SEC-995 FIX viewer is easily spammed to death by chat
removed unnecessary string copies from chat message handling
2012-04-23 18:48:43 -07:00
Richard Linden 11c53b444d EXP-1884 FIX Errors in navigating text when editing Landmarks and picks once a vertical scrollbar is shown
fixed horizontal scrollbar showing up in local chat
2012-02-15 18:12:26 -08:00
Richard Linden 6a6cf3aa78 EXP-1884 FIX Errors in navigating text when editing Landmarks and picks once a vertical scrollbar is shown 2012-02-10 16:35:22 -08:00
Richard Linden aa345bd8f3 EXP-1874 FIX Unexpected scrollbar in text notification 2012-02-09 17:14:37 -08:00
Kitty Barnett 9c792e3376 STORM-276 FIXED Misspellings that span multiple lines don't have their squiggly lines drawn correctly 2012-02-14 22:33:28 +01:00
Kitty Barnett c34b440fec STORM-276 FIXED Typing in an LLTextEditor freezes the viewer 2012-02-14 21:57:58 +01:00
Leslie Linden ba32b72a9e Mac build fix -- added missing enumeration from switch 2012-02-06 16:20:38 -08:00
Richard Linden e854db0645 EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local Chat
EXP-1854 FIX Text positioning in mini inspector a couple pixels too low
2012-02-03 19:04:36 -08:00
Kitty Barnett 49e0c38ee8 STORM-276 Added preferences panel 2012-02-03 19:45:00 +01:00
Kitty Barnett a9d1121977 STORM-276 Added spellcheck functionality to the LLTextEditor control 2012-02-03 15:20:34 +01: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
Richard Linden cf02780ddf EXP-1513 WIP Underscore ( _ ) fails to show in first chat entry in Local Chat
cleaned up font positioning on buttons
2012-01-27 17:48:08 -08:00
Richard Linden 1b1ad93c5d EXP-1512 FIX changing UI size changes cursor position in notecards
fixed case where adding text between 2 consecutive newlines created gibberish
2012-01-03 12:21:30 -08:00
Richard Linden 0aa2c7343a EXP-1512 FIX changing UI size changes cursor position in notecards 2011-12-08 20:36:47 -08:00
Dave Parks 8a8e9ccdb6 SH-2652 Don't allocate 6000+ strings every frame 2011-11-04 16:15:05 -05:00
Seth ProductEngine aad5943ab0 STORM-1234 FIXED text editor selection which was skipping the last character in line.
Added handling of the wrapped lines case when calculating the starting position for selection.

The bug is a regression caused by the fix of STORM-320 which was dealing with calculating the position of the input cursor while navigating through the lines of text with word wrapping enabled.
2011-07-14 23:46:27 +03:00
Richard Linden 2595d53ded Automated merge with http://hg.secondlife.com/viewer-development 2011-05-25 18:14:55 -07:00
Richard Linden a8405dea54 EXP-829 FIX Text Box Alignment bug
EXP-755 FIX [PUBLIC] 'Search' and 'World Map' links in Sidebar are unclickable

fixed issues with UI scaling and text layout as well as incorrect text editor rect transforms


reviewed by Callum
2011-05-25 18:10:58 -07:00
brad kittenbrink b3dddbf30b Fix for error in debug build accessing beyond the end of a vector.
reviewed by davep.
2011-05-12 16:09:29 -07:00
Dave Parks a25f898703 merge 2011-05-02 14:52:12 -05:00
seth_productengine 2147889a2e STORM-320 FIXED navigation with arrow keys through the text with enabled word-wrapping. 2011-04-20 01:17:41 +03:00
Seth ProductEngine c94d687539 STORM-721 FIXED Fix for text clipping in a textbox without a scroller.
Committed on behalf of Richard Linden:
This patch makes clipping work consistently with text and embedded widgets. The widgets will only be displayed if the corresponding text they are embedded in is displayed.  There is also a new param "clip" for text widgets that can be used to disable clipping entirely.  I introduced this as a potential work around due to the fact that we *used* to assume that text was never clipped in the vertical direction unless we had scrolling turned on.  This hasn't been the case for over a year, but now we can selectively turn off vertical text clipping with (clip="false") if we have to.
2011-04-10 00:31:52 +03:00
Dave Parks 3b5d6eed12 merge 2011-04-19 14:55:11 -05:00
Loren Shih 6a59861bde Automated merge up from viewer-development 2010-12-07 14:56:36 -05:00
Paul Guslisty e997a09343 STORM-593 FIXED Make transparent texteditor and lineeditor
Reason: If some child of transparent LLFloater has a visible non-transparent background then this part of floater is non-transparent. As a result floater became partially transparent.

Solution: When transparent floater changes focus, iterate through its children and set corresponding (corresponding to whether control in active or in inactive floater see STORM-535) transparency value.

- Added method LLUICtrl::getCurrentTransparency. This method calculates transparency level of a control. Calculated value should be used as an alpha chennel value in case we want this control to be transparent. For now this method is used by LLFloater to adjust transparency of its children.

- Added calculating of transparecny level for: LLLineEditor, LLTextBase, LLinventoryListItem, LLScrollContainer, LLScrollListCtrl, LLAccrodionCtrlTab.

- Added method LLFlaoter::updateChildrenTransparency which updates transparency value of its children
2010-11-24 19:12:02 +02:00