Commit Graph

239 Commits (94ac0064354594de8adbb99084029c8b4027b2f6)

Author SHA1 Message Date
Brad Payne (Vir Linden) 01ad22ce19 fix for bad merge 2014-05-15 12:53:09 -04:00
Brad Payne (Vir Linden) 487ca1bad3 v-r -> s-e merge WIP 2014-05-14 17:50:59 -04:00
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Xiaohong Bao ae564140c0 Merge 2014-04-22 12:19:28 -06:00
Brad Payne (Vir Linden) d0eb9658f2 merge 2014-04-22 11:19:58 -04:00
Brad Payne (Vir Linden) f6947e9ce5 SH-4664 WIP - updated from from UpdateCreateInventoryItem to inventory observers. 2013-12-19 15:39:21 -05:00
Brad Payne (Vir Linden) 1320e5ddcd SH-4640 WIP - use backlinks in inventory 2013-12-03 16:35:07 -05:00
Brad Payne (Vir Linden) 940cde3938 SH-4640 WIP 2013-12-03 11:49:29 -05:00
Merov Linden 1cee31191c MAINT-3319 : Fix the purge of descendents of a category. Note: the cached number of descendents is not always reliable 2013-11-26 16:33:45 -08:00
Brad Payne (Vir Linden) c0d780cb44 SH-4613 WIP - add CREATE mask bit for newly created items in AISUpdate::doUpdate() - needed for some inventory observers. 2013-11-25 16:52:58 -05:00
Merov Linden 8af432481d ACME-3319 : Consolidate Merchant Outboxes when several are present into one in the right place 2013-11-19 16:15:00 -08:00
Merov Linden 125f3f071a MAINT-3319 : WIP : Introduce a consolidate folder method used for Merchant Outbox 2013-11-18 16:03:22 -08:00
Brad Payne (Vir Linden) d26ea73ce8 SH-4625 FIX - changed a warning that didn't really indicate a problem to an info statement 2013-11-18 16:03:30 -05:00
Brad Payne (Vir Linden) 8179175e6e SH-4578 WIP - cleaner folder version accounting 2013-11-18 13:19:43 -05:00
Brad Payne (Vir Linden) c1f60e7f2f SH-4621 WIP 2013-11-15 13:33:31 -05:00
Brad Payne (Vir Linden) 6ea320198a SH-4595 WIP - use new LLInventoryObserver::CREATE flag to distinguish newly created items from existing ones being added to inventory. 2013-11-04 15:55:04 -05:00
Brad Payne (Vir Linden) e26268add0 SH-4595 WIP - reworked descendents of LLInventoryAddedObserver to use gInventory.getAddedIDs(). LLInventoryAddedObserver isn't really needed anymore, but leaving it in as a debugging point at least for now. 2013-11-01 11:02:51 -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
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
consolidated most indra-specific constants in llcommon under indra_constants.h
fixed issues with operations on mixed unit types (implicit and explicit)
made LL_INFOS() style macros variadic in order to subsume other logging methods
such as ll_infos
added optional tag output to error recorders
2013-07-30 19:13:45 -07:00
Brad Payne (Vir Linden) 7af477f796 SH-4344 FIX - return the lowest UUID for a child of root with the desired preferred type. Also removed some duplicate code between findCategoryUUIDForType and findLibraryCategoryUUIDForType 2013-07-17 15:32:06 -04:00
Don Kjer a85fa3b10a Adding support for COPY methods to httpclient. Implementing viewer-side use of AISv3 COPY library folder operation. (SH-4304) 2013-07-11 15:15:04 -07:00
Brad Payne (Vir Linden) ffd7b0d7e7 SH-4305 WIP 2013-06-25 17:52:02 -04:00
Brad Payne (Vir Linden) 3e0e236f33 SH-4243 WIP - cleaned up callback structure for createNewCategory, modified makeNewOutfitLinks() to wait for category creation before populating. 2013-06-24 15:42:27 -04:00
Brad Payne (Vir Linden) 2d0b329003 SH-4238 WIP - postpone calling notifyObservers until all deletes are processed. 2013-06-17 16:20:17 -04:00
Brad Payne (Vir Linden) 89e3959cf3 SH-4216 WIP - moved AISv3 commands and responders to llaisapi.* files 2013-06-07 12:58:04 -04:00
Brad Payne (Vir Linden) 41694a902d SH-4216 WIP - broke up the onAISUpdateReceived monolith 2013-06-07 10:35:07 -04:00
Brad Payne (Vir Linden) bee76e3052 SH-4166 WIP - fix for a permissions issue that was preventing cof-created links from being reordered in outfits. 2013-06-06 17:59:16 -04:00
Brad Payne (Vir Linden) ca806315a9 SH-3635 WIP - logging cleanup, moved some big dumps into separate XML files 2013-06-05 15:52:44 -04:00
Brad Payne (Vir Linden) f7c9739fd9 SH-3635 WIP - COF slammer works in AISv3 regions. Extensive rework of onAISUpdateReceived. 2013-06-05 15:13:48 -04:00
Brad Payne (Vir Linden) 34d2cd0376 SH-4207 WIP - use item updates with callback when updating link descriptions. Reworked updateAppearanceFromCOF() cof-validation stages. 2013-05-24 15:51:33 -04:00
Brad Payne (Vir Linden) 6c56c77ec5 SH-4027 WIP - initial implementation of item update via AIS. 2013-05-24 08:53:21 -04:00
Brad Payne (Vir Linden) 0f6a4a3389 SH-4200 FIX - retry ais ops on 5xx errors, dialed back some verbose logging. 2013-05-20 18:06:26 -04:00
Brad Payne (Vir Linden) b1998cabc4 SH-4168 WIP, SH-4155 WIP - update inventory model based on ais returns, try to maintain loading... string more consistently in folder bridge 2013-05-13 17:08:37 -04:00
Brad Payne (Vir Linden) 228178ac15 SH-4168 WIP - fixed some bugs in inventory deletion and lost-and-found handling. 2013-05-09 11:01:29 -04:00
Brad Payne (Vir Linden) 9881b65845 SH-4154 FIX - added a few more validity checks. Disabled by default so users won't have logs spammed. 2013-05-07 16:12:18 -04:00
Brad Payne (Vir Linden) 89cef0cad2 SH-4154 WIP - gInventory.validate() has inventory model internal consistency checks 2013-05-01 17:55:49 -04:00
Brad Payne (Vir Linden) d843a0d8be SH-4137 WIP - added callback-based support for purge descendents, remove category 2013-04-25 17:09:05 -04:00
Brad Payne (Vir Linden) d73588eadd SH-4128 WIP - misc cleanup 2013-04-24 18:38:40 -04:00
Brad Payne (Vir Linden) eb88e4d378 SH-4128 WIP - cleanup around item link removal and callbacks 2013-04-24 18:08:20 -04:00
Brad Payne (Vir Linden) 4967998a5c CHUI-849 WIP, SH-4116 WIP - added simpler match check in inventory for when we don't need the list of matches to be returned. 2013-04-24 13:27:04 -04:00
Brad Payne (Vir Linden) 7b52a41e34 SH-4116 WIP - removed follow_folder_links behavior, which was used nowhere and isn't really desirable currently 2013-04-18 17:49:10 -04:00
Brad Payne (Vir Linden) e3ceb10c48 SH-4128 WIP - avoid needless called to updateLinkedObjectsFromPurge() 2013-04-18 17:31:35 -04:00
prep a2a25c9ed5 merge 2013-04-08 17:11:24 -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 linden 0123ab0dc6 Removed unneeded code. 2013-03-12 11:02:00 -04:00
prep 8e3b190e91 merge 2013-03-11 15:17:13 -04:00
prep e0c9174609 merge 2013-03-11 15:05:47 -04:00