Commit Graph

8423 Commits (4eba67175db73bce439ea3f18242c4038d9acb92)

Author SHA1 Message Date
MW 8ebd5b409a Renamed OpenSimBase m_autoCreateLindenStack to m_autoCreateClientStack 2009-03-02 18:04:00 +00:00
MW c256fbbccd Added more error info to CreateCommsManagerPlugin. 2009-03-02 17:47:42 +00:00
MW bf3e1956fb Added some debug output to CreateCommsManagerPlugin 2009-03-02 17:29:21 +00:00
MW 03b8eddc37 Added OpenSim.Client.Linden which is a (non shared) region module that creates and initialises the LindenClientStack (or actually whatever client stack was set in opensim.ini) for that region. Currently this module is still at a early stage so just for testing, so its hardcoded to be disabled. To enable first turn off auto creation of the client stack in opensimbase (see last revision) and then in OpenSim.Client.Linden.LLClientStackModule change bool m_createClientStack = false; to true. 2009-03-02 17:18:24 +00:00
MW 3c46ee9326 Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do 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-02 16:33:11 +00:00
MW ff76102644 Changed IClientNetworkServer.AddScene method from void AddScene(Scene x) to void AddScene(IScene x). As there should be no need for the client view to have a reference to Scene. IScene should be all it needs. 2009-03-02 14:42:01 +00:00
MW 1dcbea0144 Removed the commented out InitialiseStandaloneServices and 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-03-02 11:21:18 +00:00
MW 202f990d2a After another heroic and bloody battle, OpenSim Dino Expedition 1, killed off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time. 2009-03-02 11:03:11 +00:00
MW aae39f9e3e As part of a dinosaur hunting expedition, IScenePresenceBody.cs was terminated. The expedition leader, MW, believes it never lead a meaningful life, and is sure it hasn't contributed anything in the last 500,000 years (or 2 years). 2009-03-02 10:52:27 +00:00
Charles Krinke dc314ee50c Mantis#3249. Thank you kindly, Tlaukkan (Tommil) for a patch that:
* Removed compiler warnings
* Updated protobuf-net and MXP license files.
2009-03-01 19:33:12 +00:00
Dahlia Trimble 63992d92fe Thanks tommil for mantis #3248 - a patch that adds support for avatar movement to MXP module. 2009-03-01 18:31:27 +00:00
Jeff Ames 808e4a847a Update svn properties, add copyright headers, minor formatting cleanup. 2009-03-01 09:15:31 +00:00
MW 23a7af4538 Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields. 2009-02-28 16:42:13 +00:00
MW 77b70759a6 Copied the Util.ReadSettingsFromIniFile method from the branch to trunk. 2009-02-28 16:13:20 +00:00
MW 7a2985b441 Changed it so only .ini file types are loaded from the (optional) config directory rather all files types in that folder. 2009-02-28 15:16:12 +00:00
MW d6b8b41a5b Applied Patch from mantis #3245. Thanks tlaukkan/Tommil 2009-02-28 14:04:02 +00:00
MW a0b55636a0 updating svn ignore properties 2009-02-27 21:19:32 +00:00
MW 5626d43259 Changed the CreateCommsManagerPlugin so it requests a IRegionCreator and subscribes to the OnNewRegionCreated event on that interface rather than requesting the LoadRegionsPlugin directly.
Removed the reference to OpenSim.ApplicationPlugins.LoadRegions from the CreateCommsManagerPlugin project.
2009-02-27 17:03:27 +00:00
MW bb9ba1602b Changed the order of the OpenSim.Grid.GridServer and OpenSim.Grid.GridServer.Modules projects in prebuild.xml. Hopefully this will fix the mono build problem. 2009-02-27 16:07:11 +00:00
MW d45fa9c2df Added GridServerPlugin class (which implements IGridPlugin) to OpenSim.Grid.GridServer.Modules.
This class handles all the initialising of the grid server.
And made GridServer into basically a generic server that just loads plugins. 
So this is a step towards having a generic server that loads service modules.
2009-02-27 15:57:09 +00:00
MW 95230c244c Applied patch from Mantis# 3240, thanks tlaukkan/Tommil 2009-02-27 14:50:49 +00:00
MW b83d5c7cdb Added support for reading ini files from a (optional) config folder. This allows the spliting up of opensim.ini into multiple ini files.
The ini files in this folder are loaded after the masterini file (if that is set) and before opensim.ini. 
The default folder it looks for and searches is "bin\config", but that can be set by using the command arg "-inidirectory=<path>" (path is local to bin\) when starting up opensim.exe.
2009-02-27 14:17:57 +00:00
Sean Dague cddaaf3e13 svn attribute fixes so that we can play nice between windows and linux 2009-02-26 22:54:50 +00:00
MW 756c517069 Added IRegionCreator interface that all ApplicationPlugins that are creators 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-26 22:51:52 +00:00
Sean Dague 7f727bd33e This adds a new osGetAgentIP function with threat level set to High. It
isn't tested, but it doesn't break anything else.  The reason for this
function is to let in world tools be used to coordiante out of world
network services that need access to client ip addresses.
2009-02-26 22:37:02 +00:00
MW faca2a7ddc Another change to how the CreateCommsManagerPlugin checks if it should be creating HG or normal CommunicationsManager. 2009-02-26 22:14:24 +00:00
MW 4f072a0876 Changed CreateCommsManagerPlugin so it handles external subclasses of OpenSimBase. This process of checking if it should be creating HG or normal CommunicationsManager needs to change.
So look out for a revert of this whole plugin soon.
2009-02-26 22:03:53 +00:00
MW e2d30a0244 Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin.
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-26 21:30:12 +00:00
Sean Dague c89a4d9eb6 * This patch reduces the excessive number of threads opened by the Timer event. Also simplifies the walking around method.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26 21:29:25 +00:00
Sean Dague 57ab79e331 * Update ScenePresenceTests to reflect current REST communication workflow.
* Fixed an issue with AssetCache where it would break unit tests randomly.

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26 21:29:16 +00:00
Justin Clarke Casey 7b04d1da5e * Apply http://opensimulator.org/mantis/view.php?id=3191
* Make load/save oar and load/save xml2 behave a little better when there is an io problem
* Thanks dslake
2009-02-26 21:00:33 +00:00
MW 5254c1dfa7 opps forgot to commit a changed file. 2009-02-26 20:18:29 +00:00
Melanie Thielker ed2de7ac82 Plumb in the RetrieveInstantMessages event that is sent by the viewer
when it is ready to receive offline IM
2009-02-26 20:11:55 +00:00
MW 18382ebfd9 Changed the type of the ApplicationRegistry member from RegistryCore to IRegistryCore 2009-02-26 20:11:13 +00:00
MW 33e7c09b7b Added IRegistryCore and RegistryCore to OpenSim.Framework.
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-26 20:01:20 +00:00
Sean Dague c0c1a31f61 Attempt to fix the "region starts but doesn't load anything" issue 2009-02-26 17:06:06 +00:00
MW de82bf9eb5 Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
2009-02-26 15:21:06 +00:00
MW 04a6c735d6 Add check in SceneManager to stop opensim.exe crashing if no regions/scenes were loaded. 2009-02-26 15:06:27 +00:00
lbsa71 5b5b784599 * Got rid of concrete GridDBService references 2009-02-26 11:50:49 +00:00
lbsa71 82efceb494 * renamed IRegionProfileService to IRegionProfileRouter to better reflect use (naming is a work in progress...)
* introduced new IRegionProfileService that is going to be _one_ profileService
* Had GridDBService inherit the IRegionProfileService

