summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
AgeCommit message (Collapse)Author
2010-07-26EXT-8010 FIXED Implemented special behaviour of avatar links.Andrew Dyukov
Avatar links are now underlined only on hover. Also they have the same color as other links. - Underlining text and getting it back to normal are done in handleHover() and draw() of new LLOnHoverChangeableTextSegment class derived from LLNormalTextSegment. This class has two pointers to styles- one for style which will be used for text on hover, and another otherwise. This special type of text segment is used if link's boolean member mUnderlineOnHoverOnly is true. So it is URL's flag depending on which textbase adds new text segment(like it currently happens with mDisabledLink). - Changed avatar link color in colors.xml to emphasis (because it was white before and was inconsistent with other links). Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/749/ --HG-- branch : product-engine
2010-07-06Merge from dessie/viewer-releaseLeyla Farazha
2010-07-02EXT-5692 FIX Add callback to create widget segment with LLAvatarIconCtrl (or ↵Yuri Chebotarev
LLGroupIconCtrl) based on url match id. reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/610/ --HG-- branch : product-engine
2010-05-26DEV-50271 FIX SLURL support for non-clickable display namesRichard Nelson
std::multimap::find does *not* return an iterator just to the matching results, use std::multimap::equal_range instead
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-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-20DEV-50013 Tooltip for SLAPP agent inspect linksJames Cook
Reviewed with Erica (language) / Leyla (code)
2010-05-18Rename mSLID to mUsername to match the name of the field in the UIJames Cook
Product made a late-breaking request to change the name of this field. The wire protocol for People API has not yet changed.
2010-05-13merge pull from dessie/viewer-public, picking up SLE codeJames Cook
2010-05-11Clean up merge-fight about getIcon() const-nessJames Cook
2010-05-11merge from dessie/viewer-public right before SLE code landedJames Cook
2010-05-04Automated mergeRoxie Linden
2010-04-29DEV-49489 Display name support in URL-style name widgets, alsoJames Cook
Fixed problem where labels like "Mute John Smith" were not being applied when the name was not in cache.
2010-04-28Remove prototype support for badges next to avatar namesJames Cook
Easy to reimplement if we decide we want to do it.
2010-04-23Related to normal bug EXT-6302 (TP requests need to display destination ↵Eugene Mutavchi
region maturity) - added displaying maturity rating with an icon. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/229/. --HG-- branch : product-engine
2010-04-07Automated mergeRoxie Linden
2010-04-07Re-insert backed out SLE checkin so we can fix itRoxie Linden
2010-04-07PE merge from pe-viewer-trunkTofu Linden
2010-04-07mergeTofu Linden
2010-04-07Backed out changeset 63b699f90efdTofu Linden
2010-04-02Fixed normal bug EXT-6348 (SLapp world map location does not display the ↵Eugene Mutavchi
correct region) - fixed displaying the world map location for escaped SLapp urls. Reviewed by Vadim Savchuk, https://codereview.productengine.com/secondlife/r/173/. --HG-- branch : product-engine
2010-04-02Manual merge from default branch.Vadim Savchuk
Resolved a conflict in indra/llui/llurlentry.cpp. That broke the fix for EXT-6357. --HG-- branch : product-engine
2010-04-02PE mergeTofu Linden
2010-04-02Fixed normal bug EXT-6357 (SLapp for object chat does display an inspector) ↵Eugene Mutavchi
- added new LLUrlEntry to support 'secondlife:///app/objectim/{UUID}/' SLapps. Fixed passing the SLURL to inspect_remote_object floater. Reviewed by Vadim Savchuk, https://codereview.productengine.com/secondlife/r/158/ --HG-- branch : product-engine
2010-03-29Merge latest viewer-hotfix, approximately equal to Viewer 2.0 finalJames Cook
2010-03-22Weekly automated merge from viewer 2.0Roxie Linden
2010-03-17EXT-6335: Add custom labels for specific agent SLapp commands.Lynx Linden
We now display custom labels and tooltips for the various secondlife:///app/agent SLapp suffixes that we support. These include: /mute, /unmute, /pay, /im, /offerteleport, and /requestfriend. For example, entering: secondlife:///app/agent/3e2d81e8-6269-8100-860e-c64e5cee3c2c/mute Now displays the SLapp in text chat as "Mute <Name>", rather than simply "<Name>".
2010-03-08automated mergeRoxie Linden
2010-03-08Merge with viewer 2 beta 4James Cook
2010-03-03Underlined display names now update reliably.James Cook
2010-03-03Additional commit for EXT-4574 ([BSI] Unhelpful tooltip for Partner and ↵Vadim Savchuk
Group links in Profile). Fixed tooltip for agent SLURLs. --HG-- branch : product-engine
2010-03-03Fixed bug EXT-4574 ([BSI] Unhelpful tooltip for Partner and Group links in ↵Vadim Savchuk
Profile). For wiki-style links ([<URL> <label>]) we now show the tooltip corresponding to the URL type. --HG-- branch : product-engine
2010-03-02MergeJames Cook
2010-02-22Fixed normal bug EXT-4964 (Invalid SLURL detection does not detect invalid ↵Andrew Dyukov
slurls). - Added new static method LLSLURL::isValidSLURL() whic uses LLUrlRegistry::isUrl() to validate SLURLs and not just chek prefixes as LLSLURL::isSLURL() does. - Used it in slurl DnD check in LLViewerWindow. - LLUrlEntrySLURL regexp was changed not to pass non-valid SLURLS (such as one from the bug description). --HG-- branch : product-engine
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-16Fix display of SLID-only accounts - prototype display name code wasJames Cook
putting duplicate name in parentheses.
2010-02-16Fixed bug EXT-5290 (TP failed if try to teleport from 'Teleport completed ↵Vadim Savchuk
from...' toast). Reason: LLUrlEntrySLURL::getLocation() failed to parse maps.secondlife.com SLURLs (though worked fine for slurl.com ones). --HG-- branch : product-engine
2010-02-12Per-avatar customizable icons next to name links in textJames Cook
Changed LLUrlEntryAgent callbacks to handle both link label and icon Eliminated legacy LLNameCache file loading Reviewed with Kelly
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-03Fixed major bug EXT-4876 (Switch from slurl.com to maps.secondlife.com)Eugene Mutavchi
--HG-- branch : product-engine
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-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>