Commit Graph

107 Commits (14ddfcdf5237c9529d8a8edbd4c86cfd53cfaf78)

Author SHA1 Message Date
Merov Linden c2d332a89c CHUI-580 : WIP : Added disconnect of callbacks once they're called to prevent filling up the callback queue 2012-12-17 20:16:33 -08:00
Merov Linden 3d137bae5c Merge with viewer-chui 2012-12-17 19:29:35 -08:00
Merov Linden 6fe7144104 CHUI-580 : WIP : Protect callback connections passed to LLAvatarNameCache::get() where necessary 2012-12-17 18:59:01 -08:00
Merov Linden 9b556fb3fe CHUI-599 : Use the account name in all places that are not UI related but use avatar names to index, search and other code only uses. 2012-12-14 14:19:17 -08:00
Merov Linden 3a49beed0e CHUI-580 : WIP : Change the display name cache system, deprecating the old protocol and using the cap (People API) whenever available. Still has occurence of Resident as last name to clean up. 2012-12-05 20:25:46 -08:00
Vadim ProductEngine ba129fff47 STORM-632 ADDITIONAL_FIX Use non-greedy regexp match to enable multiple <nolink>...</nolink> clauses in a single textbox. 2011-08-12 16:32:47 +03:00
Vadim ProductEngine f695f8d112 STORM-632 ADDITIONAL_FIX Disallow showing URL-like avatar display names as Web links in the ShareItemsConfirmation notification.
Updating the <nolink> tag parsing regexp to enable multiple <nolink>...</nolink> clauses in a single textbox.
2011-08-08 23:46:23 +03:00
Merov Linden c6895302ed STORM-797 : pull in viewer-development 2011-01-12 11:12:56 -08:00
Vadim ProductEngine dda4150e01 STORM-393 FIXED Changed group SLURL color to be the same as in other URLs.
By the way, removed "AgentLinkColor" color which has been used since STORM-579 was fixed.
2011-01-06 15:51:38 +02:00
Seth ProductEngine 376ee7a3f9 STORM-797 FIXED Added parcel SLURL rendering with human readable parcel names.
- Added parcel info observer to LLUrlEntryParcel.
- Added notifying LLUrlEntryParcel by LLRemoteParcelInfoProcessor when parcel data arrives.
- Added notifying LLUrlEntryParcel about user login, changing host and viewer connection state to use this data in remote parcel requests.
2010-12-30 18:18:33 +02:00
Vadim ProductEngine abda07fb77 STORM-796 FIXED Implemented rendering /app/region/ SLapps into human-readable strings.
Example: secondlife:///app/region/Ahern/10/20/30/ is displayed as "Ahern (10,20,30)".
2010-12-16 20:22:32 +02:00
Richard Linden ca2141ce90 merge with viewer-dev 2010-12-08 16:04:07 -08:00
Seth ProductEngine 7ed0938226 STORM-579 FIXED SLURLs color for residents and objects names in plain text chat match the user setting for "URLs" in the Color tab in Prefs.
Avatar names SLURLs now use the user color setting for "URLs" everywhere across the viewer.
2010-12-03 20:45:53 +02:00
Richard Linden d276950c8d build fixes 2010-11-15 17:03:52 -08:00
Richard Linden 50d21a75a7 merge 2010-11-15 15:52:54 -08:00
Oz Linden b657516f72 pull beta changes back to development 2010-11-08 16:47:46 -05:00
Kent Quirk bc7b6411d9 SEC-784 2010-11-05 18:39:26 -04:00
Vadim ProductEngine f3d4643b59 STORM-489 FIXED <nolink>'ed text rendered as URL
Changes:
 * Suppressed URLs in object (sender) names of nearby chat messages loaded from history.
 * Fixed text between <nolink>...</nolink> text being rendered as URL
   (hand cursor on hover, context menu, context menu, opening Places SP on click).
2010-10-28 23:03:09 +03:00
Vadim ProductEngine 07353619d0 STORM-297 FIXED Fixed "<nolink>" text appearing in confirmation message if there is "<" symbol in Landmarks name.
Modified the "<nolink>...</nolink>" clause parsing regexp to allow "<" in the middle.
2010-10-22 19:39:38 +03:00
callum f5b3fc596d Add support for debug setting to disable link highlight & follow in URLs that appear in XUI widgets 2010-10-06 15:34:32 -07:00
Aimee Linden ffae589843 Post-convert merge by convert_monolith.py from /Users/Aimee/Documents/Work/Linden-Lab/Development/viewer/convert/viewer-identity-evolution 2010-09-03 17:41:39 +01:00
Aimee Linden 0a74d15935 Merge between james/viewer-identity-evolution and dessie/viewer-public 2010-09-03 15:30:16 +01:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Andrew Dyukov 55c887225f EXT-8010 ADDITIONAL FIX Fixed problems with avatar links underlining.
There were two problems:

