aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Actually use MaptileStaticFile in RegionInfo rather than having ↵Justin Clark-Casey (justincc)2014-03-261-10/+6
| | | | both a public field and a get property
* - Increased the threadpool timeout to 10 minutesOren Hurvitz2014-03-261-1/+1
| | | | - Changed a few places that launch long-lasting threads to skip the timeout altogether
* Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵Oren Hurvitz2014-03-253-4/+18
| | | | OpenSims fail if they get an unknown "Content-Encoding"
* Use the "Content-Encoding" header to indicate gzipped streamsOren Hurvitz2014-03-253-5/+7
|
* Always throw an exception if MakeRequest (used for HTTP POST) fails. ↵Oren Hurvitz2014-03-252-21/+12
| | | | | | (Previously many exceptions were ignored) Resolves http://opensimulator.org/mantis/view.php?id=6949
* Improved logging of HTTP requestsOren Hurvitz2014-03-253-49/+165
| | | | | | | | | | | - MemoryBuffer isn't seekable, so we can't log it. Log the string instead. - Handle compressed streams - Don't attempt to dump binary data. Either don't log it at all (if we know it's binary), or at least convert non-ASCII characters to ASCII. - Log responses to HTTP requests - Use the same log prefix for all of these log messages ("[LOGHTTP]"), to make them easy to see at a glance - Increased the snippet length to 200 (80 doesn't show enough), and add "..." only if the message was actually truncated Resolves http://opensimulator.org/mantis/view.php?id=6949
* Fixed unit tests due to changes in the threadpoolOren Hurvitz2014-03-251-8/+19
|
* Run slow operations in a separate thread, instead of using FireAndForget ↵Oren Hurvitz2014-03-251-0/+23
| | | | | | (which has a 1-minute timeout) Resolves http://opensimulator.org/mantis/view.php?id=6945
* Changed LogThreadPool to have 4 logging levels. Added console command "debug ↵Oren Hurvitz2014-03-252-19/+78
| | | | | | threadpool level" to set the logging level. Resolves http://opensimulator.org/mantis/view.php?id=6945
* Added a watchdog to abort slow threads in the main thread poolOren Hurvitz2014-03-251-11/+269
| | | | | | | | | | If a task in the thread pool hangs then it will permanently take up one of the threads. If this happens repeatedly then the thread pool will become exhausted and OpenSim will fail. This watchdog terminates threads in the thread pool that have been executing for over a minute (which probably means they're hung). Resolves http://opensimulator.org/mantis/view.php?id=6945
* LogThreadPool: when the thread is for ProcessPacketMethod, also log the ↵Oren Hurvitz2014-03-251-3/+12
| | | | | | packet type Resolves http://opensimulator.org/mantis/view.php?id=6945
* Refactored DebugFlagsEnumOren Hurvitz2014-03-251-5/+14
| | | | Resolves http://opensimulator.org/mantis/view.php?id=6945
* Automatically start logging FireAndForget activity if the threadpool is fullOren Hurvitz2014-03-251-4/+19
| | | | Resolves http://opensimulator.org/mantis/view.php?id=6945
* Added debug flag: LogThreadPool. It makes us log every use of the main ↵Oren Hurvitz2014-03-251-29/+114
| | | | | | threadpool. Resolves http://opensimulator.org/mantis/view.php?id=6945
* Refactored: ExternalRepresentationUtils should be the only place where the ↵Oren Hurvitz2014-03-243-6/+22
| | | | | | "CreatorData" field is calculated, to ensure uniformity Resolves http://opensimulator.org/mantis/view.php?id=6933
* When updating the CreatorId of an inventory item, automatically update the ↵Oren Hurvitz2014-03-241-1/+4
| | | | | | CreatorIdAsUuid field as well Resolves http://opensimulator.org/mantis/view.php?id=6933
* Get the full viewer name even if it's (incorrectly) sent in the 'Channel' fieldOren Hurvitz2014-03-241-0/+32
| | | | | | Recent versions of Firestorm and Singularity have started sending the viewer name in the 'Channel' field, leaving only their version number in the 'Viewer' field. So we need to search both of these fields for the viewer name. This resolves http://opensimulator.org/mantis/view.php?id=6952
* Allow Mono Plugin Registry setting for RegionsDev Random2014-03-221-6/+7
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Add monitored thread last update times as stats in "show stats all"Justin Clark-Casey (justincc)2014-03-211-0/+26
| | | | These have the format server.thread.<thread-name>
* Allow Region specific static maptiles to be loaded from file.Jak Daniels2014-03-181-0/+21
|
* Revert "Simplify DoubleQueue to eliminate redundant sempahore work."Justin Clark-Casey (justincc)2014-03-191-7/+27
| | | | | | This reverts commit 52b7b40034ddbb21d06b11ddc4eb6d766b0f616d. Got the semantics wrong - the sempahore is required so that the blocking thread waits for a signal.
* Simplify DoubleQueue to eliminate redundant sempahore work.Justin Clark-Casey (justincc)2014-03-191-27/+7
| | | | | Exclusion is already guaranteed by the lock on m_syncRoot. Semaphore could not allow more than one thread in these sections anyway since the underlying SDK structures are not thread-safe.
* minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)2014-03-191-2/+10
|
* Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)2014-03-191-3/+3
| | | | from debug to general command category
* Allow a snapshot of stats to be dumped to a file with a "stats save" commandJustin Clark-Casey (justincc)2014-03-191-3/+46
|
* Add httpserver.<port>.QueuedPollResponses and ↵Justin Clark-Casey (justincc)2014-03-181-2/+24
| | | | httpserver.<port>.ProcessedPollResponses statistics
* minor: Correction to description of QueuedPollResponses since this covers ↵Justin Clark-Casey (justincc)2014-03-181-1/+1
| | | | long poll and other 'poll' types
* Add httpserver.<port-number>,QueuedPollResponses statJustin Clark-Casey (justincc)2014-03-181-0/+13
| | | | This shows the number pf poll responses queued for processing.
* Extend locking in BlockingQueue to cover operations that are not guaranteed ↵Justin Clark-Casey (justincc)2014-03-181-10/+8
| | | | to be thread-safe
* Allow "show stats" console command to take a full stat name and display only ↵Justin Clark-Casey (justincc)2014-03-181-1/+23
| | | | | | that stat. For example, scene.test.RootAgents will show only the RootAgents stat in the scene named "test"
* Lock m_syncRoot on DoubleQueue.Count. This is not documented as a ↵Justin Clark-Casey (justincc)2014-03-181-1/+5
| | | | thread-safe operation
* Add regression test for http inventory fetch.Justin Clark-Casey (justincc)2014-03-173-397/+122
| | | | Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
* Change terrain update sending to be triggered by frame tick ratherRobert Adams2014-03-101-5/+46
| | | | | | | | | than everytime terrain is changed. The TerrainModule now hooks the frame event and, if terrain has changed, sends terrain updates to the clients. This polling pattern replaces the previous push on change pattern and will make it easier to do per client throttling and per scene presence terrain update ordering.
* minor: Increase size of parcel name field in "land show" console command ↵Justin Clark-Casey (justincc)2014-03-061-1/+6
| | | | output. Construct table using CDT rather than string formats
* Add UUID and ready status (whether region has finished starting up) to "show ↵Justin Clark-Casey (justincc)2014-03-051-0/+43
| | | | regions" console output.
* Set up a StreamReader and call ReadToEnd() instead of using the ↵Justin Clark-Casey (justincc)2014-02-271-41/+13
| | | | | | GetStreamString() extension method This eliminates some stream seeking that was never necessary and makes disposable of the StreamReader consistent with other code
* Remove long unused UntrustedWebRequest classJustin Clark-Casey (justincc)2014-02-271-230/+0
| | | | This purports to check web requests but doesn't appear to actually do that.
* refactor: More consistently use using construct within WebUtil to match ↵Justin Clark-Casey (justincc)2014-02-271-225/+218
| | | | other existing code there.
* Add more details to InvalidOperationException logging in ↵Justin Clark-Casey (justincc)2014-02-271-3/+4
| | | | SychronousRestFormsRequest.MakeRequest().
* Add Util method to load OpSys env varsDev Random2014-02-261-83/+87
|
* Log information about which function, request data and agent ID triggered an ↵Justin Clark-Casey (justincc)2014-02-141-0/+24
| | | | XmlRpcGroupsServiceConnector error
* Merge branch 'justincc-master'Justin Clark-Casey (justincc)2014-01-311-3/+3
|\
| * Make sure Web streams are disposed after useOren Hurvitz2014-01-311-3/+3
| |
* | clear land tainting when tested. Then testing, pass scene to LandObject as ↵Robert Adams2014-01-281-1/+5
| | | | | | | | now needed to get region size
* | Fix terrain tests by properly initializing low detail terrain to zero height.Robert Adams2014-01-281-0/+1
| | | | | | | | Also remove PI heightmap test as new heightmaps only have two significant digits.
* | varregion: enable teleporting to a varregion by clicking on the map andRobert Adams2014-01-262-0/+51
| | | | | | | | | | | | | | pressing the 'teleport' button. This commit adds returning region map info for all the subregions of a varregion. This also handles the selection of the extra region and then the displacement of the postion so the teleport is to the correct location.
* | Merge branch 'master' into varregionRobert Adams2014-01-213-21/+43
|\ \
| * \ Merge branch 'justincc-master'Justin Clark-Casey (justincc)2014-01-201-14/+7
| |\ \ | | |/
| | * Stop exceptions being generated on agent connection if a telehub object has ↵Justin Clark-Casey (justincc)2014-01-201-14/+7
| | | | | | | | | | | | been deleted or has no spawn points.
| * | Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz2014-01-202-7/+36
| | | | | | | | | | | | | | | | | | "Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'.