Commit Graph

287 Commits (5dcd81c15507ad8f487e5727bc7a94de82f6fb45)

Author SHA1 Message Date
AndreyL ProductEngine 445cd96293 Merged in lindenlab/viewer-release 2016-05-20 00:03:30 +03:00
AndreyL ProductEngine b32d00308e Merged in lindenlab/viewer-release 2016-05-06 17:31:36 +03:00
Oz Linden 950c41d184 merge 4.0.4-release and MAINT-5974 2016-05-06 10:28:42 -04:00
Oz Linden 9be58e915a merge with 4.0.3-release 2016-04-04 15:53:09 -04:00
andreykproductengine 352403b0e2 MAINT-6272 Viewer inventory cache bug 2016-04-01 21:16:07 +03:00
AndreyL ProductEngine 0ff6fa576a Merged in lindenlab/viewer-bear 2016-04-01 06:18:49 +03:00
AndreyL ProductEngine eb413ec41e Merged in lindenlab/viewer-release 2016-04-01 03:56:20 +03:00
Aura Linden 104b117154 Faster to copy changes than merge branches. 2016-03-31 15:26:53 -07:00
AndreyL ProductEngine ac6af25508 MAINT-6238 Warn user if Trash is overflowing 2016-03-31 18:08:31 +03:00
Rider Linden b8c1976460 Merge 2016-03-17 13:14:21 -07:00
Oz Linden 31f3db0291 merge changes for DRTVWR-417 2016-03-16 13:08:06 -04:00
Mnikolenko ProductEngine 145aa1d074 MAINT-6119 Viewer needs a few NULL uuid checks 2016-02-18 11:36:05 +02:00
andreykproductengine 9efda8ac70 MAINT-5933 FIXED When a new library avatar folder is created in Clothing folder, folder rename is grayed out until relog 2015-12-07 18:54:52 +02:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Rider Linden bbb9d4f21b MAINT-5732: Change to the way event polling handles error conditions and cancel calls.
Refactor any remaining LLCore::HTTPHandlers to use boost::shared_ptr
Started minor refactor in the materials manager into coroutines (unfinished)
2015-10-14 17:46:24 -07:00
Rider Linden 75c6549fde Set consistent terminology for yield/wait -> suspend for coroutines. 2015-09-18 11:39:22 -07:00
Rider Linden 9df2e7e4cb Merge 2015-08-11 12:18:47 -07:00
Nat Goodspeed 391d9a367b Merge restore of more selfless changes 2015-07-10 19:34:20 -04:00
Nat Goodspeed efa9a0f99c Backed out changeset bab1000e1b2d: restore 'selfless' changes 2015-07-10 19:30:10 -04:00
Rider Linden fe5567639d Change HttpOptions::ptr_t to be shared_ptr<> rather than intrusive. 2015-07-08 12:09:36 -07:00
Rider Linden 1138c57f9a Convert LLCore::HttpHeaders to use shared_ptr<> rather than an intrusive_ptr<> for refrence counting. 2015-07-08 10:01:27 -07:00
Rider Linden 247eb0c9c3 Backout selfles merge 738255dbbfd679d9e615baab3398e5e345bbb3c5 2015-07-07 19:41:27 +01:00
Nat Goodspeed b262ded7e0 MAINT-5351: Remove 'self' parameter from coroutine functions.
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest
builds clean, but the resulting viewer is as yet untested.
2015-07-01 18:33:29 -04:00
Rider Linden d0d58c41b4 Default headers added.
Group manager finished conversion.
Outfit folders coverted.
2015-06-04 17:36:24 -07:00
Merov Linden 1717a7edbd DD-379 : React on update for both listing and version folders 2015-05-01 14:28:58 -07:00
Merov Linden 6877144915 DD-384, DD-388 : Do not trust cached values for stock folders, do not consider a non fetched stock folder empty 2015-04-09 16:47:46 -07:00
Merov Linden 32e5d99c9d DD-291 : Use a heavier but more resilient test for listing updates 2015-04-02 21:40:22 -07:00
Merov Linden 0118a862fb DD-291 : Fix code path on category update in the SLM update case 2015-04-01 21:54:07 -07:00
Merov Linden 84b3899af2 DD-291 : Trigger a GET /listing when receiving a category update 2015-03-28 14:32:50 -07:00
Merov Linden 4ea33a3b3c Pull merge from lindenlanb/viewer-release 2014-11-11 11:40:19 -08: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
Merov Linden 252ad06b7b DD-84 : Final clean up for this fix 2014-06-04 09:58:11 -07:00
Merov Linden 86d75052f6 DD-84 : Fix all active listing modification actions. Add specific message when listing will unlist. Make update skip consistency check when called from internal level (not public API). 2014-06-03 19:46:33 -07:00
Merov Linden c780f730fe DD-92 : pull merge lindenlab/sunshine-external to get AISv3 work 2014-05-30 15:29:27 -07:00
Merov Linden 68b62747ed Pull merge from lindenlab/viewer-release 2014-05-30 14:19:53 -07:00
Merov Linden 23acc30e27 DD-102 : Fix crash when emptying trash containing nested folders. Also avoid getting listings several times 2014-05-16 17:12:22 -07: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
Merov Linden 8719299059 DD-81 : Fixed the stock folder count update using an inventory observer. This observe other changes as well of interest to marketplace and should improve consistency in general 2014-05-01 17:36:17 -07: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
Merov Linden fc4e9d2572 DD-18 : Compute stock for all levels, get folders to update more consistently on all actions in the marketplace 2014-04-08 18:12:48 -07:00
Merov Linden 39659f3c03 DD-20 : Handle edge cases a bit more cleanly 2014-04-03 15:17:31 -07:00
Merov Linden a98346b0c3 DD-20 : WIP : Improve Cut and Paste for marketplace. Still some use cases that are not working well 2014-04-02 18:06:22 -07:00