Commit Graph

37 Commits (962be69e7170a9f7e8a99b9da4eae22ea6cdb038)

Author SHA1 Message Date
Ansariel d79b79fbe2 Merge viewer-ordered-shutdown 2019-10-19 03:16:10 +02:00
Ansariel 66c2575004 Sync with future changes by LL 2019-07-15 11:06:51 +02:00
Ansariel 16a7f41055 FIRE-19437: FSShowDisplayNameUpdateNotification setting without effect after coroutine merge 2016-06-08 08:43:51 +02:00
Ansariel 27da62664c Switch LLViewerDisplayName over to Coroutine 2016-01-18 11:56:19 +01:00
Ansariel 352a40f264 Backed out changeset 25426acca617 (Remove the display name floater) 2016-01-18 11:04:45 +01:00
Rider Linden 7fb7e93a13 Remove the display name floater 2015-05-28 12:48:08 -07:00
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Brad Payne (Vir Linden) a04a706c1b merge 2013-05-21 16:18:48 -04:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Don Kjer beeefb4526 Renaming HTTP_HEADER_* into HTTP_IN_HEADER_* and HTTP_OUT_HEADER_* to make it more clear which header strings should be used for incoming vs outgoing situations.
Using constants for commonly used llhttpnode context strings.
2013-04-04 21:50:45 +00:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer 662d67e3b5 Merging LLCURL::Responder changes with CHUI changes. Fixed gcc 4.6 compile failures 2013-03-13 08:46:59 +00:00
Don Kjer f945415210 Large changes to the LLCurl::Responder API, as well as pulling in some changes to common libraries from the server codebase:
* Additional error checking in http handlers.
* Uniform log spam for http errors.
* Switch to using constants for http heads and status codes.
* Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error.
* Reduced spam regarding LLSD parsing errors in the default completedRaw http handler.  It should not longer be necessary to short-circuit completedRaw to avoid spam.
* Ported over a few bug fixes from the server code.
* Switch mode http status codes to use S32 instead of U32.
* Ported LLSD::asStringRef from server code; avoids copying strings all over the place.
* Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob.
* Ported server pretty notation format (and pretty binary format) to llsd serialization.

* The new LLCurl::Responder API no longer has two error handlers to choose from.  Overriding the following methods have been deprecated:
** error - use httpFailure
** errorWithContent - use httpFailure
** result - use httpSuccess
** completed - use httpCompleted
** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers.

* In order to 'catch' a completed http request, override one of these methods:
** httpSuccess - Called for any 2xx status code.
** httpFailure - Called for any non-2xx status code.
** httpComplete - Called for all status codes.  Default implementation is to call either httpSuccess or httpFailure.
* It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below).

* Uniform error handling should followed whenever possible by calling a variant of this during httpFailure:
** llwarns << dumpResponse() << llendl;
* Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context.

* In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed.
* Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class).
* Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods:
** successResult - Sets results and calls httpSuccess
** failureResult - Sets results and calls httpFailure
** completedResult - Sets results and calls httpCompleted

* To obtain information about a the response from a reponder method, use the following getters:
** getStatus - HTTP status code
** getReason - Reason string
** getContent - Content (Parsed body LLSD)
** getResponseHeaders - Response Headers (LLSD map)
** getHTTPMethod - HTTP method of the request
** getURL - URL of the request

* It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO.

* See indra/llmessage/llcurl.h for more information.
2013-03-13 06:26:25 +00:00
prep 207d9fd767 Viewer-chui merge 2013-03-11 14:45:53 -04:00
Don Kjer 54cdc322b8 Fixing issues with not detecting when LLSD XML parsing fails. Changing most http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam. 2013-03-05 22:05:22 -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 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
Leyla Farazha 7ffc9b06c8 Created a floater for setting display name 2010-10-08 16:56:02 -07:00
Leyla Farazha e27ac0abf7 As a resident I should also see the local chat message about me changing my display name so that my own chatlogs include my own changes. 2010-09-13 16:20:52 -07:00
Aimee Linden e45b3c6884 Correct license on newly exported files to LGPL. 2010-09-04 19:35:27 +01:00
James Cook 892ac2bb1e Added debugging code for names changes for when People API breaks 2010-05-28 15:43:15 -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 ab79144d79 Remove unnecessary include (was for debugging) 2010-05-12 16:31:16 -07:00
James Cook 5ad8364a68 DEV-49780 Better confirmation/failure messages for setting name
Reviewed with Callum
2010-05-07 15:01:27 -07:00
James Cook 17e2739a36 WIP Add default name expiration on set response, need headers later 2010-05-06 16:31:39 -07:00
James Cook da723c27ca Send Accept-Language header to localize set-display-name error msgs 2010-04-29 17:13:56 -07:00
James Cook 3ba08e7149 DEV-49489 Viewer supports People API set 409 Conflict error 2010-04-29 11:29:35 -07:00
James Cook 1d8efc3701 DEV-49513 Viewer speaks final People API set display name format 2010-04-28 23:11:39 -07:00
James Cook af5dd4fbfa Strip some debug spam 2010-04-26 14:20:07 -07:00
James Cook 4b93f3d7b9 Fix typo in name change update code, now updates work 2010-04-22 15:52:14 -07:00
James Cook 98f5fc5ff0 DEV-47529 Turn off display names if no capability from simulator, and
Display name update broadcasts entire new name record to nearby viewers
Display name update directly inserts new name into sim cache
indra.xml has display_names_enabled setting to control cap
Synchronized viewer and server versions of avatar name cache
Reviewed with Ambroff
2010-04-22 14:13:45 -07:00
James Cook fedfbbb8d8 Remove hack to set display name by talking directly to name service
This means display names will only work on grids with name code deployed
2010-04-15 16:20:29 -07:00
James Cook 60396971ca DEV-47529 Chat "foo changed name to bar" on name change, viewer piece
Reviewed with Kelly
2010-04-13 10:47:58 -07:00
James Cook 1a7740f014 Added a touch of logging 2010-04-12 16:40:50 -07:00
James Cook 0c89242b4c Demo code - name changes work on agni again 2010-03-30 09:36:43 -07:00
James Cook d2f9e34598 Part DEV-47695 route display name changes via sim for rebroadcast to
nearby avatars for name tag updates and to update cached display name
for LSL nonblocking functions
2010-03-23 11:41:33 -07:00