aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto2015-09-041-1/+0
| | | | OpenSim.Framework.
* Deleted commented codeDiva Canto2015-09-041-51/+0
|
* Transformed the LLUDP ad-hoc plugin into a region module. It works.Diva Canto2015-09-031-83/+68
|
* First commit where physics work as region module.Diva Canto2015-08-311-14/+1
| | | | | Moved all physics dlls out of Physics and into bin directly, so they can be found by the module loader. Removed call to PhysicsPluginManager.
* More namespace and dll name changes. Still no functional changes.Diva Canto2015-08-301-1/+1
|
* Renamed the namespaces tooDiva Canto2015-08-301-1/+1
|
* Moved instantiation of SceneCommunicationService object to inside the scene ↵Diva Canto2015-08-301-3/+1
| | | | constructor. This was a left over from the original monolithic design of scene communications. The less the instantiators of scenes know about the scene's internals, the better.
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-1/+1
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* Make small adjustment to JobEngine default from previous commit to enable it ↵Justin Clark-Casey (justincc)2014-11-251-1/+1
| | | | when [Startup] section is not present (though this is extremely unlikely).
* Add [Startup] JobEngineEnabled setting that allows the job engine to be ↵Justin Clark-Casey (justincc)2014-11-251-1/+3
| | | | disabled for testing purposes if necessary.
* Start JobEngine by default in simulator for now.Justin Clark-Casey (justincc)2014-11-251-0/+2
|
* Allow the "debug scene set physics false|true" command to work when ↵Justin Clark-Casey (justincc)2014-07-291-3/+4
| | | | | | bulletsim physics is running in a separate thread. This will also allow the "disable physics" setting in the region debug viewer dialog to work in this circumstance.
* Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)2014-07-021-10/+34
| | | | | | shutdown. Adds regression test for this case.
* Fixed a few things pertaining to interfacing with the estate service. ↵Diva Canto2014-06-011-8/+4
| | | | | | Specifically, StoreEstateSettings was not being used anywhere; instead EstatSetting.Save was being called, but that method is a trigger to the DB-layer code directly, which, besides being wrong, was making it impossible to replace the service with a remote connector. Also added more packing/unpacking code.
* Restore overload mode accidentally disabled in a prior commit. Add a newMelanie2014-04-251-0/+6
| | | | | | 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.
* Allow the setting from the environment to take effect if no explicit setting ↵Melanie2014-03-221-5/+19
| | | | | | is given. This is done by calling the constructor only with a directory if one is actually given.
* Allow Mono Plugin Registry setting for RegionsDev Random2014-03-221-1/+4
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams2013-12-141-1/+1
| | | | | | Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
* Merge branch 'master' into varregionRobert Adams2013-11-151-1/+1
|\
| * refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-1/+1
| | | | | | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* | varregion: add plumbing to pass region size from Scene down to theRobert Adams2013-11-041-3/+4
| | | | | | | | | | | | physics engine. Older physics engines will default to the legacy region size. Update BulletSim to use the new region size information.
* | VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams2013-09-281-1/+1
|/ | | | | | | | count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
* Add a JSON web fetch of the statististics managed by StatsManager.Robert Adams2013-08-081-0/+2
| | | | | | | | | | Disabled by default. Enable by setting [Startup]ManagedStatsRemoteFetchURI="Something" and thereafter "http://ServerHTTPPort/Something/" will return all the managed stats (equivilent to "show stats all" console command). Accepts queries "cat=", "cont=" and "stat=" to specify statistic category, container and statistic names. The special name "all" is the default and returns all values in that group.
* Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2013-07-081-4/+4
| | | | | | | | | to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
* refactor: Make stats and sim status simpler by extending BaseStreamHandler ↵Justin Clark-Casey (justincc)2013-07-061-57/+17
| | | | like other handlers instead of implementing the IStreamedRequestHandler interface directly
* Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)2013-06-171-4/+3
| | | | | | simulator console This means the "show stats" command is now active on the robust console.
* On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)2013-05-031-3/+1
| | | | | | | starting scenes before others have been created. This aims to avoid a race condition where scenes could look to inform neighbours that they were up before those neighbours had been created. http://opensimulator.org/mantis/view.php?id=6618
* refactor: Remove IClientNetworkServer.NetworkStop() in favour of existing ↵Justin Clark-Casey (justincc)2013-04-161-1/+1
| | | | | | | Stop(). This was an undocumented interface which I think was for long defunct region load balancing experiments. Also adds method doc for some IClientNetworkServer methods.
* Log same environment information to Robust log as is already done for ↵Justin Clark-Casey (justincc)2013-03-141-4/+0
| | | | simulator logs, for debug purposes
* minor: Log location in which simulator/robust was started.Justin Clark-Casey (justincc)2013-02-281-0/+4
| | | | Useful information for system debugging, especially if logging and ini files locations have been changed from defaults.
* Get "show modules" console command to obey selected command line region/sJustin Clark-Casey (justincc)2013-02-271-1/+1
|
* Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)2013-02-061-1/+1
|
* Adds the ability to load more then one IClientNetworkServer thereby allowing ↵teravus2013-02-031-15/+22
| | | | additional client network servers at the same time. Use comma separated values in clientstack_plugin in your config. Additional plugins lying around shouldn't be picked up because the loader only loads configured dll assemblies and breaks at the first IClientNetworkServer found in the assembly. (the only new functionality is the ability to specify more in config). Note: The existing functionality also passes in a nini config.. and has a boolean to determine if the client network server should be initialized for a specific scene.
* Fix problem where restarting the currently selected region would stop ↵Justin Clark-Casey (justincc)2012-11-231-5/+6
| | | | | | various console commands (e.g. "show users") from working. This was because the "currently selected" scene reference was being left as the dead scene instead of the restarted Scene object.
* Make "config show/set/get/save" console commands available on all serversJustin Clark-Casey (justincc)2012-11-221-42/+23
|
* factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)2012-11-221-1/+1
|
* If no ISimulationDataStore or IEstateDataStore implementations could be ↵Justin Clark-Casey (justincc)2012-11-141-0/+14
| | | | | | | loaded then halt with informative message rather than a later NRE. Halt already occurs if the relevant config sections are not present. So it also makes sense to halt if the implementations themselves cannot be loaded.
* Remove the old style module loader and all references to itMelanie2012-11-121-25/+1
|
* minor: Make the error thrown logged when a simulator in grid mode is trying ↵Justin Clark-Casey (justincc)2012-10-261-1/+1
| | | | to set estate owner to a user that doesn't exist a little more obvious.
* Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)2012-10-111-37/+35
| | | | | | This allows different categories of stats to be shown, with options to list categories or show all stats. Currently categories are scene and simulator and only a very few stats are currently registered via this mechanism. This commit also adds percentage stats for packets and blocks reused from the packet pool.
* Don't enable the thread watchdog until all regions are ready.Justin Clark-Casey (justincc)2012-08-151-2/+7
| | | | This is to avoid false positives when the machine is under heavy load whilst starting up.
* Create the ability for physics modules to request assets on demand byMelanie2012-08-011-0/+1
| | | | | | themselves. For that, the physics module simply calls RequestAssetMethod, which in turn points to Scene.PhysicsRequestAsset. This gives physics access to the asset system without introducing unwanted knowledge of the scene class.
* Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2012-07-251-1/+1
| | | | This better reflects the long-term purpose of that project and matches Monitoring modules.
* Add experimental "OpenSim object memory churn" statistics to output of ↵Justin Clark-Casey (justincc)2012-07-251-17/+19
| | | | | | | | region console "show stats" command This aims to capture the amount of memory that OpenSim turns over whilst operating a region. This memory is not lost - apart from leaks it is reclaimed by the garbage collector. However, the more memory that gets turned over the more work the GC has to do to reclaim it.
* Fix regression in 5f4f9f0 (Fri Jun 8 2012) which stopped "show stats" and ↵Justin Clark-Casey (justincc)2012-06-081-0/+2
| | | | json stats from working
* Add regression test for client logout due to ack timeout.Justin Clark-Casey (justincc)2012-06-081-2/+0
|
* Saving estate state is really slow (relatively) and it getsMic Bowman2012-05-101-5/+7
| | | | | | | | | | completely rewritten every time a region starts up. This makes the data write only when the data was not already read from the database. There is a still a major race condition whenever two regions share the same estate data, but at least it won't be triggered on startup.
* Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)2012-05-031-1/+10
| | | | | | can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
* Allow the user to enter help topics in upper or lowercase.Justin Clark-Casey (justincc)2012-03-241-5/+6
| | | | | Forcing uppercase (e.g. help Assets) is too annoying. Thanks to WhiteStar for pointing this out.
* Rename Scene.StartTimer() to Start() - this method no longer uses a timer. ↵Justin Clark-Casey (justincc)2012-03-231-1/+1
| | | | Comment out more effectively unused old heartbeat code.