Commit Graph

402 Commits (ec00f7f14fbf16992b71ddd54e583ba07fdfd523)

Author SHA1 Message Date
Nyx Linden cd9acddf09 BUILDFIX capitalization error 2013-05-10 13:04:18 -04:00
Nyx Linden 5c219f694a DEBUG adding additional logging for avatar height
usually disabled, enable avatar in logcontrol.xml to get output.
2013-05-10 12:58:41 -04:00
Nyx Linden 23c6016481 SH-4048 SH-4171 SH-4046 FIX avatar sinks into ground, updates sent to observers
Avatar preview code was triggering avatar size updates, which were causing the
avatar's height above the ground to change when the previews were rendered.

Also added code to suppress appearance updates being sent out while in
appearance editing mode.
2013-05-08 16:34:12 -04:00
Nyx Linden 3e53ade13e merge 2013-04-05 15:24:22 -04:00
Brad Payne (Vir Linden) d1d0a2cf67 SH-4058 - log spam reduction initiative. 2013-04-03 14:58:33 -04: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
Nyx Linden 3005bdf7aa merge 2013-02-28 17:26:14 -05:00
Nyx Linden d1c1445193 SH-3909 Support avatar height offset
Adding a new visual param that allows users to manually adjust an offset for
how far off the ground (+ or -) their avatar's root bone is.

