aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-669/+0
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-04* minor: remove deprecated and unused terrain method from SceneManagerJustin Clarke Casey1-16/+9
* other minor tidy up
2009-01-30* minor: remove some mono compiler warningsJustin Clarke Casey1-2/+0
2009-01-25* Adds console command, 'predecode-j2k <number of threads>' to load all of ↵Teravus Ovares1-0/+127
the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1. * Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2). The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-13* Removing set-time command since it doesn't actually do anything at allJustin Clarke Casey1-10/+0
* If this was crucial to someone then it should be reinsertable as a module
2009-01-07* Move general alert code to DialogModule.Justin Clarke Casey1-1/+1
* Should be a clean build - last failure looked like a mantis hiccup
2008-12-19* refactor: move saved named prims to xml2 method out into the serialization ↵Justin Clarke Casey1-1/+3
module
2008-12-19minor: Remove some serialization module scene wrappersJustin Clarke Casey1-2/+6
2008-12-19* refactor: remove xml serialization wrappers from SceneJustin Clarke Casey1-2/+6
2008-12-19* refactor: Remove archiver module scene wrappersJustin Clarke Casey1-2/+6
2008-12-01* minor: A few tiny bits of documentation and log message cleanup before ↵Justin Clarke Casey1-0/+3
starting something different
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker1-1/+1
the internals of the permissions module adapter sane
2008-10-14* minor: change m_debug to m_debugPacketLevel since that's what it isJustin Clarke Casey1-2/+7
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-6/+6
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-03Mantis#2105. Thank you kindly, HomerHorwitz for a patch that addresses:Charles Krinke1-0/+13
Due to the many problems with not cleaned up child-agents, I thought it might make sense to be able to see them on the console. 'show users' on the region-server's console now outputs root- and child-agents (with "root" or "child" column)
2008-08-05* Add / as a shortcut to select the root regionJustin Clarke Casey1-3/+3
2008-07-21* minor: add wiki link to archiving function invocationJustin Clarke Casey1-1/+0
2008-07-15removes a Console.WriteLine(...) remnant.Dr Scofield1-1/+1
2008-07-01Added "save-prims-xml2 <PrimName> <FileName>", as we were lacking a method ↵MW1-0/+5
to save a single primitive or small group of them. This command will save all prims in the current scene that name matches the "PrimName" parameter. The saved file is in standard xml2 format, so can be loaded using load-xml2
2008-06-25forgotten methods in SceneManager for the terrain serialising.MW1-0/+11
2008-06-04Formatting cleanup, minor refactoring, svn properties.Jeff Ames1-3/+3
2008-05-30while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield1-0/+18
noticed that Scene.Close() will only call Close on non-shared region modules. i've now added code to SceneManager.Close() to collect all shared region module from each scene before calling Scene.Close() on it and then, once, all Scenes are closed, go through the list of collected shared region modules and close them as well. SceneManager.Close() is only called when we initiate a shutdown --- i've verified that a Scene restart does not trigger the shutdown of shared modules :-) also, this adds a couple of bug fixes to the IRCBridgeModule (which after all didn't take kindly to being closed) as well as a check to InterregionModule's Close() call. finally, this fixes the RestPlugin's XmlWriter so that it no longer includes the "xsd=..." and "xsi=..." junk.
2008-05-30Update svn properties. Formatting cleanup.Jeff Ames1-1/+1
2008-05-28* Put in stubs for "load-oar" command, including ultra-primitive temporary ↵Justin Clarke Casey1-3/+3
tar loading code * Currently as a test, this will successfully load only the first file of an opensim archive and do absolutely nothing with it
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-4/+4
2008-05-24* Get the xml2 entities serialization representation in the archiver moduleJustin Clarke Casey1-2/+2
* Not yet reusing serialization module - this will happen in the future * No user functionality yet
2008-05-22* Plug in stubbed out archiver moduleJustin Clarke Casey1-4/+4
2008-05-22* Documentation for load/save xml methodsJustin Clarke Casey1-1/+38
* Insert the very rough beginning stubs for a save/load OpenSim archive facility that will load/save prim assets (textures & inventory) as well as the prim details themselves (our existing xml facilities). * This won't be ready for even rough testing for quite some time. * I'm doing this directly in the region server for now since this will be quicker to get something working (hence giving me the Serotonin boost that I need). However, there are very good arguments for later also including it (or moving it entirely) to the separate export executable which Sean stubbed out some time ago.
2008-05-18Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames1-1/+1
types and null.
2008-05-16Formatting cleanup.Jeff Ames1-3/+3
2008-05-14* Comitting 0001271: [PATCH] Refactor permissions to fully allow stacking ↵Teravus Ovares1-1/+1
permissions modules. From Melanie. Thanks Melanie!
2008-05-14Formatting cleanup.Jeff Ames1-1/+1
2008-05-05* Refactor: Break out permissions code into a separate region PermissionsModuleJustin Clarke Casey1-1/+1
2008-05-01* Rolled back a few changes.Adam Frisby1-41/+41
2008-05-01* Spring cleaning on Region.Environment. Adam Frisby1-41/+41
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
2008-04-28From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey1-13/+2
Note: This is the first part of some changes from Dr Scofield to support console-less operation of an OpenSim region server. The changes are not yet complete. * refactors OpenSimMain into two classes: OpenSimMain and OpenSimMainConsole. OpenSimMainConsole derives from OpenSimMain and basically is the "old" OpenSimMain * drops StartConsole from RegionApplicationBase (was only called from the "old" OpenSimMain anyhow) * reverts the changes to TryGetScene(string, out scene) as that seems to work perfectly fine * adds a check to region-remove to see whether m_sceneManger.CurrentScene is non-null before comparing it against the region-to-be-removed
2008-04-27* Patch from XenReborn to make remove-region work properly without needing ↵Teravus Ovares1-2/+13
to do a change-region first. Careful though. I still suggest you do a change-region first. * Patch from Melanie to implement touch_end. * Thanks XenReborn!. Thanks Melanie!
2008-04-21* Various compiler warning cleanups.Adam Frisby1-1/+1
2008-04-21From: Dr Scofield <hud@zurich.ibm.com>Sean Dague1-0/+16
the attached patch set is centered around RemoteAdminPlugin and focuses mainly on making it more robust (i.e. more parameter checking and better error reporting) but also we've re-implemented the LoadTerrain stuff that got disabled during the terrain code reworking: * missing PostInitialize() calls on region modules that were loaded for regions created via RemoteAdmin's CreateRegion XmlRpc call * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost during the TerrainModule rework) * adds lots more parameter checking and error reporting to RemoteAdmin * adds a read-only property to RegionApplicationBase so that we can access the CommsManager * adds Exceptions to TerrainModule so that we get better error case feedback (and can report more meaningful errors in turn) * adds a CheckForTerrainUpdate() call to TerrainModule.LoadFromFile() to make terrain changes effective * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can retrieve Scenes not only by name but also by LLUUID cheers, dr scofield
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-3/+3
(this took a while to run).
2008-04-18* Fixed two compiler warnings dealing with IPAddress equality.Adam Frisby1-3/+1
2008-04-15From: dirk husemann <hud@zurich.ibm.com>Sean Dague1-2/+4
attached is a patch set that * adds further robustness checks for the CreateUser and CreateRegion XmlRpc * fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my expectation IPEndPoint.Address is not sufficient for a comparision, IPEndPoint.Address.Address (the long representation) does work however. * add [RemoteAdmin] section to OpenSim.ini.example * fixes XML doc comments good night, dirk
2008-04-11* From: Dr Scofield <hud@zurich.ibm.com>Justin Clarke Casey1-0/+32
* This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file) * Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken. * Thanks Dr Scofield
2008-03-30**Big ass update warning**Adam Frisby1-5/+3
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-25Minor formatting / svn properties cleanup.Jeff Ames1-16/+16
2008-03-22* Tell the user what the new terrain commands format is if they try to ↵Justin Clarke Casey1-1/+4
execute a deprecated one * As per CharlieO's suggestion in #806. Thanks!
2008-03-18Formatting cleanup. Minor refactoring.Jeff Ames1-6/+6
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-07More spelling corrections in the spirit of r3771.Jeff Ames1-4/+4
2008-03-06* Disabled ancient TerrainEngine.Adam Frisby1-23/+2
* Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.