aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-04-05- Add new RegionModulesControllerPlugin to the application modulesHomer Horwitz1-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...
2009-04-03* Proactively fixed bug-potential concerning the fact that m_httpServer ↵lbsa711-6/+1
property was differently referred to between RegionApplicationBase and all other grid services.
2009-04-01Add a PIDFile in [Startup], which the PID will be written toMelanie Thielker1-1/+9
2009-03-29Another bit of refactoring to try to make sense of ↵diva1-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.
2009-03-25* minor: spit out creator name on save iarJustin Clarke Casey1-4/+4
* not yet ready for use
2009-03-19* Group OpenSim.Framework.Servers interfaces togetherJustin Clarke Casey1-0/+1
2009-03-10* Cleanup and CCC (Code Convention Conformance)lbsa711-74/+79
2009-03-06* minor: remove some mono compiler warningsJustin Clarke Casey1-2/+0
2009-03-04* For now, restore file extension for default oar name I accidentally ↵Justin Clarke Casey1-1/+1
removed on the last commit
2009-03-04* Add the abilty to load and save iar item nodes where folders have ↵Justin Clarke Casey1-1/+1
identical names
2009-03-03Refactoring of CreateCommsManagerPlugin.MW1-34/+0
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-02Renamed OpenSimBase m_autoCreateLindenStack to m_autoCreateClientStackMW1-4/+4
2009-03-02Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do ↵MW1-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.
2009-03-02Removed the commented out InitialiseStandaloneServices and ↵MW1-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.
2009-02-26Added IRegionCreator interface that all ApplicationPlugins that are creators ↵MW1-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.
2009-02-26Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin. MW1-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.
2009-02-26Changed the type of the ApplicationRegistry member from RegistryCore to ↵MW1-2/+2
IRegistryCore
2009-02-26Added IRegistryCore and RegistryCore to OpenSim.Framework.MW1-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).
2009-02-26Attempt to fix the "region starts but doesn't load anything" issueSean Dague1-0/+6
2009-02-25From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-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.
2009-02-25A few updates necessary for load balancer.Mike Mazur1-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
2009-02-23Thank you kindly, TLaukkan (Tommil) for a patch that solves:Charles Krinke1-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.
2009-02-20THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva1-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.
2009-02-20Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames1-1/+1
2009-02-18From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-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.
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey1-1/+1
* This is always available at Scene.CommsManager.AssetCache
2009-02-16From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-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.
2009-02-13Guard the values used to set the cursor position in the real time consoleMelanie Thielker1-3/+15
2009-02-12* optimized usings.lbsa711-5/+1
2009-02-11* Refactor inventory archive code to allow direct invocation in order to ↵Justin Clarke Casey1-2/+2
support future unit tests * Add a file I missed out from the last commit (the build was probably fine without it)
2009-02-11* More inventory archive invocation to a proper region moduleJustin Clarke Casey1-5/+0
* Not ready for use yet
2009-02-10Add proper handling for shared vs. unshared modules to the commandMelanie Thielker1-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.
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-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
2009-02-09From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-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.
2009-02-09* Add the ability to type help <command> for more detailed help about a ↵Justin Clarke Casey1-6/+6
specific command if any is available
2009-02-07Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker1-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.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-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!
2009-02-05* Make existing module commanders register as help topicsJustin Clarke Casey1-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
2009-02-05* refactor: Split out module Command class into a separate fileJustin Clarke Casey1-3/+2
2009-02-05* Remove unused region info list from OpenSimBase.Justin Clarke Casey1-24/+2
* The same information is available via SceneManager
2009-02-05* refactor: Move module handling code up into SceneBase from Scene, reducing ↵Justin Clarke Casey1-11/+8
the large number of different things that Scene does
2009-02-04* Introduce a new "default" option for asset_database in the [STORAGE] sectionJustin Clarke Casey1-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
2009-01-06* refactor: Remove the need to separately pass in the http listener to the ↵Justin Clarke Casey1-5/+5
scene - this is always available via CommsManager
2008-12-29* Apply http://opensimulator.org/mantis/view.php?id=2927 with some changesJustin Clarke Casey1-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
2008-12-15* Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaksJustin Clarke Casey1-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
2008-12-02Made BaseOpenSimServer.ShutdownSpecific() public. As the ↵MW1-1/+1
OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service.
2008-11-28* The equals override of 'Location' is not working as expected. This caused ↵Teravus Ovares1-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)
2008-11-28* minor: Eliminate unused paramter in LocalUserServices constructorsJustin Clarke Casey1-2/+2
2008-11-28* refactor: move CreateUser into UserServiceAdminJustin Clarke Casey1-7/+1
2008-11-24Thanks SachaMagne for a patch which adds the following console commands:Dahlia Trimble1-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