aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Now we are past revision 10000, I think its time to start to fix that ↵MW2009-07-101-5/+5
| | | | massive bug that was introduced in revision 1. So here is the first part of that fix.
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-101-1/+1
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* Thank you kindly, RandomHuman for a patch that:Charles Krinke2009-07-081-0/+31
| | | | | | | | | | | | | The admin_close_region method removes a region from the simulator without deleting it. The region can then be recreated by calling admin_create_region with the same UUID. There is also a change to admin_create_region to facilitate this.The reason I want to have this functionality is to make it possible to detach regions when they are idle and recreate them on demand through a web interface. It's probably doable using the existing methods by saving and loading oars, but it also doesn't seem like that should be necessary.
* Make delete-region delete the section from an ini file. Will delete the wholeMelanie Thielker2009-06-261-2/+28
| | | | | | file if it has no sections left.
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* * Add oar saving timeoutJustin Clarke Casey2009-06-051-1/+0
| | | | | | | | | * If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds * Timeout executes abort, since missing assets in an OAR seems bad * This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service * This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Changed the order of things in Scene creation. This piece of code is very ↵diva2009-05-261-6/+7
| | | | | | | | jibbery, widely different results with slightly different orders. This particular order produces the best results in the UC Irvine sim in osgrid. But clearly there's something messed up here. Addresses mantis #3707, mantis #3713, mantis #3686.
* Remove the pre-log4net, discrete output methods from the consolesMelanie Thielker2009-05-201-1/+1
|
* refactoring instantiation of Location object: moving it out of the forDr Scofield2009-05-201-1/+2
| | | | | loop as it really is a "constant"
* Remove the old asset cache and local services and the configurations for themMelanie Thielker2009-05-181-163/+1
|
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-151-1/+1
| | | | | | | | | | | | -- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
* Thank you kindly, BlueWall sir, for a patch that:Charles Krinke2009-05-131-2/+4
| | | | | | | | | | Adding a jsonp wrapper to the user supplied status report uri if the key "callback" exists. It will work with many javascript toolkits to provide an ajax callback to allow the browser to update stats reports without the intervention of an intermediate server.
* Intermediate commit. WILL NOT COMPILE!Melanie Thielker2009-05-041-1/+1
|
* Thank you kindly, BlueWall, for a patch that:Charles Krinke2009-05-021-6/+58
| | | | | | | | | Move json stats to non-published resource name Remove well-known resource name for json stats, creating dynamic uris with private keys and add a user configurable resource name for region owner usage.
* * Actually change the default oar file name to region.oar instead of ↵Justin Clarke Casey2009-04-291-1/+1
| | | | scene.oar, for clarity
* * Make scene.oar the default oar target rather than scene.oar.tar.gz, in an ↵Justin Clarke Casey2009-04-291-1/+1
| | | | attempt to reduce confusion
* Getting rid of -hypergrid=true on the command line. This config now goes ↵diva2009-04-271-0/+5
| | | | inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527.
* Thanks Bluewall for Mantis #3519: a patch that adds simulator uptime and ↵Dahlia Trimble2009-04-251-3/+2
| | | | version to REST/json statistics reporting
* Add copyright headers. Formatting cleanup.Jeff Ames2009-04-221-8/+8
|
* Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:Charles Krinke2009-04-171-0/+37
| | | | | | | This patch adds extended status reporting with the url http://server:port/simstatusx/ [^] . The data is returned in json format as "text/plain" type.
* * Explicitly start the asset server thread so that unit tests can run single ↵Justin Clarke Casey2009-04-141-0/+2
| | | | rather than multi-threaded (which may be behind the occasional test freezes)
* * refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid ↵Justin Clarke Casey2009-04-141-5/+6
| | | | having Initialise() and Initialize() in the same class - very difficult to read.
* - Add new RegionModulesControllerPlugin to the application modulesHomer Horwitz2009-04-051-1/+21
| | | | | | | | - Change several classes to use the new plugin for handling of region-modules (NOTE: No regionmodule is using this yet) - Add necessary prebuild parts (don't forget to runprebuild) Attention: Work in progress. This shouldn't break anything, but you never know...
* * Proactively fixed bug-potential concerning the fact that m_httpServer ↵lbsa712009-04-031-6/+1
| | | | property was differently referred to between RegionApplicationBase and all other grid services.
* Add a PIDFile in [Startup], which the PID will be written toMelanie Thielker2009-04-011-1/+9
|
* Another bit of refactoring to try to make sense of ↵diva2009-03-291-0/+1
| | | | OpenSim.Framework.Communications. Everything that looks like a service, with service handlers, moved to .Services -- i.e. LoginService and Response, and GridInfoService. The rest of the changes were to adapt to the new locations of those files.
* * minor: spit out creator name on save iarJustin Clarke Casey2009-03-251-4/+4
| | | | | | * not yet ready for use
* * Group OpenSim.Framework.Servers interfaces togetherJustin Clarke Casey2009-03-191-0/+1
|
* * Cleanup and CCC (Code Convention Conformance)lbsa712009-03-101-74/+79
|
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-03-061-2/+0
|
* * For now, restore file extension for default oar name I accidentally ↵Justin Clarke Casey2009-03-041-1/+1
| | | | removed on the last commit
* * Add the abilty to load and save iar item nodes where folders have ↵Justin Clarke Casey2009-03-041-1/+1
| | | | identical names
* Refactoring of CreateCommsManagerPlugin.MW2009-03-031-34/+0
| | | | | Plus some general cleanup of a few other files (deleting excess blank lines etc)
* Renamed OpenSimBase m_autoCreateLindenStack to m_autoCreateClientStackMW2009-03-021-4/+4
|
* Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do ↵MW2009-03-021-14/+99
| | | | | | | | | we really still need RegionApplicationBase?] Added a flag (bool m_autoCreateLindenStack = true) which says if the ClientStack will be autocreated and initialised when creating regions. This helps with moving ClientStacks to Region modules. Currently this flag is hardcoded to true, as it is only for testing at the moment, so you need to change the value in the code if you want to turn off auto creating.
* Removed the commented out InitialiseStandaloneServices and ↵MW2009-03-021-51/+0
| | | | InitialiseGridServices (which are now preformed in CreateCommsManagerPlugin) methods from OpenSimBase and HGOpenSimNode. As if we decided to swap back to the old methods we can always re-add them, rather than leave them commented out.
* Added IRegionCreator interface that all ApplicationPlugins that are creators ↵MW2009-02-261-1/+6
| | | | | | | of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event. Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
* Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin. MW2009-02-261-64/+61
| | | | | | Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call. Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
* Changed the type of the ApplicationRegistry member from RegistryCore to ↵MW2009-02-261-2/+2
| | | | IRegistryCore
* Added IRegistryCore and RegistryCore to OpenSim.Framework.MW2009-02-261-11/+23
| | | | | | | | Added a ApplicationRegistry to OpenSimBase. Changed LoadRegionsPlugin so it registers itself to that application registry. Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
* Attempt to fix the "region starts but doesn't load anything" issueSean Dague2009-02-261-0/+6
|
* From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-251-1/+1
| | | | | | | The mono addin filter for the AssetCache is incorrect, this fixes it. The problem only shows up when you have more than one AssetCache to choose from.
* A few updates necessary for load balancer.Mike Mazur2009-02-251-2/+6
| | | | | | | | | - handle GetUser request for nonexistent user gracefully - include throttle levels in ClientInfo - code to save/restore throttles in client stack - only update/send updates to active clients - make animation classes serializable
* Thank you kindly, TLaukkan (Tommil) for a patch that solves:Charles Krinke2009-02-231-27/+32
| | | | | | If -background=true is specified on the command line, a null pointer exception crashes the server in OpenSim/Region/Application/OpenSimBase.cs in method StartupSpecific. Its trying to dereference m_console which is null, presumably because we're in background mode.
* THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva2009-02-201-1/+1
| | | | | | | versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all. There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
* Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames2009-02-201-1/+1
|
* From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-181-19/+35
| | | | | | | I've changed the extension point name, and the internal references that used the same string. I also fixed up the messaging around the asset loader so that it is more explicit.
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-161-1/+1
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-161-18/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change makes two principal implementation changes: [1] It removes the hard coded set of possible asset server client implementations, allowing any arbitrary implementation that has been identified to the PluginLoader as an appropriate extension. The extension point for asset server client extension is /OpenSim/AssetServerClient. All of the old configuration rules have been preserved, and any of the legacy configuration values will still work as they did before, except the implementation is now loaded as a plug-in, rather than as a hard-coded instantiation of a specific class. The re-hashing of IAssetServer as an extension of IPlugin made upgrading of the implementation classes a necessity. Caveat: I have not been able to meaningfully test the crypto-grid clients. I believe they should work correctly, but the refactoring necessary to handle plug-in based initialization (vs constructor-based initialisation) admits the possibility of a problem. [2] The asset cache implementation, previously introduce as a hard-code class instantiation is now implemented as an IPlugin. Once again the previous (configurationless) behavior has been preserved. But now it is possible for those interested in experimenting with cache technologies to do so simply by introducing a new extension for the asset cache extension point (/OpenSim/AssetCache). I've tested all of the configuration settings, after applying the patch to a newly extracted tree, and they seem to work OK.