Commit Graph

153 Commits (ec00f7f14fbf16992b71ddd54e583ba07fdfd523)

Author SHA1 Message Date
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
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
Gilbert Gonzales 1aadf94fe4 CHUI-305: Now the Region/Estate floater displays the frustum shadow when opening the Resident Picker. 2012-08-30 17:24:19 -07:00
Gilbert Gonzales be61b5be2f CHUI-305: Problem: The 'resident picker' had multiple parents and due to the design of the resident picker it can have only one parent. Having multiple parents caused both parents to fight for depth ordering...which caused the flickering. Resolution: Now multiple 'resident pickers' can exist and they are coupled to the floater that spawned then. Meaning that when the parent floater closes, the 'resident picker' floater will also close. In addition, a shadow frustum eminates from the button that opened the 'resident picker'. 2012-08-29 19:18:25 -07:00
Don Kjer ba07e95d68 Added extended flags to god tools region info response 2012-08-17 08:22:50 +00:00
Don Kjer c188fa6ab7 Fix for incorrectly reading extended region flags 2012-08-17 06:34:28 +00:00
Don Kjer 64d9705ae2 Expanding region flags to 64 bits. Adding region protocol flags 2012-08-17 03:56:38 +00:00
Kelly Washington 0ee53b21d2 MAINT-30 Estate access lists for groups and residents are blank when "Allow public access" is checked.
MAINT-1200 Resident names not sorted in About Land (or Estate management) floater's allowed/banned boxes
reviewed with Simon
2012-06-25 13:41:53 -07:00
paulgproductengine 67ccb0670f EXP-1904 FIXED (Estate tab in Region/Estate floater does not display estate name or owner name)
- Added updating for Estate name and Estate owner name
2012-02-20 20:11:08 +02:00
Vadim ProductEngine 47425d67fe EXP-1882 FIXED Crashes when invoking avatar picker from mouse look mode.
Fixing the cases missed in EXP-1879.
2012-02-13 17:12:03 +02:00
Brad Payne (Vir Linden) 6732f5fbca merge viewer-development to mesh-development 2011-08-10 17:53:11 -04:00
Vadim ProductEngine c645e9e59e STORM-1220 FIXED Localized sim product name (e.g. "Estate / Full Region") everywhere. 2011-07-25 17:34:06 +03:00
Paul ProductEngine aa40614cd4 SH-2101 FIXED Remove checkbox for per-region mesh disablement
- Remove checkbox for per-region mesh disablement and corresponding code
2011-07-21 20:31:00 +03:00
Vadim ProductEngine 187844d5fc STORM-1506 FIXED Reset the estate to global sun when changing region environment settings.
By the way, moved estate info storage from the REGION/ESTATE floater to a model class.
2011-07-15 19:15:30 +03:00
Vadim ProductEngine 99691e6a13 STORM-1481 FIXED Fixed jerky transition when switching region from fixed sky to a day cycle. 2011-07-07 03:17:35 +03:00
Vadim ProductEngine 31c1cff64f STORM-1262 FIXED Removed the original Windlight Region Settings implementation. 2011-07-06 00:42:28 +03:00
Vadim ProductEngine d349352740 STORM-1330 WIP Removing a comment that was added by mistake. 2011-07-05 23:25:08 +03:00
Vadim ProductEngine 02c9c49788 STORM-1330 WIP Override region sun position when switching the region to fixed sky. 2011-07-05 22:52:31 +03:00
Vadim ProductEngine 7aa7ee6838 STORM-1330 WIP Switched the Terrain tab of the Region/Estate floater to using the region info model. 2011-07-05 17:51:22 +03:00
Vadim ProductEngine 2fc65cae7b STORM-1464 FIXED Fixed inability to change terrain settings.
Reason:
The "setregionterrain" message missed estate/region sun info and thus was incomplete.

Fix:
Added missing fields back.