(preparing for re-wiring things and de-duplicating eventually)
2009-02-26 11:44:16 +00:00
MW 07ee252cf3 Renamed IMessageUserServerService to IInterServiceUserService.cs
Renamed MessageUserServerModule to InterMessageUserServerModule
2009-02-25 21:00:58 +00:00
Justin Clarke Casey 36e648a37a * minor: Remove most mono compiler warnings 2009-02-25 20:53:02 +00:00
Justin Clarke Casey a5c9354df3 * Properly load items into correct folders when an iar is loaded
* At the moment, any existing folders with the same name are reused - will need an option to always create new folders
* not yet ready for general use
2009-02-25 20:07:25 +00:00
MW c856da2ee6 Renamed IUGAIMCore to IGridServiceCore, still not really happy with this name as it could be confused with the Grid Server namespace or with the IGridService in the region servers. 2009-02-25 19:39:56 +00:00
MW 0f62b2bacb Added IGridServiceModule to be the base interface for the Service Modules for the Grid, User and Messaging servers. 2009-02-25 18:47:19 +00:00
MW 4db232763f More refactoring of the Grid, User and Messaging servers. 2009-02-25 18:33:15 +00:00
Justin Clarke Casey 50dcd66896 * Fix my own unit test
* Disable folder iar creation code for now (though this wasn't actually causing the test failure)
2009-02-25 18:32:39 +00:00
Justin Clarke Casey 17a336f21f * Add InventoryArchiveConstants that I missed from last commit
* This commit also does a first pass at creating folders for an inventory archive (previously everything was dumped in the same destiantion folder).
* This code might not work yet and nobody else should be using it yet anyway :)
2009-02-25 18:07:32 +00:00
Justin Clarke Casey 2d8843968f * Store inventory data in an 'inventory' directory rather than in the root of an iar 2009-02-25 17:30:15 +00:00
lbsa71 4968e5646e * ignored some gens 2009-02-25 16:31:09 +00:00