aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-27Change release flavour to RC2Justin Clark-Casey1-1/+1
2014-05-26When saving an OAR in "Publish" mode, also discard Group informationOren Hurvitz2-10/+11
2014-05-23Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto6-9/+231
2014-05-23Compile the regex that extract categories for colourization just once rather ↵Justin Clark-Casey (justincc)1-5/+7
than on every single log. Compiling every time is unnecessary since Regex is thread-safe.
2014-05-23Allow console output to be multiline by making colourization regex ↵Justin Clark-Casey (justincc)1-1/+1
RegexOptions.SingleLine
2014-05-22Store the Teleport Flags in the Circuit. This doesn't seem to be necessary, ↵Oren Hurvitz1-0/+2
because everything has worked so far, but it's the right thing to do.
2014-05-19Better error-handling and logging in case User Profile requests failOren Hurvitz1-12/+12
2014-05-13Fix behaviour change in recent commit bbc1dc6 so that ↵Justin Clark-Casey (justincc)1-5/+10
SynchronousRestObjectRequester.MakeRequest() calls with no timeout specified use the default HttpWebRequest timeout as previously. I mistakenly thought that that default request timeout was inifite rather than 100 seconds, restoring previously behaviour. As per http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.timeout%28v=vs.100%29.aspx Relates to http://opensimulator.org/mantis/view.php?id=7165
2014-05-12Replace existing 0 timeout in internal overloaded ↵Justin Clark-Casey (justincc)1-3/+4
SynchronousRestObjectRequester.MakeRequest() methods with proper Timeout.Infinite (-1) instead. Triggered by recent faf9ba53 though this was wrong in the code before, it's just that we didn't actually try to set the timeout given.
2014-05-12minor: Add method doc to SynchronousRestObjectRequester.MakeRequest() methodsJustin Clark-Casey (justincc)1-5/+27
2014-05-12In SynchronousRestObjectRequester.MakeRequest<TRequest, TResponse>(string ↵Justin Clark-Casey (justincc)1-0/+2
verb, string requestUrl, TRequest obj, int pTimeout, int maxConnections) actually set timeout on WebRequest if given. Previously, we were doing nothing with this parameter. No effect on current code since none of the 6 callers attempt to use the timeout.
2014-05-06Change version flavour to RC1. Make version number more normal "0.8" rather ↵Justin Clark-Casey1-2/+2
than "0.8.0"
2014-05-06- When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz1-0/+4
Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
2014-04-30minor: Use Vector2.Zero constant and only set in condition branch where it ↵Justin Clark-Casey (justincc)1-1/+2
was missing in TryParseConsole2DVector(). xbuild still compiles.
2014-04-30Assign value to 'vector' to fix building under xbuild and MonodevelopBlueWall1-0/+1
2014-04-30Add "terrain show" console command which outputs terrain height for a given ↵Justin Clark-Casey (justincc)1-13/+65
region co-ordinate. For debug purposes.
2014-04-29Improved HTTP loggingOren Hurvitz2-4/+3
2014-04-25Fix issue where terrain height values > 327 caused chaotic spiked terrain.Justin Clark-Casey (justincc)1-17/+17
Per http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life terrain heights up to 508 are possible on the LL grid (and were available on previous releases of OpenSimulator). The obvious way to allow both this and equivalent -z values, is to rewiden the internal terrain height storage from short to int. The memory tradeoff is most noticeable on the maximum 8192x8192 var region (equiv to 1024 normal regions), where it adds 128mb to resident use (128k on a normal region) This is still better than the double used in previous releases. This does not affect physics or data storage since they already use float and double respectively. This may not be the final solution if we actually want to sacrifice -z, >327 or something else. Relates to http://opensimulator.org/mantis/view.php?id=7076
2014-04-25Restore overload mode accidentally disabled in a prior commit. Add a newMelanie1-2/+4
config option, LogOverloads, to log when a thread pool overload occurs. This option defaults to "True" because the logging data is useful for diagnosing threading issues.
2014-04-24- Created a standard function to send XML-RPC requests, which logs them like ↵Oren Hurvitz2-75/+139
we do for other types of HTTP activity. - Changed OpenProfileClient to use the new XML-RPC sending function - Improved logging in WebUtil
2014-04-24When sending JSON-RPC calls (for UserProfile), use WebUtil instead of ↵Oren Hurvitz2-110/+89
constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
2014-04-24Apply logging flag to a spammy message that may have been overlooked.Melanie1-1/+1
No one needs to see every thread launch.....
2014-04-23Eliminated many warningsOren Hurvitz3-1/+8
2014-04-22Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz1-0/+3
pre-truncate the description of dynamic textures.
2014-04-12Refactor: Rename GetOtherSetting to GetSetting and make SetOtherSetting privateMelanie1-6/+6
2014-04-12Remove the old XML format parsing. Now additional region params can just beMelanie8-1186/+8
added as they are already exposed through an API when using Nini. That will remove the need to always edit RegioInfo just to add a region based setting.
2014-04-12Add per-user checking to PrimLimitsModuleDev Random2-0/+19
Signed-off-by: Melanie <melanie@t-data.com>
2014-04-03Reduced log levels for REST 404 errors to DEBUGOren Hurvitz1-1/+2
2014-04-03Better error messages in RestClientOren Hurvitz1-3/+2
2014-04-02String matching in REST handlers: must allow '-' as a separator, because the ↵Oren Hurvitz1-1/+1
"/map" handler uses it
2014-04-02Better string matching when searching for REST handlers: must match an ↵Oren Hurvitz1-3/+8
entire path component (ending with '/' or a similar character). For example, these should match: "/assets" and "/assets/12345", but these shouldn't match: "/assets" and "/assets_exist".
2014-04-02Fixed last-resort sending of error response (HTTP 500) when an error occurs ↵Oren Hurvitz2-10/+10
while handling a request. The previous code didn't actually send the response, so the caller was stuck until the timeout (100 seconds).
2014-04-02Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz1-0/+50
list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
2014-03-27Fixed a case where logging an HTTP response failed because the stream was ↵Oren Hurvitz1-23/+28
non-seekable
2014-03-27Log errors in MakeRequest() as INFO, not ERROR. Some communications problems ↵Oren Hurvitz1-2/+2
are benign (e.g., can't send Friend status update to a region that is down), so don't log them as ERROR so soon. We rethrow the exception, so the caller can still decide to log the error as an ERROR. Resolves http://opensimulator.org/mantis/view.php?id=7077
2014-03-26refactor: Actually use MaptileStaticFile in RegionInfo rather than having ↵Justin Clark-Casey (justincc)1-10/+6
both a public field and a get property
2014-03-26- Increased the threadpool timeout to 10 minutesOren Hurvitz1-1/+1
- Changed a few places that launch long-lasting threads to skip the timeout altogether
2014-03-25Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵Oren Hurvitz3-4/+18
OpenSims fail if they get an unknown "Content-Encoding"
2014-03-25Sync code that has moved in development branch with changes in masterBlueWall1-45/+41
2014-03-25Move from UserProfileModule for general availabilityBlueWall1-0/+215
2014-03-25Use the "Content-Encoding" header to indicate gzipped streamsOren Hurvitz3-5/+7
2014-03-25Always throw an exception if MakeRequest (used for HTTP POST) fails. ↵Oren Hurvitz2-21/+12
(Previously many exceptions were ignored) Resolves http://opensimulator.org/mantis/view.php?id=6949
2014-03-25Improved logging of HTTP requestsOren Hurvitz3-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
2014-03-25Fixed unit tests due to changes in the threadpoolOren Hurvitz1-8/+19
2014-03-25Run slow operations in a separate thread, instead of using FireAndForget ↵Oren Hurvitz1-0/+23
(which has a 1-minute timeout) Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25Changed LogThreadPool to have 4 logging levels. Added console command "debug ↵Oren Hurvitz2-19/+78
threadpool level" to set the logging level. Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25Added a watchdog to abort slow threads in the main thread poolOren Hurvitz1-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
2014-03-25LogThreadPool: when the thread is for ProcessPacketMethod, also log the ↵Oren Hurvitz1-3/+12
packet type Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25Refactored DebugFlagsEnumOren Hurvitz1-5/+14
Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25Automatically start logging FireAndForget activity if the threadpool is fullOren Hurvitz1-4/+19
Resolves http://opensimulator.org/mantis/view.php?id=6945