Note:
The fields' values are fake.
2011-07-01 20:05:49 +03:00
Vadim ProductEngine 3a552f5b8b STORM-1464 WIP Removed references to a nonexistent Apply button from the Region/Estate floater. 2011-07-01 17:33:57 +03:00
Oz Linden 13de92740e merge latest viewer-development 2011-06-22 11:45:43 -04:00
Vadim ProductEngine ab431d1774 STORM-1305 WIP User day cycles now go first in all lists. 2011-06-14 18:04:29 +03:00
Vadim ProductEngine 4fd946fa3e STORM-1305 WIP User sky presets now go first in all lists. 2011-06-10 23:44:13 +03:00
Vadim ProductEngine 23d8fb9750 STORM-1305 WIP User water presets now go first in all lists.
Besides, removed all cases of direct access to the water presets map in preparation for future lazy loading.
2011-06-10 21:21:04 +03:00
Vadim ProductEngine 150c18169d STORM-1305 WIP Made LLWaterParamManager::mParamList private and typedef'ed its type. 2011-06-10 19:55:30 +03:00
Vadim ProductEngine ebdb41e5d6 STORM-1254 WIP Implemented deleting local water presets. 2011-06-09 18:48:24 +03:00
Vadim ProductEngine 7151a4e6b0 STORM-1255 WIP Consistency pass on sky presets removal.
* Update all related floaters when a sky preset gets removed.
* Don't allow removing skies referenced by (local) day cycles.
* Other minor fixes.
2011-06-07 17:41:26 +03:00
Vadim ProductEngine dda7df4ac9 STORM-1253 WIP Debugging stuff. 2011-06-02 18:35:23 +03:00
Oz Linden 8bfd3201de merge changes for latest viewer-development 2011-06-01 22:07:12 -04:00
Vadim ProductEngine 995a006b58 STORM-1253 WIP Update UI when a day cycle gets added or deleted. 2011-06-01 18:26:36 +03:00
Vadim ProductEngine 6d4198b89a STORM-1244 WIP Fixed modifying user preferences when the Environment Settings floater is opened. 2011-05-31 23:03:59 +03:00
Vadim ProductEngine 778088b74c STORM-1253 WIP Implemented editing region day cycle. 2011-05-31 22:36:26 +03:00
Vadim ProductEngine 1dd6d3f43e STORM-1256 WIP Grey out Apply/Cancel buttons when no local change made. 2011-05-30 22:47:17 +03:00
Roxie Linden 31e850d048 transplant fix for SH-1467
viewer now uses simulatorfeatures to check whether to show
UI elements for mesh or not
2011-05-27 11:50:39 -07:00
Oz Linden 42b967e8a1 merge changes for oz windlight issues 2011-05-26 20:30:33 -04:00
Oz Linden a99941a7fd merge changes for latest windlight integration project repo 2011-05-26 20:26:36 -04:00
Vadim ProductEngine 6bc23e1be7 STORM-1289 ADDITIONAL_FIX Updated a comment. 2011-05-27 03:00:22 +03:00
Vadim ProductEngine 327c0401e6 STORM-1289 PARTIAL_FIX Re-applying the current region day cycle now doesn't revert region setting to fixed sky. 2011-05-27 02:43:36 +03:00
Oz Linden c5bf566b2f storm-1281: remove estate time from region/estate floater, storm-1282: fix reordering of region/estate tabs 2011-05-26 16:55:59 -04:00
Loren Shih d5ae682e11 SH-1444 FIXED "Allow mesh objects" setting is visible on non-mesh region. 2011-05-26 16:04:36 -04:00
Vadim ProductEngine c0037909d5 STORM-1284 FIXED Changes to region environment are now visible immediately.
Pressing "Apply" sends the settings update to server.
Pressing "Cancel" reverts to current region settings.
2011-05-26 19:32:20 +03:00
Vadim ProductEngine c32b19f31d STORM-1253 WIP Implemented switching between multiple day cycles (locally and region-wide). 2011-05-26 15:11:01 +03:00
Oz Linden 8690fa472b storm-1282: reorder tabs on the region/estate floater 2011-05-25 13:55:58 -04:00
Oz Linden c598752288 merge lastest updates from windlight integration branch 2011-05-25 08:45:39 -04:00