1. Underlining broke when avatar's first and second name were on different lines.
2. There was no underline on hover for avatar miniinspector links in plaintext IM.

- First problem was caused by calling LLOnHoverChangeableTextSegment::draw() for the same segment twice- for first and second name that were
on different lines, while handleHover() was called only once. So handleHover() was called -> text was underlined -> first part of segment was
drawn underlined -> its draw set style back to normal -> second part of segment was drawn without underlining.

Fixed this by setting style back to normal only when drawing the last part of the segment.

- Second problem was caused by unusual way of appending link to text in chat history.

Changed it so that LLTextBase::appendText() now receives link not inside style params, but directly.
Also added "/inspect" ending to check in LLUrlEntryAgent::underlineOnHoverOnly().

Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/833/

--HG--
branch : product-engine
2010-08-09 15:14:45 +03:00
Andrew Dyukov 4919f0b341 EXT-8010 FIXED Implemented special behaviour of avatar links.
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-26 18:10:29 +03:00
Leyla Farazha 33d1aa30ab Merge from dessie/viewer-release 2010-07-06 17:51:07 -07:00
Yuri Chebotarev 0cf9168895 EXT-5692 FIX Add callback to create widget segment with LLAvatarIconCtrl (or LLGroupIconCtrl) based on url match id.
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/610/

--HG--
branch : product-engine
2010-07-02 15:23:05 +03:00
Richard Nelson 0f86f811c2 DEV-50271 FIX SLURL support for non-clickable display names
std::multimap::find does *not* return an iterator just to the matching results, use std::multimap::equal_range instead
2010-05-26 14:47:48 -07:00
Richard Nelson 7435ff08b5 DEV-50271 FIX SLURL support for non-clickable display names
separate mIsLink from mLink to support non-clickable urls (e.g. secondlife:///app/agent/0e346d8b-4433-4d66-a6b0-fd37083abc4c/completename)
2010-05-26 13:14:47 -07:00
Richard Linden d539145367 DEV-50271 FIX SLURL support for non-clickable display names
revived mDisabledLink to make url replacement logic work again
2010-05-25 18:52:24 -07:00
James Cook a91d10dc18 Merge 2010-05-25 11:41:33 -07:00
James Cook 77e6fcd423 DEV-50013 WIP gCacheName->getGroup() to distinguish from av lookups
Helps with global finds looking for remaining calls to patch.
Reviewed with Leyla.
2010-05-25 11:39:06 -07:00
Richard Nelson f682c996d2 DEV-50271 FIX SLURL support for non-clickable display names 2010-05-24 18:29:29 -07:00
Richard Nelson 4ea7d2de9f DEV-50271 FIX SLURL support for non-clickable display names
reviewed by James
2010-05-24 17:25:35 -07:00
James Cook 0df5c0e879 DEV-50013 Tooltip for SLAPP agent inspect links
Reviewed with Erica (language) / Leyla (code)
2010-05-20 14:15:27 -07:00
James Cook f4148502e4 Rename mSLID to mUsername to match the name of the field in the UI
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-18 16:00:45 -07:00
James Cook 8b52454990 merge pull from dessie/viewer-public, picking up SLE code 2010-05-13 15:47:32 -07:00
James Cook 31a0d236d5 Clean up merge-fight about getIcon() const-ness 2010-05-11 17:26:29 -07:00
James Cook 2b7153c26a merge from dessie/viewer-public right before SLE code landed 2010-05-11 16:11:09 -07:00
Roxie Linden a11ec0c89f Automated merge 2010-05-04 16:09:14 -07:00
James Cook 781c76e85c DEV-49489 Display name support in URL-style name widgets, also
Fixed problem where labels like "Mute John Smith" were not being applied
when the name was not in cache.
2010-04-29 12:34:22 -07:00
James Cook 8fae11ee36 Remove prototype support for badges next to avatar names
Easy to reimplement if we decide we want to do it.
2010-04-28 17:02:50 -07:00
Eugene Mutavchi d0204a2b14 Related to normal bug EXT-6302 (TP requests need to display destination 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-23 21:52:18 +03:00
Roxie Linden 8ba5517a08 Automated merge 2010-04-07 13:20:33 -07:00
Roxie Linden 658ccc3e85 Re-insert backed out SLE checkin so we can fix it 2010-04-07 11:08:04 -07:00
Tofu Linden adce2ecdf8 PE merge from pe-viewer-trunk 2010-04-07 13:03:35 +01:00
Tofu Linden 8da371b0f0 merge 2010-04-07 12:16:36 +01:00