Commit Graph

45 Commits (edcd835febac3758d1522b4ec51bba60eeafcd63)

Author SHA1 Message Date
richard edcd835feb fixed line numbering in script editors 2009-11-25 19:14:55 -08:00
richard 617ca79ed0 forgot to apply resize fix for when text is selected
EXT-1995 - [BSI] Get rid of the *blop* sound when a textbox contains more text than displayable
2009-11-25 18:55:15 -08:00
richard cdb2232284 created container for LLFloaterView for future z-swapping with sidetray
floaters can now overlap sidetray
fixed text selection background color to be inverse of text fg color
EXT-2713 	Script editor automatically scrolls to the top of script text when text is longer than the window.

reviewed by James
2009-11-25 18:24:39 -08:00
Steve Bennetts 9e2d78aca1 Merge from product-engine 2009-11-24 12:42:14 -08:00
Mike Antipov 0ef5b128aa Work on critical sub-task EXT-2615 (IM Chat History is severely broken)
-- Improved calculating of the LLTextBase::mContentsRect to take into account "left" coordinate.
	Previous implementation just ignored it.

--HG--
branch : product-engine
2009-11-24 13:17:19 +02:00
richard dc88effc24 fix for infinite loop when doing /me emotes
reviewed by Mark
2009-11-23 11:44:03 -08:00
angela 496ad115b1 Fix EXT-2645 Ensure link colors applied consistently to all text sources 2009-11-20 09:47:47 +08:00
richard d2fe3e8089 merge 2009-11-17 14:37:55 -08:00
James Cook a2041387b1 Fix broken URL highlighting in local chat, broken in 5068 : ce08ac445035. Typo, not reviewed. 2009-11-17 10:02:01 -08:00
angela 0098bf40ea undo the changes for LLStyle params; add sizeFromFont in LLFontGL ; use font.style, font.name and font.size params for font creating 2009-11-17 16:33:49 +08:00
angela 1baf1d2186 fix chat format for /me 2009-11-16 20:46:40 +08:00
richard 890da1d391 fix for layout of urls with icons 2009-11-13 16:50:17 -08:00
angela ff09b049a7 merge 2009-11-12 21:36:34 +08:00
angela b1a81afef6 add optional style params in setText function 2009-11-12 21:17:31 +08:00
Vadim Savchuk db3991ca23 Merge from default branch
--HG--
branch : product-engine
2009-11-11 22:55:32 +02:00
richard b34ee7f9f4 merge 2009-11-11 12:21:23 -08:00
richard fedf86c216 fix wrapping of text segment containing multiple newlines and ending on a newline
reviewed by leyla
2009-11-11 12:01:57 -08:00
Vadim Savchuk 2fd51b4c71 Manual merge.
Resolved conflicts in panel_bottomtray.xml and llavataractions.cpp.

--HG--
branch : product-engine
2009-11-11 21:11:54 +02:00
Yuri Chebotarev 8523d2d5b6 fix for normal bug EXT-2303 Distinguish Object-generated Nearby Chat from other Nearby Chat
--HG--
branch : product-engine
2009-11-11 17:05:36 +02: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 83fb99a9ac ext-2038 - script editor, cursor becomes stuck in some rows
ext-2037 0 Script editor, garbage characters inserted in text
2009-11-04 18:28:45 -08:00
richard 5bcd24a01d merge 2009-11-04 10:42:23 -08:00
richard 0ee426016a added newline at end of llbutton.cpp
removed non-localized, invisible labels from scrollbar and tab container arrows
EXT-1626 - there is text overlaping in group info mini inspector

reviewed by James
2009-11-04 10:37:13 -08:00
Lynx Linden 00e56b0907 DEV-41358 DEV-41361: Added support for secondlife:///app/worldmap
SLurls to the LLUrlRegistry. These are now displayed with the more
human-readable label of "Show Map for XXXX" and sport a context menu
with various operations.

I also added "Show on Map" options to the context menus for other
location-based SLurls.

I also internationalized the text for "Teleport to" and the new "Show
Map for" strings.
2009-11-03 19:08:11 +00:00
richard b82bda605d EXT-2018 PRofile "Real World" descripton scrolls before showing "More" link
EXT-2011 titles of IM sessions aren't aligned to center
EXT-3025 Pick's description overlaps picks name
also moved tool tip param default to tool_tip.xml
also made default param<const LLFontGL*> be SansSerif

reviewed by Leyla
2009-10-30 17:46:01 -07:00
richard da58b59217 ext-1483 - Scrollable lists in side panel can sometimes get stuck
apparent XUI error
Also fixed terminating newlines in text editors not flowing to next line

reviewed by Leyla
2009-10-28 15:21:23 -07:00
richard 6e8c5d206e fix for layout updates of chat history
update document rect twice
increased right padding of inline widgets
2009-10-28 12:33:25 -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 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 12c38ccd6a Ext-1110 - Unable to select whole text by mouse in the text widget 2009-10-22 18:09:07 -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
Richard Nelson f8997965eb fixed first click on SLURL not spawning inspector by handling mouse down when clicking on url
reviewed by Mani
2009-10-16 01:49:34 +00:00
Richard Nelson fd312d1929 improved metrics for llfontgl::getWidth (use greater of character width/xadvance)
llfontgl::Addchar now called consistently when requesting font metrics
no longer possible to have font glyph info without rendered font

EXT-1294 - LLExpandableTextBox: wrong ellipses

