Commit Graph

813 Commits (bbfc0e47196ecbae8d89e7b721a61ba5eeaaa2b7)

Author SHA1 Message Date
Eugene Mutavchi ea9185e0dc Fixed linux build error - added skipped newline at end of file
--HG--
branch : product-engine
2010-02-10 13:37:49 +02:00
Dmitry Zaporozhan f8aa91dccb Fixed function name.
--HG--
branch : product-engine
2010-02-10 12:10:43 +02:00
Dmitry Zaporozhan 1129c7252a Fixed normal bug EXT-4817 - Preferences > Chat > Alert color preference is broken
--HG--
branch : product-engine
2010-02-09 18:51:33 +02:00
Mike Antipov e61f9d6465 Merge
--HG--
branch : product-engine
2010-02-09 10:19:17 +02:00
Paul Guslisty e788930172 Fixed normal bug EXT - 4878 (Tab labels are no longer obeying halign attribute)
--HG--
branch : product-engine
2010-02-09 10:06:52 +02:00
Tofu Linden 3ab0c3238b PE merge. 2010-02-08 18:14:57 +00:00
James Cook e0f6dc33ab Tweak avatar name icon padding 2010-02-08 09:11:27 -08:00
Paul Guslisty acc0a2962b EXT - 3232 Refactoring: deleted unnecessary image_left_padding, image_right_padding members from button.h and button.xml and their the only place usage in LLTabContainer::reshapeTuple . Now image overlay placement adjustible via: mLeftHPad, mRightHPad, mImageOverlayBottomPad, mImageOverlayTopPad, mImgOverlayLabelSpace
--HG--
branch : product-engine
2010-02-08 19:09:23 +02:00
Paul Guslisty 7199c9cc1b EXT-3232 Refactoring: Improved the way of horizontal alignment of button's image overlay. Now mLeftHPad/mRightHPad is used instead of mImageOverlayLeftPad and mImageOverlayRightPad. Also mImgOverlayLabelSpace/imgoverlay_label_space members was added to button.(h/xml) to define space between image overlay and button's label
--HG--
branch : product-engine
2010-02-08 18:05:48 +02:00
Paul Guslisty 93bd065356 Fixed normal bug EXT - 3835 ([BSI] tabs in instant message floater should never change sizes)
--HG--
branch : product-engine
2010-02-08 15:21:24 +02:00
Tofu Linden a4d224ff93 EXT-5055 LLInstanceTracker promotes some dangerous patterns - detect them 2010-02-06 21:38:57 +00:00
Monroe Linden 68ea862c96 Fix for EXT-4943 (Text editor is broken).
Reviewed by Richard.
2010-02-05 15:51:49 -08:00
richard 7735ef557d line ending conversion 2010-02-05 13:24:05 -08:00
richard 124d8e63f7 newlines fixed 2010-02-05 13:22:46 -08: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
Sergei Litovchuk 95147c4529 Implemented critical task (EXT-4703) Add maturity icons to the Viewer 2 toolbar.
- Added maturity icons to location bar.
- Added getting font used in LLLineEditor.

--HG--
branch : product-engine
2010-02-05 19:15:12 +02:00
Paul Guslisty 77b5a39cc1 Fixed normal bug EXT - 3232 (Make button image overlay placement adjustable via xml)
--HG--
branch : product-engine
2010-02-05 17:34:50 +02:00
Eugene Mutavchi 782cb6ee87 Fixed normal bug EXT-4702 (Elements of type context_menu cannot have font set in XUI xml)
--HG--
branch : product-engine
2010-02-05 17:09:22 +02:00
Vadim Savchuk 312f5553ae Merge from default branch
--HG--
branch : product-engine
2010-02-05 15:12:54 +02:00
Ychebotarev ProductEngine cc0895b900 a bit more on EXT-2753.
--HG--
branch : product-engine
2010-02-05 13:20:12 +02:00
Ychebotarev ProductEngine a69a85544f merge
--HG--
branch : product-engine
2010-02-05 13:04:29 +02:00
Ychebotarev ProductEngine b79b8f87a3 finished with EXT-2753 - Implement Avatar icons on IM multifloater tabs
add floater flashing, fix group icon sizes, fix click,some code cleanup, ect.
also I remove mIconCtrlWidth/Height since its kinda useless - mIconCtrlPad do the same thing...
IconSize will be btn_height-2*mIconCtrlPad - simple and good enough.

