Commit Graph

343 Commits (5dcd81c15507ad8f487e5727bc7a94de82f6fb45)

Author SHA1 Message Date
Brad Payne (Vir Linden) 6c46b3caf2 SL-395 - can enable/disable scale lock in mesh upload UI. Feature works. 2016-09-06 16:32:41 -04:00
andreykproductengine ce36584552 MAINT-6460 getMeshSize crash 2016-08-01 18:58:41 +03:00
andreykproductengine 9b07078b47 MAINT-6460 Crash calculating mesh complexity 2016-08-01 18:00:54 +03:00
andreykproductengine 13f19b1634 Backed out changeset: c21a7e6d9796 2016-08-01 17:25:20 +03:00
andreykproductengine 1b1f4252e3 MAINT-6460 Crash calculating mesh complexity 2016-07-25 23:43:37 +03:00
andreykproductengine 00a193e740 MAINT-6460 Crash calculating mesh complexity 2016-07-14 15:21:39 +03:00
andreykproductengine b06d5aeec8 MAINT-6460 Crash calculating mesh complexity 2016-07-12 21:37:45 +03:00
andreykproductengine c664ae73c3 MAINT-6460 additional header check 2016-06-15 18:01:44 +03:00
andreykproductengine aca2dab2d0 MAINT-6460 Crash calculating mesh complexity 2016-06-03 20:09:33 +03:00
Ansariel 298fa0828e Remove code duplication caused by merge with 4.0.3 2016-04-05 11:25:01 +02:00
Oz Linden 9be58e915a merge with 4.0.3-release 2016-04-04 15:53:09 -04:00
Oz Linden 5822fb00b6 merge DRTVWR-398 build cleanup fixes 2016-03-07 12:41:11 -05: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 3fdd5abf96 MAINT-5732: Issue in texture_load example and some comments regarding NoOpDeletor 2015-10-15 10:12:58 -07:00
rider eca891e261 MAINT-5732: Fixes for Mac build 2015-10-15 09:32:19 -07: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 2fe0c32109 DRTVWR-409: merge DRTVWR-368 2015-09-29 14:16:58 -07:00
Oz Linden 9757c3a7fa merge changes for 3.8.4-release 2015-09-29 15:24:03 -04:00
Oz Linden 2cd13dcab6 MAINT-5663: prevent crash in mesh handlers for very short sessions 2015-09-23 11:32:39 -04:00
Rider Linden 907efc9cc9 MAINT-5507: Remove llcurl, move constant values and untilities to llcorehttp lib 2015-09-15 17:01:26 -07:00
Rider Linden 96bb17f20b Merge 2015-08-25 11:40:36 -07:00
Rider Linden 7882396811 Remove unused code and llassetuploadresponders files. 2015-07-23 13:06:24 -07: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
maksymsproductengine 6262768772 MAINT-4794 FIXED Present informative dialog if mesh upload fails due to specific reason 2015-01-22 20:57:15 +02:00
maksymsproductengine 8e081ec5a2 MAINT-4794 FIXED Present informative dialog if mesh upload fails due to specific reason 2015-01-22 20:57:15 +02:00
maksymsproductengine 7894a0bb9a merge changes with 3.7.20-release 2014-11-11 03:50:38 +02: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 0c20beda68 Pipelining work. Extend transfer timeout by the pipeline depth
as transfers can appear delayed with deep pipelining and more
requests in the pool.  Added bad HTTP status error (typically
getting a 0 back as HTTP status from libcurl) to the list of
retryable errors.  There's a response stream problem with libcurl
and pipelining that induces this problem.  Retrying helps but
may not be entirely safe.  Watch bug 1420 on the libcurl sourceforge
bug tracker.  Extend options of test/example program to include
un-ranged requests.  Document the excessive data transfer induced
when ranged requests are disabled.  This is an abnormal mode for
very rare users so we'll just eat that for now.
2014-09-04 16:57:44 -04:00
Monty Brandenberg 5dffe16aef Add 'HttpRangeRequestsDisable' debug setting to inhibit use of 'Range:' header.
Intended for users with bad networking gear or twitchy ISPs, if set to
True, forces plain GET requests to asset servers for textures and meshes.
This change kicked off a slight refactor in the mesh repository code which
made it resilient against unexpected 200's and responses not covering
the requested start range.  There's still too much data copying in the
Mesh code (always has been).  Would love to fix that and get rid of the
monolithic temp buffer.  Cleaned up white space damage caused by unnamed
linden who likes to drag his magical editor through code.
2014-08-11 14:38:47 -04:00
Monty Brandenberg 8fe0084108 Merge. Refresh from viewer-library-refresh after 3.7.13 release. 2014-08-04 21:35:57 +00:00
Graham Linden 76e7f978c1 Merge viewer up to 3.7.12, including fixing missed LL_WARNS etc from last release (is that trout you smell on the air? is it?) 2014-07-07 17:59:07 -07:00
Monty Brandenberg 17da4cf57a Cleanup and tuning. Use a consistent index on some initialization
data so their isn't an opportunity for gaps over overruns (init_data).
Start some preliminary tweaking of policy class numbers.  It looks
like I can easily drop the default connection count to '4' and
still hit the throttles.  Did some experiments running pipeline
deeper which was mostly fine for textures but tended to slow
meshes.  Reason uncertain but a depth of '5' seems generally healthy
for mesh.  I had one run of 52.6S with a theoretical minimum of 51.2S.
That's as good as I've ever seen.
2014-06-27 17:25:39 -04:00
Monty Brandenberg 5cca78e718 First HTTP pipelining viewer. Enable pipelining for
GetTexture and GetMesh2 at a pipeline depth of 5.  Create
global debug option, HttpPipelining, to enable and disable
HTTP pipelining (defaults to true).  Tweak texture and
mesh low- and high-water request levels based on pipelining
status and depth.  Fixup texture console which was damaged
in a recent release.  Split logging of the no-request
HTTP error case into two cases:  one for missing URL in
HTTP request, one for HTTP request not created.  A refactor
in llcorehttp is coming:  I will be moving all libcurl-
using code into libcurl-specific modules.
2014-06-23 14:23:33 -04:00
Oz Linden e15002a11c merge changes for 3.7.9-release 2014-06-16 11:42:37 -04:00
Graham Linden a815ad481a Mergeup to 3.7.9 viewer-release 2014-05-29 04:54:58 -07: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
Oz Linden a98b4b6bee merge changes for 3.7.7-release 2014-05-07 11:09:04 -04:00
Graham Linden ae035a0d66 Modify importer to (optionally) improve debug output, perform name-based LOD association, and handle models with many materials. 2014-04-22 08:58:38 -07:00
Oz Linden a5e56067c2 merge changes for 3.7.2-release 2014-03-03 15:36:34 -05:00
Brad Payne (Vir Linden) 895d52a399 merge viewer-release to sunshine-external 2014-02-25 13:25:40 -05:00
Richard Linden 80b4a4a1f5 merge with release 2014-02-24 18:45:59 -08:00
Monty Brandenberg b2fe32e572 SH-4667 HTTP Viewer reports network error instead of a misnamed joint on mesh upload
Tried to add consistent mesh upload retries in the HTTP work but a
combination of bad status choices in the upload service and the
one-shot nature of the upload capabilities means that status
information can be lost.  For now, retain the wonderful manual
retry logic.  At some future point, we might fix the services or
add application-level retry.
2014-01-09 15:18:54 -05:00
Monty Brandenberg ea1f6a6343 SH-4645 Viewer hangs on exit after cancelling a mesh upload.
Problem involved a 3-way livelock between the main, upload
and decomposition threads.  Viewer is shutting down but an
upload is in the 'generate hulls' state.  Main thread asks
upload request to discard and spins waiting for it to finish.
Upload thread is in generateHulls spinning waiting for the
decomposition thread to process a mesh request.  Decomposition
thread is sleeping waiting for main thread to deliver work
that upload thread has asked the decomposition thread to do.
2013-12-06 16:02:53 -05:00
Oz Linden 0031e9a97b merge up to 3.6.10-release; some of the storm-68 changes lost 2013-11-19 17:59:55 -05:00
Xiaohong Bao 555cf227ff trivial: fix several weird compiling errors. 2013-10-25 10:29:45 -06:00
Brad Payne (Vir Linden) 1f8b37e9ad merge 2013-10-16 11:52:43 -04:00
Richard Linden 80dfbbaacd merge from viewer-release 2013-10-08 11:59:24 -07:00