summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
AgeCommit message (Collapse)Author
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>
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-11EXT-3928: Escape group names in the profile panel URLs.Lynx Linden
2010-01-04DEV-44732 - a better fix.Tofu Linden
2010-01-04DEV-44732 avoidable false-positives on automatic URL finding in chatTofu Linden
2009-12-21EXT-3558: Don't escape '#' chars for URLs in text.Lynx Linden
Added '#' to the list of chars that are not escaped when escaping a URL in a text editor/box. Now, clicking on a link with '#' in text chat will open the URL in your browser with the '#' intact.
2009-12-21EXT-3460: Update to URL hyperlinking with no protocol.Lynx Linden
We no longer treat ":" or "/" as valid chars before a .com, .net, .edu, or .org string when trying to match a URL with no protocol (i.e., no http:// prefix).
2009-12-10EXT-3122: Added support for URLs without an explicit protocol.Lynx Linden
You can now enter URLs like "www.google.com", "secondlife.com", or "www.google.com/search?q=second%20life" and these will be hyperlinked.
2010-03-01Automated merge with a few fixups for code review commentsRoxie Linden
2010-02-26automated mergeRoxie Linden
2010-02-26automated mergeRoxie Linden
2010-02-26automated mergeRoxie Linden
2010-02-25automated mergeRoxie Linden
2010-02-25Automated mergeRoxie Linden
2009-12-07 implemented Task EXT-2304 Offer Notifications should include a link ↵Denis Serdjuk
that highlights the landmark or item in the appropriate side panel Changes: 1.highlighting of landmarks was broken by LLInventoryPanel::getActiveInventoryPanel(). 2. escaping of urls --HG-- branch : product-engine
2009-12-04 implemented Task EXT-2304 Offer Notifications should include a link ↵Denis Serdjuk
that highlights the landmark or item in the appropriate side panel Changes: This task had been already implemented. llurlentyinventory and llurlregistry have been changed to correct parsing of offer url --HG-- branch : product-engine
2009-11-20Inventory Offer changes and clickable inventory slurlsEric M. Tulla (BigPapi)
2009-11-12DEV-2925: Remove support for secondlife:///app/objectim URLs.Lynx Linden
These are no longer generated in Viewer 2.0 (instead we use notifications to send object IMs to the user), so there's no need to look for them in every textbox. Users can get details on any objects spamming them via the new remote object inspector.
2009-11-04DEV-41358: corrected a minor typo in a comment and refactored someLynx Linden
code to avoid duplication.
2009-11-03DEV-41358 DEV-41361: Added support for secondlife:///app/worldmapLynx Linden
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-10-20Group SLURL links are white, color configurable in colors.xmlJames Cook
Reviewed with Erica.
2009-10-20EXT-1518 Show "nobody" for null UUID avatar SLURL links, "none" for null ↵James Cook
group SLURL links. Show "Loading..." while looking up real names. Fix group inspector "view details" button not working. Reviewed with Ambroff.
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-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.