Commit Graph

8306 Commits (29c4eef1fea84a32b795a330b2ca205ea0bb1a59)

Author SHA1 Message Date
MW 29c4eef1fe Creating a new branch to try out ideas for creating a generic grid server that can load the modules of the grid , user and messaging services. So it would be possible to have a single service server combining all the services or still have the three separate ones 2009-02-27 16:40:00 +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
lbsa71 309eaf4735 * Applied a patch that: Added prim parameters support to MXP client
* Updated MXP to contain extension fragment with prims and updated MXPClientView to fill in the parameters.  
  * Added google protobuffers dll.
  * Update MXP dll.
  * Updated MXPClientView to send prim parameters as Perception event extension
  * Started OpenSim and connected with IdealistViewer via MXP and ensured from log that parameters are being sent.
  * Ensured that nant test target runs succesfully.  
This closes mantis #3229. Thanks, tlaukkan!
2009-02-25 16:29:43 +00:00
Sean Dague 6c8debd3e0 From: Alan Webb <awebb@linux.vnet.ibm.com>
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-25 14:19:15 +00:00
lbsa71 4b1b91da5a * Ignored gens 2009-02-25 13:00:32 +00:00
lbsa71 8306ec9cae * Experimental softening of SOG waiting for update on link - changing from abort to forced update. 2009-02-25 12:26:00 +00:00
lbsa71 41c883ea47 * Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them.
* So, SOP.FolderID is actually a cruft field that should be removed.
2009-02-25 11:01:38 +00:00
Mike Mazur 64c14d2475 Allow /* C-style comments */ in LSL scripts.
This fixes Mantis #3199. opensim-libs SVN r87 contains the corresponding
changes.
2009-02-25 05:37:57 +00:00
Charles Krinke 6515d8be0e Fixes Mantis #3220. Thank you kindly, MPallari, for a patch that:
This patch changes InformClientOfNeighbour, CrossRegion and 
SendRegionTeleport methods to virtual.
2009-02-25 04:38:06 +00:00
Mike Mazur 3a9173843e Comment out HttpProxy and HttpProxyExceptions in OpenSim.ini.example.
Fixes Mantis #3221. Thanks cmickeyb for the patch.
2009-02-25 04:37:33 +00:00
Charles Krinke ed7256ac0c Fixes Mantis #3187. Thank you kindly, DoranZemlja for a patch that:
Deals with the multiple warning side affect introduced earlier.
2009-02-25 04:29:02 +00:00
Mike Mazur 72be38f7ae Distinguish 404 errors in RestClient.Request().
Mantis #3225.
2009-02-25 02:14:19 +00:00
Mike Mazur bdf95e54a2 A few updates necessary for load balancer.
- 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-25 00:32:26 +00:00
Mike Mazur d81fb565c1 Setting svn:eol-style=native on new files. 2009-02-24 23:40:08 +00:00
diva e84ac65b58 Close-to-final tweaking with appearance. This time sending *everything*. Addresses mantis #3223. 2009-02-24 23:06:15 +00:00
MW bc0bedf75d More work on modulising the User Server. 2009-02-24 19:00:36 +00:00
MW 8645fa9215 Removed the additions from the last revision for the "ShowHelp" delegate handling, as it seems that system isn't in use anymore. 2009-02-24 18:06:06 +00:00
MW 1e2835a10c More refactoring of the Grid/user/messaging servers. 2009-02-24 17:57:26 +00:00
MW 98178b4e9f Same treatment for the MessagingServer... added OpenSim.Grid.MessagingServer.Modules for the modules/components of it. 2009-02-24 16:13:16 +00:00