--HG--
branch : product-engine
2010-02-05 13:03:26 +02: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
Ychebotarev ProductEngine bc5ad04d61 applying patch for EXT-2357
--HG--
branch : product-engine
2010-02-05 09:41:54 +02:00
Tofu Linden 367fda833c PE merge. 2010-02-05 06:21:09 +00:00
James Cook 92ac993287 Fix placement of icon next to linked agent/group names.
Suppresses rendering of text in LLNormalTextSegment that represent an icon,
properly computes vertical spacing based on font height, and adds padding
to the right of the icon.
(transplanted from 33be702e47c359ccaeb47f251e10753fd173cc09)
2010-02-04 22:19:15 -08:00
Tofu Linden bb977a194f PE merge. 2010-02-08 13:59:20 +00:00
Tofu Linden 8eba0c4029 Add some asserts to catch some null derefs that, at least, the render-pipeline code seems to be hitting. 2010-02-08 13:20:03 +00:00
Eugene Mutavchi 3f0762f65a Fixed normal bug EXT-4307 (There are no text context menues for Search text field and for IM text field)
--HG--
branch : product-engine
2010-02-04 20:40:30 +02:00
richard fed6c9eb0f merge 2010-02-04 10:26:07 -08:00
richard 1bc67a9d72 EXT-4625 - Chat bar doesn't display trailing character on some strings
reviewed by Leyla
2010-02-04 10:25:31 -08: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
Mike Antipov 667ae0b9a3 Fixed critical bug EXT-4845 (Create padding around text messages in the side tray panels)
- moved "No Items" textbox params to widget (flat_list_view.xml)
- set default vertical/horizontal padding to 10 px
- they can be overridden in panel's xml if necessary.

--HG--
branch : product-engine
2010-02-04 15:54:56 +02:00
Tofu Linden bf18e798c5 CID-405
Checker: UNUSED_VALUE
Function: LLNormalTextSegment::drawClippedSegment(int, int, int, int, LLRectBase<int>)
File: /indra/llui/lltextbase.cpp
2010-02-03 21:13:37 +00:00
Tofu Linden 69a36cb5ce PE merge. 2010-02-03 19:27:15 +00: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
Tofu Linden 18af41157d CID-342 UNINIT_CTOR
--HG--
branch : product-engine
2010-02-03 17:54:59 +00:00
Eugene Mutavchi 8c1618ca5a Fixed major bug EXT-4876 (Switch from slurl.com to maps.secondlife.com)
--HG--
branch : product-engine
2010-02-03 19:38:12 +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
Tofu Linden 7ba025b625 merge. 2010-02-02 18:19:36 +00:00
Denis Serdjuk 1da3feec8b merge
--HG--
branch : product-engine
2010-02-02 20:11:57 +02:00
Lynx Linden f937153a01 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2010-02-02 17:20:01 +00:00
Lynx Linden e563a07659 DEV-32540: Lots of object IM and SLurl improvements
- Don't let object names that are URLs override links to display the
  remote object inspector

- Don't hyperlink the object name in the remote object inspector

- Made the <nolink>...</nolink> regex more robust and made it support
  non-URLs between the tags, so that we don't get random <nolink> tags
  when trying to disable URLs in user-typed text.

- Improved the llurlentry unit test and added some more test cases.

- Hooked up another LLViewerMessage code path to objectim SLapps to
  pass down the owner and slurl information.

- Made a few LLUrlEntryBase methods be const methods, because they are

- Fixed a bug in the remote object inspector where it would never show
  the teleport URL.
2010-02-02 17:19:14 +00:00
Denis Serdjuk 47162acede no ticket. Removing the hack from llfloater.This code is dangerous. It involved losing of topctrl in focusmgr and can cause strange bugs and problems.
--HG--
branch : product-engine
2010-02-02 14:49:58 +02:00
Ychebotarev ProductEngine 371885c373 fix for normal EXT-4810 Block hot-keys in mouse-look mode
--HG--
branch : product-engine
2010-02-02 14:35:37 +02:00
Dmitry Zaporozhan 38315a063d Fixed normal bug EXT-4740 - Object inspector hides however context menu present
--HG--
branch : product-engine
2010-02-02 14:25:31 +02:00
Monroe Linden 4ad357ec70 Fixes for EXT-4689 (Long-word chat spam cripples fps and/or disconnects client)
Removed some unnecessary string copies in LLTextBase and LLNormalTextSegment by changing getWText() to return const LLWString& (instead of LLWString), and storing the result in a const LLWString& instead of an LLWString in places where the string doesn't need to be modified.

Made LLTextViewModel::getDisplay() also return const LLWString& instead of LLWString.

Removed a couple of unused local string variables in LLTextBase (the compiler flagged these after converting the local copies to const LLWString&).
2010-02-01 17:51:30 -08:00
richard 08adb4cfed merge 2010-02-01 13:50:35 -08:00