summaryrefslogtreecommitdiff
path: root/indra/llui/tests
AgeCommit message (Collapse)Author
2010-06-03EXT-6333 FIX introduce new segments - LLLineBreakSegment and LLImageSegmentYuri Chebotarev
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/241/ --HG-- branch : product-engine
2010-05-26DEV-50271 FIX SLURL support for non-clickable display namesRichard Nelson
separate mIsLink from mLink to support non-clickable urls (e.g. secondlife:///app/agent/0e346d8b-4433-4d66-a6b0-fd37083abc4c/completename)
2010-05-26MergeJames Cook
2010-05-26Clean up llurlmatch test headersJames Cook
2010-05-26Fix mac build for llurlentry_test.cppJames Cook
2010-05-26Fix broken Mac build on llurlmatch_test.cppJames Cook
2010-05-25DEV-50271 FIX SLURL support for non-clickable display namesRichard Linden
revived mDisabledLink to make url replacement logic work again
2010-05-25MergeJames Cook
2010-05-25DEV-50013 WIP gCacheName->getGroup() to distinguish from av lookupsJames Cook
Helps with global finds looking for remaining calls to patch. Reviewed with Leyla.
2010-05-24DEV-50271 FIX SLURL support for non-clickable display namesRichard Nelson
2010-05-24DEV-50271 FIX SLURL support for non-clickable display namesRichard Nelson
reviewed by James
2010-05-13merge pull from dessie/viewer-public, picking up SLE codeJames Cook
2010-04-07Re-insert backed out SLE checkin so we can fix itRoxie Linden
2010-04-07Backed out changeset 63b699f90efdTofu Linden
2010-03-03Underlined display names now update reliably.James Cook
2010-02-18Preference to set what fields name tags display, andJames Cook
first attempt at "use display names" menu item which doesn't work yet
2010-02-11Fixed test build problemJames Cook
2010-02-11Created stub LLAvatarNameCache for display name lookup, asJames Cook
well as LLAvatarName base data object. Reviewed with Kelly.
2010-02-08Converted names build from avatar object LLNameValue pairs to SLIDJames Cook
Added temporary getDisplayName() to LLCacheName Moved temporary placeholder display names into LLCacheName Eliminated rarely used LLAgentUI::buildName in favor of buildFullName Standardized buildFullName capitalization
2010-02-03mergeJames Cook
2010-02-03Moved LLUrlEntryAgent back into llui library in prep for mergeJames Cook
2010-02-02DEV-32540: Lots of object IM and SLurl improvementsLynx Linden
- 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-01Support returning full_name (and SLID) for LLCacheName::get() callsJames Cook
Changed callback signature to full_name instead of first_name,last_name Eliminated all calls to legacy (non-signal/non-boost-bind) lookup mechanism Change Pay dialog names to SLURL links Tweaked layout of Pay Resident and Pay via Object floaters to make SLURLs fit Consolidate name first + " " + last concatenation in LLCacheName::buildFullName() Reviewed with Kelly
2010-01-29CID-299Tofu Linden
Checker: UNINIT_CTOR Function: LLUIColor::LLUIColor() File: /indra/llui/tests/llurlentry_test.cpp
2010-01-29CID-299Tofu Linden
Checker: UNINIT_CTOR Function: LLUIColor::LLUIColor() File: /indra/llui/tests/llurlmatch_test.cpp
2010-01-29EXT-4678: Support <nolink>...</nolink> to turn off URL hyperlinking.Lynx Linden
We are running into a bunch of places where we don't want to allow hyperlinking of URLs like secondlife.com in text boxes. I've therefore added a new type of URL regex that disables URL hyperlinking. Simply enclose the URL in a <nolink> tag, e.g.: <nolink>secondlife.com</nolink>
2010-01-22Pull llurlentryagent into newview so I can compile/link fasterJames Cook
2010-01-22LLCacheName and LLUrlEntryAgent now understand SLIDs - accountsJames Cook
with "Resident" as last name should not display that name. Also added test display names.
2010-01-15EXT-4125: Regexes hurt my head!Lynx Linden
Updated the regex to match a free URL in plain text with no http: protocol. This now explicitly does not match e-mail addresses, such as test@lindenlab.com (yay negative lookbehind regexes). It additionally matches URLs with a port or path after it, e.g., secondlife.com/status. I've added a bunch more unit tests to asset positive and negative matches for this regex, because no human can do this in their head.
2010-01-11DEV-44732: Added some unit tests for URLs with no protocols.Lynx Linden
2010-03-01Automated merge with a few fixups for code review commentsRoxie Linden
2010-02-26automated mergeRoxie Linden
2010-02-25automated mergeRoxie Linden
2010-02-25Automated mergeRoxie Linden
2009-10-16Group inspectors now work. They are hooked up to About Land, build tools ↵James Cook
floater, and anywhere secondlife:///app/group URLs appear. Reviewed with Leyla.
2009-10-03Merge inspectors UI project, gooey-4, into viewer-2 trunk. Added new ↵James Cook
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-09-23EXT-944 EXT-1026: reverting my previous fix for these crashes.Martin Reddy
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-22svn merge -c-134040 .Adam Moss
back-out my last commit - it fixed the build test, but the build still fails; I'll leave it alone...
2009-09-22a stab at fixing this test.Adam Moss
2009-09-22EXT-944 EXT-1026: converted the LLUrlRegistry::findUrl() method toMartin Reddy
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-14DEV-39188: Removed the custom support for secondlife:///app/events andMartin Reddy
secondlife:///app/classifieds URLs because we do not have handlers for these SLAPPs in 2.0. Added support for secondlife://<location/<x>/<y>/<z> URLs, in addition to the http://slurl.com SLURLs. Also optimized LLUrlRegistry:findUrl() so that it avoids lots of expensive regex calls when there is no URL in the text.
2009-09-07svn merge -r132705:132723 ↵Christian Goetze
svn+ssh://svn.lindenlab.com/svn/linden/branches/viewer/viewer-2.0.0-3-stable propagate the changes to make stabel build back down.
2009-09-04Merging the SLURLs Everywhere branch (viewer-2.0.0-slurls-3) intoMartin Reddy
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-07-09DEV-34822 - merge 1.23Roxanne Skelly
merge -r119443 - basic slurl handling ignore dead branch