reviewed by James and Mani
2009-10-14 20:16:18 +00:00
James Cook b10122ffdc EXT-1475 No scroll bar in IM window, About dialog, etc. LLTextBase was hiding scroll bars by default. Reviewed with Richard. 2009-10-14 17:24:27 +00:00
Steven Bennetts 20e56a6925 merge https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1992 https://svn.aws.productengine.com/secondlife/pe/stable-2@2004 -> viewer-2.0.0-3
* Bugs: EXT-1091 EXT-1418 EXT-996 EXT-1150 EXT-1188 EXT-1417 EXT-1181 EXT-1058 EXT-1397 EXT-836 EXT-1437 EXT-1379
* Dev: EXT-1291 EXT-1255 EXT-992 EXT-96 EXT-1157
2009-10-13 16:25:48 +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
Richard Nelson 14d06ebe95 made "more" link in LLExpandableTextBox localizable
fixed logic for showing/hiding "more" link in LLExpandableTextBox
fixed invisible background on combobox popup list

reviewed by Leyla
2009-10-06 01:25:47 +00:00
Richard Nelson 606311b508 text boxes are now *not* mouse_opaque by default
fixed some textbox and text editor layout problems (getWidth called with wrong index)
EXT-1302 - rewrite LLExpandableTextBox to use new LLTextBase functionality (using custom LLExpanderSegment)

reviewed by James
2009-10-05 20:53:51 +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
Richard Nelson afcdda2e36 EXT-904 Build tools does not show tooltips on any checkbox
EXT-877 	There is no tooltip with a date for Time indicator in Nav bar
EXT-860 	Crosshairs and "Press ESC to..." warning are dislocated in mouselook mode when UI Size is not exactly set to 1.00 (Menu Me -> Preferences-> Graphics)
EXT-783 	Script editor inserts text twice when using the editors paste, or choosing LSL elements from the pull-down list.
EXT-764 	mis-location of cursor in edit script panel (fixed cursor width)
EXT-658 	Inventory window's "Fetched Items" needs spacing

reviewed by James
2009-09-23 22:25:18 +00:00
Martin Reddy 47abd55908 EXT-944 EXT-1026: reverting my previous fix for these crashes.
This didn't work on Windows because wchar_t is 2 bytes on that
platform, not 4 bytes (whereas llwchar is 4 bytes everywhere).
Boost's regex methods need to work on wchar_t, but I believe
that using a UTF-16 string would still be prone to crashing on
Windows as UTF-16 is still a variable-length encoding. Besides,
trying to compile a UTF-16 solution generates weird link errors.

Instead, I'm going to fix this problem a different way. And
I'm starting by reverting the previous attempt. Thanks Win32.
2009-09-23 13:57:06 +00:00
Martin Reddy 12762053e5 EXT-944 EXT-1026: converted the LLUrlRegistry::findUrl() method to
work on an LLWString instead of a std::string, so that we don't have
to worry about character offsets for variable-length-encoded UTF-8
strings.

This was causing crashes whenever we would try to show a textbox with
a URL and foreign characters (> 1 byte chars). Damn, I suck!
2009-09-22 18:00:16 +00:00
Richard Nelson 58bce2d205 merge -r132032-132812 svn+ssh://svn.lindenlab.com/svn/linden/branches/gooey/gooey-1 2009-09-09 01:26:44 +00:00
Martin Reddy 330840af7c Merging the SLURLs Everywhere branch (viewer-2.0.0-slurls-3) into
Viewer 2.0 (viewer-2.0.0-3). This provides support for clickable Urls
in text editors and textboxes, with right-click context menus,
tooltips, and alternate link labels. This includes alert boxes, the
login progress window, local chat and IM interfaces, etc. As well as
context menus for avatars and groups in list widgets. Includes fixes
for the following individual JIRAs:

DEV-8763 VWR-10636: Hyperlinks in alert dialogs should be selectable (clickable)!
DEV-38829 EXT-742: Remove LLLink class
DEV-35459 VWR-14679: SLURLs and teleport Links not parsed properly
DEV-19842 VWR-8773: Closing parenthesis ")" breaks urls
DEV-21577 VWR-9405: In-world SLURLs containing "(" or ")" are not treated as a hyperlink in chat
DEV-37652 SEC-435: Object Chat/IMs are untraceable (VWR-2388) Fix has left flaw
DEV-10353: URLs in chat log terminated incorrectly when newline in chat
DEV-2925: In chat history, use a teleport hyperlink as source name for object IMs
DEV-36192: Need a way to copy Avatar names and Group names
DEV-2926: Allow viewer hyperlinks to have different text than the actual url
DEV-27253: Add easy way to copy URLs from viewer chat
DEV-38274: Make About Second Life window use new Url hyperlinking features
DEV-39076: No url support in Text Editors
DEV-7476 VWR-2172: Add hyperlinks to chat console for easier access
DEV-7475: Add hyperlinks to notecards!
DEV-35375 EXT-128: HTTPS urls aren't loaded in the internal browser by click

Master JIRA issues: DEV-32819, DEV-323820, DEV-7474

Testing performed against QAR-1789

svn merge -r 131623:131889 svn+ssh://svn.lindenlab.com/svn/linden/branches/viewer/viewer-2.0.0-slurl-3
svn merge -r 131978:132515 svn+ssh://svn.lindenlab.com/svn/linden/branches/viewer/viewer-2.0.0-slurl-3
2009-09-04 12:11:27 +00:00