Commit Graph

190 Commits (e92d3dcf1013ab340fdef514b41ebf790f79e04c)

Author SHA1 Message Date
Vadim ProductEngine df450ff17b STORM-1021 ADDITIONAL_FIX Replaced usual object inspector with the remote one in nearby chat toasts. 2011-03-23 22:58:49 +02:00
Vadim ProductEngine 845405cce6 STORM-1021 FIXED Viewer shows "L$300" instead of object IM details if object sends an IM from another region.
The problem was caused by trying to lookup info for a *remote* object by its id in the gObjectList --
this is what the usual object inspector (LLInspectObject) does.

The fix saves the sender object info when a message arrives, then passes the info to the remote object inspector (LLInspectRemoteObject).
2011-03-11 18:20:24 +02:00
Seth ProductEngine 287c3fcffc STORM-433 FIXED Fixed reshaping notification panel with friendship offer when it is inserted into IM chat. 2011-02-04 21:01:01 +02:00
Monroe Linden dee57bea25 Merge from viewer-development. 2010-12-20 11:21:17 -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 f8d08af9f1 SOCIAL-266 WIP HTTP AUTH dialogs no longer work in LLQtWebKit 4.7.1
converted LLLayoutStack orientation param to use named enums
2010-11-23 16:25:10 -08:00
Seth ProductEngine ef46e7037c STORM-579 FIXED resident SLURL font color to match Chat preferences for plain text Nearby Chat log 2010-11-12 17:28:44 +02:00
Oz Linden b657516f72 pull beta changes back to development 2010-11-08 16:47:46 -05:00
Leyla Farazha 25c5f8aeb3 DN-189 ??? Showing in tooltip over profile image in IM history 2010-11-04 11:51:02 -07: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 d42b1c3b21 STORM-488 FIXED Place profile was opened instead of Object profile if used clicked an object SLURL in the plain text nearby chat log.
The reason is the same as in STORM-390: a bug in LLTextBase which leads to ignoring link href specified for a link segment if
the segment contains an URL (and the <nolink>...</nolink> clause is treated as such).

The workaround is to explicitly disallow parsing URLs in a link segment by setting its "is_link" parameter to "true".
2010-10-28 17:57:32 +03:00
Leyla Farazha cb5d8d1a92 DN-181 Chat & IM logs saved in unreadable .llsd instead of .txt 2010-10-22 17:41:06 -07:00
leyla_linden 1d08fa4cd7 DN-162 Green - shown in local chat after name if View Display Names setting is off with Show User Names setting on. 2010-10-11 14:01:30 -07:00
Leyla Farazha 7c47576f02 DN-130 As a resident I want to show usernames in local chat if username preference is set so that I can follow the conversation when people are changing their display name 2010-10-05 15:38:45 -07:00
Leyla Farazha a4b223248e Merge 2010-09-27 17:54:52 -07:00
Leyla Farazha 60db8577a9 Merge 2010-09-16 12:02:24 -07:00
Andrew Dyukov 9e49a5302e STORM-114 FIXED Removed showing of images inside notifications in IM in plaintext mode.
- Added argument show_images to constructors of LLIMToastNotifyPanel and LLToastNotifyPanel. Depending on it plaintext attribute for textbox with notification text is set. Used this argument when adding notification to chat history if IM is in plaintext mode.
2010-09-13 18:52:40 +03: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
Richard Linden 1911993cc7 merge 2010-09-16 19:45:57 -07:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Nelson 0daa627db4 removed LLLayoutStack::fromXML custom xml parsing 2010-08-24 11:44:28 -07: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
Richard Nelson 02d8197019 changed buildPanel/buildFloater to member functions buildFromFile
streamlined LLUICtrlFactory's interface
2010-08-20 10:14:28 -07:00
Richard Nelson c20bd2dfee cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
2010-08-16 15:00:51 -07: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
Leyla Farazha 854e6acb42 Merge with dessie/viewer-release 2010-07-30 18:07:35 -07:00
Vadim Savchuk 4d40d670a1 EXT-8463 FIXED Crash in IM/chat floaters.
Reason
======

