aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use thread-safe version of .NET Random as the SDK class is not thread-safe.Justin Clark-Casey (justincc)2014-08-022-1/+73
| | | | | | | | As per http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx, the .NET Random class is not thread-safe. If called by multiple threads at once, methods may return 0. Except for llRand(), other OpenSimulator code did not lock before calling a shared Random instance. This commit adds a ThreadSafeRandom class that extends Random but does internal locking so that it is thread-safe. This change is invisible to existing callers and the explicit locking in the llFrand() implementation is now redundant.
* Turn RestClient.Request() logging down the debug and comment out for now.Justin Clark-Casey (justincc)2014-08-021-5/+5
|
* Fix issue with running "stats record start|stop" console commandJustin Clark-Casey (justincc)2014-08-021-4/+4
| | | | | | In commit e6080a38 (Wed Mar 19 00:29:36 2014) I renamed this from "debug stats record start|stop" Unfortunately, I didn't do this fully so before this commit "stats record start|stop" will report a usage failure with the old debug text. Unfortunately this is in the 0.8 release. The workaround is to repeat the last command twice (e.g. "stats record start start")
* Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)2014-08-022-2/+13
| | | | | | shutdown. Adds regression test for this case.
* Change flavour to post-fixesJustin Clark-Casey2014-06-171-1/+1
|
* Change 0.8 flavour to release0.8Justin Clark-Casey2014-06-171-1/+1
|
* Add [Startup]LogShowStatsSeconds=n parameter which controls the intervalRobert Adams2014-06-161-2/+12
| | | | | that simulator statistics is output to the console. Setting to zero turns stats logging off.
* Change release flavour to rc30.8-rc3Justin Clark-Casey2014-06-101-1/+1
|
* Add rc3 flavour optionJustin Clark-Casey (justincc)2014-06-101-0/+1
|
* Fix a bug where estate not found would result in a dummy estate record with ↵Diva Canto2014-06-101-0/+19
| | | | | | erroneous information. Also, added conversion of EstateSettings from/to key-value pairs in preparation for robust net work connectors.
* Add a 0 parameter overload for RestClient.Request() for use when no auth is ↵dahlia2014-06-101-0/+8
| | | | required. This preserves API compatibility for external modules using this function.
* Fix bug where setting a parcel in a varregion for sale would make sale ↵Justin Clark-Casey (justincc)2014-06-101-0/+21
| | | | | | bitmap generation in WorldMapModule throw an exception on next startup. This commit replaces the hardcoded region sizes in WorldMapModule.GenerateOverlay() with numbers pulled from m_scene.RegionInfo
* Change release flavour to RC2Justin Clark-Casey2014-05-271-1/+1
|
* Merge branch 'master' into 0.8-post-fixesJustin Clark-Casey2014-05-2711-40/+297
|\
| * When saving an OAR in "Publish" mode, also discard Group informationOren Hurvitz2014-05-262-10/+11
| |
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2014-05-231-5/+7
| |\
| | * Compile the regex that extract categories for colourization just once rather ↵Justin Clark-Casey (justincc)2014-05-231-5/+7
| | | | | | | | | | | | | | | | | | than on every single log. Compiling every time is unnecessary since Regex is thread-safe.
| | * Allow console output to be multiline by making colourization regex ↵Justin Clark-Casey (justincc)2014-05-231-1/+1
| | | | | | | | | | | | RegexOptions.SingleLine
| * | Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto2014-05-236-9/+231
| |/
| * Store the Teleport Flags in the Circuit. This doesn't seem to be necessary, ↵Oren Hurvitz2014-05-221-0/+2
| | | | | | | | because everything has worked so far, but it's the right thing to do.
| * Better error-handling and logging in case User Profile requests failOren Hurvitz2014-05-191-12/+12
| |
| * Fix behaviour change in recent commit bbc1dc6 so that ↵Justin Clark-Casey (justincc)2014-05-131-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
| * Replace existing 0 timeout in internal overloaded ↵Justin Clark-Casey (justincc)2014-05-121-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.
| * minor: Add method doc to SynchronousRestObjectRequester.MakeRequest() methodsJustin Clark-Casey (justincc)2014-05-121-5/+27
| |
| * In SynchronousRestObjectRequester.MakeRequest<TRequest, TResponse>(string ↵Justin Clark-Casey (justincc)2014-05-121-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.
* | Change version flavour to RC1. Make version number more normal "0.8" rather ↵Justin Clark-Casey2014-05-061-2/+2
|/ | | | than "0.8.0"
* - When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz2014-05-061-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.)
* minor: Use Vector2.Zero constant and only set in condition branch where it ↵Justin Clark-Casey (justincc)2014-04-301-1/+2
| | | | was missing in TryParseConsole2DVector(). xbuild still compiles.
* Assign value to 'vector' to fix building under xbuild and MonodevelopBlueWall2014-04-301-0/+1
|
* Add "terrain show" console command which outputs terrain height for a given ↵Justin Clark-Casey (justincc)2014-04-301-13/+65
| | | | | | region co-ordinate. For debug purposes.
* Improved HTTP loggingOren Hurvitz2014-04-292-4/+3
|
* Fix issue where terrain height values > 327 caused chaotic spiked terrain.Justin Clark-Casey (justincc)2014-04-251-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
* Restore overload mode accidentally disabled in a prior commit. Add a newMelanie2014-04-251-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.
* - Created a standard function to send XML-RPC requests, which logs them like ↵Oren Hurvitz2014-04-242-75/+139
| | | | | | | we do for other types of HTTP activity. - Changed OpenProfileClient to use the new XML-RPC sending function - Improved logging in WebUtil
* When sending JSON-RPC calls (for UserProfile), use WebUtil instead of ↵Oren Hurvitz2014-04-242-110/+89
| | | | constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
* Apply logging flag to a spammy message that may have been overlooked.Melanie2014-04-241-1/+1
| | | | No one needs to see every thread launch.....
* Eliminated many warningsOren Hurvitz2014-04-233-1/+8
|
* Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz2014-04-221-0/+3
| | | | pre-truncate the description of dynamic textures.
* Refactor: Rename GetOtherSetting to GetSetting and make SetOtherSetting privateMelanie2014-04-121-6/+6
|
* Remove the old XML format parsing. Now additional region params can just beMelanie2014-04-128-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.
* Add per-user checking to PrimLimitsModuleDev Random2014-04-122-0/+19
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Reduced log levels for REST 404 errors to DEBUGOren Hurvitz2014-04-031-1/+2
|
* Better error messages in RestClientOren Hurvitz2014-04-031-3/+2
|
* String matching in REST handlers: must allow '-' as a separator, because the ↵Oren Hurvitz2014-04-021-1/+1
| | | | "/map" handler uses it
* Better string matching when searching for REST handlers: must match an ↵Oren Hurvitz2014-04-021-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".
* Fixed last-resort sending of error response (HTTP 500) when an error occurs ↵Oren Hurvitz2014-04-022-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).
* Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz2014-04-021-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.
* Merge branch 'master' of /home/opensim/var/repo/opensimBlueWall2014-03-271-23/+28
|\
| * Fixed a case where logging an HTTP response failed because the stream was ↵Oren Hurvitz2014-03-271-23/+28
| | | | | | | | non-seekable
* | Merge branch 'master' into m_testBlueWall2014-03-275-18/+30
|\ \ | |/