Commit Graph

305 Commits (fc971a2c8fb701e07825e1f0abb2c720d40e0bf2)

Author SHA1 Message Date
Ansariel 015e052db8 Don't try to send agent's inventory to Lost&Found on OpenSim 2015-01-17 16:10:23 +01:00
Tank_Master 4a6ff8c50d Merge LL 3.6.19 2015-01-14 20:20:35 -08:00
Ansariel f4bfb1aadf Merge LL V3.7.9 (AIS3 + SSA) 2014-10-22 02:02:08 +02:00
Monty Brandenberg f9c73f089a BUG-7454 Viewer crashes while logging with a turned off "HTTP Inventory"
The HttpRequest objects used in inventory ops are created lazily
when needed.  The update() operation didn't protect against their
not being created.  Added some guard tests around the update()
operations and we're good.
2014-10-06 05:44:54 +00:00
Monty Brandenberg 329608d246 Tuning and documentation. Use a fast poll frequency (0.05S)
on the HTTP requests for inventory.  We'll benchmark with that
and see how it goes.  Document some of the history of the
background fetcher for future devs.  Suggest some future
projects to make things faster.  Pointers on using LLSD with
the llcorehttp library in the readme.  And restructured
the LLSD onCompleted() processing phases using do{}while(false)
which produced a code flow that is fairly attractive.
2014-09-22 18:49:45 -04:00
Monty Brandenberg 11036d7bf4 Cleanup work. Use http constants for content-type and
accept headers in mesh and textures.  For texture metrics
reporting, use the AP_INVENTORY policy class which is
non-pipelined and pointing (usually) in the right direction.
Use a do-while(false) structure to manage common exit path
code in onCompleted() methods.  Identical to a 'goto' but
might amuse the pedantic.  Tuning on background fetch to
have it cycle faster.  This is experimental.  I suspect
with HTTP balancing in llcorehttp, we can do away with the
timers here.
2014-09-19 19:43:25 -04:00
Monty Brandenberg f71c6c745b Cleanup pass. Documentation. Get older llcorehttp-using
code to use utils for any LLSD interfaces.
2014-09-09 15:36:35 -04:00
Monty Brandenberg bbf9de9c67 Bring better error handling to inventory item and folder fetching.
First, introduced some LLSD-based interfaces to the llcorehttp code
using utils classes (in llcorehttputil).  I've kept LLSD out of
the llcorehttp library up to now and will continue to do that.
Functions provide a requestPost based on LLSD body and conversion
utils for HttpResponse-to-LLSD and HttpResponse-to-string
conversions.  Inventory fetch operations now do more thorough
error checking including 200-with-error status checking.  Still
do retry forever on folders though I don't like that.
2014-08-26 18:33:14 -04:00
Monty Brandenberg 85cba58ad4 Add an HTTP policy class for inventory operations using four (4)
connections.  Convert background and foreground fetches, both
items and folders/inventory and library, to use new HTTP.
Non-fetch inventory operations continue to use LLHTTPClient
(at least for now).  Error handling and retry on fetches wasn't
100% previously and that's still the case.  I'll rip through
this again to clean that up.  Cleaned up logging in much of
the inventory code with consistent labels on logging events
and correct macros (removed deprecation warnings).

This started as an attempt to get libcurl to do pipelining
on POSTs and PUTs.  Discovered that this is going to be
very difficult to support in general in libcurl.  May
look at that again in the future.
2014-08-22 18:04:27 -04:00
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
Ansariel 82a5e19431 Cleanup handling of protected folders in LLInventoryModel::changeItemParent() and LLInventoryModel::changeCategoryParent() 2014-09-04 11:08:28 +02:00
Ansariel cf7ae4e016 FIRE-14122: Moved bridge from illegal attachment spot to "Center 2"; Also set bridge object params properly without LSL 2014-07-17 11:09:59 +02:00
Ansariel 5e849f965e Simplify this... 2014-07-10 13:49:26 +02:00
Ansariel 89bcd46207 Continue doesn't make sense here - break does 2014-07-10 13:22:19 +02:00
Ansariel b156020355 Clean up LLInventoryModel 2014-07-10 13:21:40 +02:00
Nicky bb2d6a7dea Post-merge cleanup in llinventorymodel.cpp. 2014-06-10 21:38:45 +02:00
Tank_Master 8863d9beaf Compile fixes 2014-06-09 23:27:05 -07:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Tank_Master e3ea0378b6 Merge LL 3.7.6 2014-05-17 11:18:52 -07: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