Each message in an IM/chat session has a header. The header shows an (i) button on hover and hides it when mouse leaves the header.

The button is shown by adding it as a header child and hidden by resetting the button parent.

So, if you close the IM session so that the hovered header doesn't get the MouseLeave message (e.g. by Ctrl+W),
the button gets destroyed. If you then open the IM session again and hover a message header, the destroyed button
is referenced, which leads to crash.

Fix
===

We make sure that when a hovered message header is being destroyed (by closing the IM session),
the button is detached (i.e. its parent gets reset), so that it remains usable.
I also add a couple of checks for the case when the (i) button fails to construct from XML file.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/783/

--HG--
branch : product-engine
2010-07-20 19:59:34 +03:00
Leyla Farazha 33d1aa30ab Merge from dessie/viewer-release 2010-07-06 17:51:07 -07:00
Tofu Linden f954db0263 Checker: FORWARD_NULL
Function: LLChatHistory::appendMessage(const LLChat &, const LLSD &, const LLStyle::Params &)
File: /indra/newview/llchathistory.cpp
2010-07-05 11:54:50 +01:00
Leyla Farazha c897061856 Merge with q/viewer-release 2010-06-21 10:21:52 -07:00
Yuri Chebotarev 884e08b509 EXT-6527 FIX Introduce new plain_text flag in LLTextBase and prevent image segment from being created if this flag is set.
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/587/

--HG--
branch : product-engine
2010-06-18 10:47:49 +03:00
Yuri Chebotarev b14e19c1ac EXT-7820 FIX escape only parameters of slurl
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/614/

--HG--
branch : product-engine
2010-06-22 15:46:17 +03:00
Igor Borovkov 33d91c0a39 EXT-7137 FIXED nearby chat messages coming from non-null id with from name "Second Life" are no longer considered "system messages"
Messages coming from objects named "Second Life" were mistaken for messages coming from system
under the name "Second Life".

It is impossible to distinguish using the from_id and from_name two cases:
- messages coming from system under the name "Second Life" but under the id of an object
- messages comding from object named "Second Life"

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/556/

--HG--
branch : product-engine
2010-06-11 19:21:26 +03:00
Vladimir Pchelko ac9543be9e EXT-6654 FIXED Using escaped (LLURI::escape()) text for objects link.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/543/

--HG--
branch : product-engine
2010-06-10 16:32:41 +03:00
Richard Linden f79ac664dd merge 2010-06-03 14:15:11 -07:00
Richard Linden 813d4cc8a3 added newline at end 2010-06-01 18:51:26 -07:00
James Cook 6863c9eb3d Avoid name lookups when loading chat history on startup
Also fixes DEV-50451, ??? for object names in chat history log
on login.
2010-06-01 06:20:07 -07:00
Richard Linden 2646eb8166 EXT-7557 - About Second Life > Credits does not open with scrollbar all the way at the top
also made floaters not update title label every time they are resized
2010-05-29 13:31:37 -07:00
James Cook 3e4a9614dc DEV-50451 FIX ??? shown in local chat for chat from objects
Simple - was always doing name lookup even if ID was for an object
2010-05-28 05:56:56 -07:00
Richard Nelson 2920d4c46f merge 2010-05-24 16:37:52 -07:00
Alexei Arabadji 5ba494c4fa EXT-7363 FIXED Provided passing owner ID through chat object since it is necessary to correctly build objectim SLURL when chat history reloads content.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/420/

--HG--
branch : product-engine
2010-05-20 16:47:33 +03:00
James Cook 061d38d331 DEV-50204 "Ericag Vader" shows when starting IM and local chat
Start with blank header to hide sample text from XUI XML.  Also fixed
problem with computation of minimum chat header name width when the
name wasn't in cache.
2010-05-19 12:34:13 -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 d36cffcb7b DEV-50013 IM inline text uses display names
Reviewed with Leyla
2010-05-12 14:01:22 -07:00
James Cook 2b7153c26a merge from dessie/viewer-public right before SLE code landed 2010-05-11 16:11:09 -07:00