Commit Graph

27778 Commits (4eef1c8a2e2a8abcc463b9df38b66f025da57589)

Author SHA1 Message Date
Monty Brandenberg 4eef1c8a2e SH-4106 Significantly upgrade the HttpHeaders interface for SSB.
Header container moves from a vector of raw lines to a vector
of string pairs representing name/value pairs in headers.  For
incoming headers, we normalize the name to lowercase and trim
it.  Values are only left-trimmed.  Outgoing headers are left
as-is.  Simple find() method for the common case, forward and
reverse iterators for those few who need to do it themselves.
The HTTP status line (e.g. 'HTTP/1.1 200 Ok') is no longer treated
as a header to be returned to caller.  Unit tests, as usual,
were a bear but they absolutely ensured outgoing HTTP header
conformance after the change.  Grunt work paid off.

LLTextureFetch was also given a second options structure
for texture fetches.  Same as the original but with header return
to caller requested.  Baked textures should use this, the other
20,000 texture fetch requests should continue to use the original.
2013-04-15 16:55:35 +00:00
Monty Brandenberg 626752beab SH-4252 Add second policy class for large mesh asset downloads
Added second mesh class as well as an asset upload class.
Refactored initialization to use less code and more data to
cleanly get http started.  Modified mesh to use the new
http class for large requests (>2MB for now).  Added additional
timeout setting to llcorehttp to distinguish connection timeout
from transport timeout and are now using transport timeout
values for large asset downloads that may need more time.
2013-06-19 13:55:54 -04:00
Monty Brandenberg 7c9d0b58ac Mostly cleanup. A chunk of comment code nobody needs. Dereference
after delete, erase() on end() iterator, a few more like that.
Killed a dead variable.
2013-06-07 20:14:52 -04:00
Monty Brandenberg bad06f68fc Merge. Refresh from viewer-release merged with in-progress work. 2013-06-03 13:59:11 -04:00
Monty Brandenberg 211d1dfb77 SH-4184 Conversion to llcorehttp. Remove unneeded responder
classes (moved to Handlers).
2013-06-03 13:54:15 -04:00
Monty Brandenberg af8c2bc948 Merge. Pull viewer-release to get the new version scheme changes. 2013-05-30 23:51:33 +00:00
Oz Linden dcfb18373e increment version to 3.5.4 2013-05-29 10:45:09 -04:00
Oz Linden f6282b1705 Added tag 3.5.3-release for changeset a277b841729f 2013-05-29 10:44:30 -04:00
Nat Goodspeed 3be79d5371 MAINT-2724: Make viewer explicitly set coroutine stack size.
Introduce LLCoros::setStackSize(), with a compile-time default value we hope
we never have to use. Make LLAppViewer call it with the value of the new
settings variable CoroutineStackSize as soon as we've read settings files.
(While we're at it, notify interested parties that we've read settings files.)
Give CoroutineStackSize a default value four times the previous default stack
size. Make LLCoros::launch() pass the saved stack size to each new coroutine
instance.
Re-enable lleventcoro integration test. Use LLSDMap() construct rather than
LLSD::insert(), which used to return the modified object but is now void.
2013-05-23 16:28:20 -04:00
Oz Linden 7fad053982 merge changes for chui-967 2013-05-22 06:27:51 -04:00
Gilbert Gonzales 892f3cdd2c CHUI-967: fix display of % escapes in chat 2013-05-22 06:26:54 -04:00
Oz Linden 4f08780b00 merge changes for maint-2628 2013-05-21 19:05:23 -04:00
Oz Linden 10f2060547 merge changes for chop-947 2013-05-21 17:34:40 -04:00
Oz Linden 2df5b9caa6 BUG-2432: Crashfix. Don't call map::erase when the iterator is not valid. 2013-05-21 17:25:51 -04:00
Oz Linden f9bdc6d5e1 merge changes for chop-948 2013-05-21 17:13:26 -04:00
callum_linden c0bd675fdb NORSPEC-196: fix frame stalls caused by FmodEx logging 2013-05-21 17:10:30 -04:00
Oz Linden 70b0b2a2e3 revise test for hg to detect and ignore incorrect results from cygwin hg 2013-05-21 15:44:08 -04:00
Oz Linden c13d75dc38 CHOP-947: create summary.json (really python) metadata file for TeamCity results 2013-05-21 12:45:44 -04:00
Oz Linden 187c7042b9 CHOP-948: correctly persist the UpdaterWillingToTest preference 2013-05-21 11:43:37 -04:00
Oz Linden 0ebcb7e3fd increment version to 3.5.3 to be higher than the release 2013-05-17 19:25:29 -04:00
Oz Linden 8ee91f8259 Added tag 3.5.2-release for changeset 9b1b6f33aa53 2013-05-17 15:39:37 -04:00
Oz Linden d69ffe1939 Added tag 3.5.2-beta6 for changeset 9013c07bfe1c 2013-05-15 18:48:28 -04:00
Oz Linden ffec03515e MAINT-2665: fix crashes being counted as wrong type in last_exec_event due to log macro wrapper 2013-05-15 15:45:30 -04:00
Oz Linden fc4a6431c9 CHOP-942: fix crash if update check times out 2013-05-13 16:28:50 -04:00
Oz Linden 4dd245055f Added tag 3.5.2-beta5 for changeset 895628bb5e16 2013-05-10 14:44:52 -04:00
Oz Linden 199086fada merge changes for MAINT-2647 2013-05-10 12:56:25 -04:00
Oz Linden f6519afee0 tag merge of MAINT-2647 2013-05-10 12:56:21 -04:00
Oz Linden 33d9adfa9a Added tag 3.5.2-beta4 for changeset a314f1c94374 2013-05-09 18:02:31 -04:00
Dave Parks b9bb95f8ae MAINT-2647 Fix for some objects not rendering until first LoD switch/selection. 2013-05-09 15:40:02 -05:00
Richard Linden d8f00dd1d1 MAINT-2665 FIX Crashes not being reported in some cases
made marker file lock use append, not truncate
2013-05-09 10:54:32 -07:00
Monty Brandenberg f55f4bf1b2 SH-4163 Run an initial series of 'B' tests on the mesh downloader code
Bleh, had some old initialization code in place that meant I was using
32 connections.  (Always verify with 'netstat'...)  Logic is now to
use 1/4 of MeshMaxConncurrentRequests to head in the direction of 8
at a time.  Full count is used to implement a high-water level keeping
llcorehttp in work.
2013-05-08 18:37:08 -04:00
Monty Brandenberg e3db003cbf SH-4139 Convert http downloaders and responders to llcorehttp patterns
Conversion was mostly trivial.  Did some refactoring in the conversion
of Responders to Handlers which eliminated 5X code replication.  More
will be done especially as this is extended to deal with the various
possible combinations of 200/206/416 status for ranged gets.  There are
a lot of thread races in the existing code, that is going to need some
real attention.  And the scheduling/liveness logic in the thread
management bounces around from thread to thread wasting a lot of time
and using expensive synchronization.  Much can be done here.  But the
result is that the 8 connections in the Mesh corehttp class now perform
as did the 32 connections of the original.  And that 32 actually looks
like it could bleed to over 64.  So, progress...
2013-05-08 13:48:14 -04:00
Oz Linden 0e93223aeb Added tag 3.5.2-beta3 for changeset b6a4ac8f1916 2013-05-07 19:03:04 -04:00
Monty Brandenberg 153c3443a5 SH-4162 Merge metrics repo into this branch and integrate
Pull cpu-based metrics into llcorehttp work to enable A/B
testing.  Simple merge.
2013-05-07 17:27:12 -04:00
Monty Brandenberg aa855b18ec SH-4139 Convert http downloaders and responders to llcorehttp patterns
First version running with all five downloaders converted.  Not certain
all are functional yet and the whole thing is slow but it is running.
2013-05-07 17:24:12 -04:00
Oz Linden 545e033d1e merge changes for DRTVWR-299 2013-05-07 15:11:55 -04:00
Oz Linden 0f3d291ef6 tag merge of DRTVWR-299 2013-05-07 15:11:29 -04:00
Oz Linden f382233fbb merge changes for DRTVWR-315 2013-05-07 13:38:39 -04:00
Oz Linden e921e51c18 tag merge of DRTVWR-315 2013-05-07 13:38:36 -04:00
Oz Linden f864a0b562 tag merge of DRTVWR-316 2013-05-07 13:38:07 -04:00
Monty Brandenberg 2df0a24946 SH-4139 Convert http downloaders and responders to llcorehttp patterns
Initial work completed on linux, moving over to windows to do debug
and refinement.  This includes 5/6 handlers based on existing responders
and use of llcorehttp for the mesh header fetch.
2013-05-07 16:18:31 +00:00
callum_linden 9707f09fd8 MAINT-2657 Fix (speculative) for Crash in LLAudioEngine_FMODEX::shutdown() 2013-05-06 15:01:13 -07:00
Kelly Washington 50cee8d660 MAINT-2655: "Block button in permissions dialog prompt does not block object"
* Fix mute button.
2013-05-03 21:58:19 +00:00
Kelly Washington 06f9f7b2d9 merge 2013-05-03 21:48:17 +00:00
Kelly Washington 8d0d645cd6 MAINT-2646 Viewer should neither grant nor display prompts for unimplemented LSL permissions
* Switch mute to use task id.
reviewed with Simon
2013-05-03 12:53:37 -07:00
Kelly Washington 45a44225f5 MAINT-2646 Viewer should neither grant nor display prompts for unimplemented LSL permissions
* Change text of dialog
* Add callback for mute button
reviewed with Richard and Widely.
2013-05-03 00:58:55 +00:00
Monty Brandenberg 960139aa6f SH-4161 Integrate cpu metrics into LLDeadmanTimer and then metrics viewer
Normalize deadman timer's args on U64/F64.  Internals remain the
same.  Modify mesh to collect and output enhanced CPU metrics.
2013-05-02 19:12:59 -04:00
Monty Brandenberg 11cca95187 SH-4161 Integrate cpu metrics into LLDeadmanTimer and then metrics viewer
Integrated as a ctor-time option to LLDeadmanTimer and have mesh
use this mode for the stats I'm gathering.
2013-05-02 21:59:53 +00:00
Monty Brandenberg b833f574bc SH-4153 Port user and system cpu accounting from example program.
Windows resolution isn't good enough for a strictly increasing
time test in the unit tests.
2013-05-02 15:43:58 +00:00
Monty Brandenberg 7992564e06 SH-4153 Port user and system cpu accounting from example program.
The http_texture_load example program has some cpu usage gathering
tools that should be generally useful and specifically for the
deadman switch.  Port these into llcommon into new all-static
class LLProcInfo.  Add unit test, etc.
2013-05-01 23:19:34 +00:00