aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-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
2009-05-13Thank you kindly, BlueWall sir, for a patch that:Charles Krinke1-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.
2009-05-04Intermediate commit. WILL NOT COMPILE!Melanie Thielker1-1/+1
2009-05-02Thank you kindly, BlueWall, for a patch that:Charles Krinke1-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.
2009-04-29* Actually change the default oar file name to region.oar instead of ↵Justin Clarke Casey1-1/+1
scene.oar, for clarity
2009-04-29* Make scene.oar the default oar target rather than scene.oar.tar.gz, in an ↵Justin Clarke Casey1-1/+1
attempt to reduce confusion
2009-04-27Getting rid of -hypergrid=true on the command line. This config now goes ↵diva1-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.
2009-04-25Thanks Bluewall for Mantis #3519: a patch that adds simulator uptime and ↵Dahlia Trimble1-3/+2
version to REST/json statistics reporting
2009-04-22Add copyright headers. Formatting cleanup.Jeff Ames1-8/+8
2009-04-17Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:Charles Krinke1-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.
2009-04-14* Explicitly start the asset server thread so that unit tests can run single ↵Justin Clarke Casey1-0/+2
rather than multi-threaded (which may be behind the occasional test freezes)
2009-04-14* refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid ↵Justin Clarke Casey1-5/+6
having Initialise() and Initialize() in the same class - very difficult to read.
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