aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-10Formatting cleanup.Jeff Ames1-1/+1
2009-06-05* Add oar saving timeoutJustin Clarke Casey1-1/+0
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds * Timeout executes abort, since missing assets in an OAR seems bad * This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service * This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-26Changed the order of things in Scene creation. This piece of code is very ↵diva1-6/+7
jibbery, widely different results with slightly different orders. This particular order produces the best results in the UC Irvine sim in osgrid. But clearly there's something messed up here. Addresses mantis #3707, mantis #3713, mantis #3686.
2009-05-20Remove the pre-log4net, discrete output methods from the consolesMelanie Thielker1-1/+1
2009-05-20refactoring instantiation of Location object: moving it out of the forDr Scofield1-1/+2
loop as it really is a "constant"
2009-05-18Remove the old asset cache and local services and the configurations for themMelanie Thielker1-163/+1
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