aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Guard the values used to set the cursor position in the real time consoleMelanie Thielker2009-02-131-3/+15
|
* * optimized usings.lbsa712009-02-121-5/+1
|
* * Refactor inventory archive code to allow direct invocation in order to ↵Justin Clarke Casey2009-02-111-2/+2
| | | | | | | | support future unit tests * Add a file I missed out from the last commit (the build was probably fine without it)
* * More inventory archive invocation to a proper region moduleJustin Clarke Casey2009-02-111-5/+0
| | | | | | * Not ready for use yet
* Add proper handling for shared vs. unshared modules to the commandMelanie Thielker2009-02-101-3/+4
| | | | | | | | interface. Shared modules will now only get added once, so the command handler is called once per module, not once per scene. Removal of scenes has no adverse effects. Nonshared modules will be called for each scene.
* this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield2009-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
* From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-091-26/+42
| | | | | | | | | | | These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
* * Add the ability to type help <command> for more detailed help about a ↵Justin Clarke Casey2009-02-091-6/+6
| | | | specific command if any is available
* Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker2009-02-071-0/+40
| | | | | | | | | line editing, context sensitive help (press ? at any time), command line history, a new plugin command system and new appender features thet let you type while the console is scrolling. Seamlessly integrates the ICommander interfaces.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-2/+3
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* * Make existing module commanders register as help topicsJustin Clarke Casey2009-02-051-2/+10
| | | | | | | * Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff) * Typing help <topic> will give information about commands specific to that topic
* * refactor: Split out module Command class into a separate fileJustin Clarke Casey2009-02-051-3/+2
|
* * Remove unused region info list from OpenSimBase.Justin Clarke Casey2009-02-051-24/+2
| | | | | | * The same information is available via SceneManager
* * refactor: Move module handling code up into SceneBase from Scene, reducing ↵Justin Clarke Casey2009-02-051-11/+8
| | | | the large number of different things that Scene does
* * Introduce a new "default" option for asset_database in the [STORAGE] sectionJustin Clarke Casey2009-02-041-1/+5
| | | | | | | | * This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode * The other options can (local, grid, etc) can still be used explicitly as before * Also change OpenSim.ini.example and the surrounding explanative text
* * refactor: Remove the need to separately pass in the http listener to the ↵Justin Clarke Casey2009-01-061-5/+5
| | | | scene - this is always available via CommsManager
* * Apply http://opensimulator.org/mantis/view.php?id=2927 with some changesJustin Clarke Casey2008-12-291-2/+2
| | | | | | | | | * This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml * This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone) and via the user and asset config xml files for grid mode * Thanks to SirKimba for the patch
* * Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaksJustin Clarke Casey2008-12-151-4/+4
| | | | | | | * This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to. * Thanks Gerhard
* Made BaseOpenSimServer.ShutdownSpecific() public. As the ↵MW2008-12-021-1/+1
| | | | OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service.
* * The equals override of 'Location' is not working as expected. This caused ↵Teravus Ovares2008-11-281-0/+2
| | | | | | | sim restarts to fail because the test that searches for and shutsdown the UDP server listener for that region never found and shutdown the udp server. hence the error message, "only one listener on port". * This is a high profile candidate for a unit test. (big)
* * minor: Eliminate unused paramter in LocalUserServices constructorsJustin Clarke Casey2008-11-281-2/+2
|
* * refactor: move CreateUser into UserServiceAdminJustin Clarke Casey2008-11-281-7/+1
|
* Thanks SachaMagne for a patch which adds the following console commands:Dahlia Trimble2008-11-241-0/+15
| | | | | | | login-enable : Allow login at sim level (opensim.exe) login-disable: Stop any login BUT keep the logged avt login-status : Return the actual status
* Mantis#2660. Thank you kindly, Ruud Lathrop for a patch that:Charles Krinke2008-11-231-2/+2
| | | | | | | | This patch adds the option of adding the email when you create a new user. This works in Gridmode as none Gridmode. This option is also added to RemoteAdminPlugin. With a new handler you can create a user with a email.
* another small bit of startup refactoringMW2008-11-101-0/+5
|
* Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen2008-11-081-1/+0
| | | | release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
* a little bit more refactoring of startupMW2008-11-061-6/+8
|
* Thank you kindly, Diva for a patch that:Charles Krinke2008-11-061-5/+10
| | | | | Makies OpenSimBase even more friendly to subclassing
* moved the initial loading/setting of the config settings to its own class, ↵MW2008-11-051-173/+10
| | | | ConfigurationLoader. To make it easier to customise the loading of those settings and possible in the future move it to a plugin.
* Moved a couple of more configuration fields to ConfigSettingsMW2008-11-051-5/+10
|
* more startup/initialisation refactoringMW2008-11-051-40/+57
|
* Moved most of the configuration fields from Opensimbase to their own ↵MW2008-11-051-65/+54
| | | | Class... Framework/ConfigSettings.
* * minor: eliminate unused config fieldJustin Clarke Casey2008-11-031-3/+4
|