Supports the +-2m range people are used to adjusting in their viewers, but
new implementation should support server-generated appearances.
2013-02-28 17:25:37 -05:00
Brad Payne (Vir Linden) b16dcda6a3 SH-3860 WIP, SH-3899 WIP - make folder version management more debuggable, log appearance request results 2013-02-25 19:12:36 -05:00
Brad Payne (Vir Linden) 72dfb2abce SH-3812 WIP, SH-3852 WIP - some metrics cleanup, added rebake when needed and sb system is unavailable, to avoid stale appearance problems 2013-02-13 17:28:05 -05:00
Brad Payne (Vir Linden) 9ef4c33772 SH-3852 WIP - modified metrics for update_appearance_from_cof and wear_inventory_category, end when bakes are fully loaded 2013-02-13 07:47:24 -05:00
Brad Payne (Vir Linden) 99d197d021 SH-3852 WIP - track per-timer stats 2013-02-07 19:14:00 -05:00
Brad Payne (Vir Linden) 0897a291d1 SH-3852 WIP - small tweaks 2013-02-07 11:14:37 -05:00
Brad Payne (Vir Linden) 3f45d5472c SH-3800 WIP - log some of sent appearance msg info as well as received 2013-02-01 10:53:02 -05:00
Brad Payne (Vir Linden) 235f77b8c6 SH-3800 WIP - reject appearance messages with contradictory appearance version info 2013-02-01 09:13:31 -05:00
Brad Payne (Vir Linden) cbf7de4538 SH-3779 WIP, SH-3534 WIP - more bake-status tracking 2013-01-28 13:47:00 -05:00
Brad Payne (Vir Linden) 878e31dce2 SH-3534 WIP - better encapsulation of mUseServerBakes 2013-01-23 16:04:08 -05:00
Gilbert Gonzales de9e2c3812 CHUI-668: Code review changes 2013-01-15 20:36:48 -08:00
Merov Linden 573ab07a40 Merge pull from lindenlab/viewer-beta 2013-01-10 14:51:59 -08:00
William Todd Stinson bd6d34d312 CHUI-499: Loading the DND notifications upon exit from DND mode and after login. 2012-12-19 01:48:37 -08:00
William Todd Stinson 1bebff84ba Removing some old code for parsing the response from changing maturity level as it is now consistent across the grid. 2012-12-17 16:11:52 -08:00
prep e0432f98ee SH-3563. Pull and merge from viewer-development. Modest code changes to fix alignment issue in llAppearance. 2012-11-28 16:36:34 -05:00
William Todd Stinson 67bc42a80a Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-beta. 2012-11-20 16:20:40 -08:00
William Todd Stinson e173dea8a0 Pull and merge from https://bitbucket.org/lindenlab/viewer-development. 2012-11-13 17:03:11 -08:00
William Todd Stinson 4f58b4088a CHUI-517: Altering the behavior and copy of the main menu status choices. Busy has been replaced with Do Not Disturb. And both status options have been switched to be indicated with a check rather than alternating text. 2012-11-09 14:41:50 -08:00
AlexanderP ProductEngine 486bdf3284 CHUI-337 FIXED: To avoid confusion with a classes "...conversation..." and in accordance with the naming convention in the project, some classes and corresponding files should be renamed:
LLIMConversation -> LLFloaterIMSessionTab
LLIMFloater -> LLFloaterIMSession
LLNearbyChat -> LLFloaterIMNearbyChat
LLIMFloaterContainer -> LLFloaterIMContainer
LLNearbyChatBarListener -> LLFloaterIMNearbyChatListener
LLNearbyChatHandler -> LLFloaterIMNearbyChatHandler
2012-11-09 12:45:36 +02:00
William Todd Stinson c4eaaa3d6a CHUI-484: Updating the code to rather than refer to it as Busy Mode, it now refers to it as Do Not Disturb mode. 2012-11-08 12:35:15 -08:00
Brad Payne (Vir Linden) 3aeff074cf SH-3469 FIX - use callback mechanism to handle possible race between getting caps and setting agent region 2012-10-26 18:27:08 -04:00
Brad Payne (Vir Linden) c961b5f657 handling for crossing from non-server-bake to server-bake regions 2012-10-22 11:09:32 -04:00
William Todd Stinson 8dbd1f5f48 MAINT-1737: Adding a menu option to the Pathfinding menu to allow rebuilding of the region's navmesh. 2012-10-16 18:45:37 -07:00
William Todd Stinson e4b98970f4 MAINT-1737: Moving files around to replace the Rebake_Region button with a menu option. 2012-10-16 15:30:00 -07:00
Don Kjer c06c35609c Updating linux build to gcc4.6 2012-10-11 00:09:04 +00:00
Brad Payne (Vir Linden) 878eb2b61a audited uses of centralBakeVersion vs. isUsingServerBakes 2012-09-27 17:46:19 -04:00
Brad Payne (Vir Linden) 93e210d91f more state management stuff, DRANO flags for problematic areas 2012-09-26 15:45:58 -04:00
Brad Payne (Vir Linden) ab83fab72c error checking, comments for areas needing fix/check in appearance 2012-09-26 11:52:19 -04:00
Brad Payne (Vir Linden) ae0bb92290 renamed isUsingBakedTextures to more accurate isUsingServerBakes. Commented some areas we are probably using the function incorrectly 2012-09-26 06:36:24 -04:00
Don Kjer 21c364c4d4 Renamed LLVOAvatarDefines to LLAvatarAppearanceDefines 2012-09-03 09:10:24 +00:00
AlexanderP ProductEngine ae2e611dfb CHUI-315 (Nearby chat messages do not appear in conversation floater): cancelled inheritance LLNearbyChat from LLSingleton; set mSingleInstance flag for it. 2012-08-31 16:52:50 +03:00
AlexanderP ProductEngine 14708a3ace CHUI_310 make NearbyChat a singletone 2012-08-22 18:27:29 +03:00
Nyx (Neal Orman) 48b7eff758 Automated merge with https://bitbucket.org/VirLinden/sunshine 2012-08-14 17:13:46 -04:00
Nyx (Neal Orman) e7a63cb356 SH-3310 WIP setting up architecture for switching texture baking on per-region basis
Set up an architecture to minimize the use of the baked texture debug setting.
Instead concentrating on setting a per-region flag at the region handshake point.
This should be processed once the new regions are using the updated handshake.
The debug setting is being used in this one location as a placeholder.

Builds, but not fully tested/commented yet, passing this work off to Vir.
2012-08-14 17:12:01 -04:00
Todd Stinson 9488baada3 Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-beta. 2012-08-09 12:06:09 -07:00
Brad Payne (Vir Linden) 6ae4802e6d merge 2012-07-30 19:10:46 -04:00
Todd Stinson 3e038cd71b Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-release. 2012-07-27 12:53:54 -07:00
Todd Stinson 4feef5af63 Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-release. 2012-07-23 19:21:34 -07:00
Nyx (Neal Orman) 3f931ad1e3 SH-3229 FIX suppress baked texture cache requests and generated agentAppearance messages
If you're using the new pipeline, then we should not be requesting cached baked textures
from the simulator. Nor should we be sending agentAppearance messages to the simulator
(note: this may change in the future on region arrive)
2012-06-29 19:18:33 -04:00
Todd Stinson a818cd4f73 Renaming the rebake navmesh panel class. 2012-06-26 18:22:17 -07:00