aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-4237/+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-05* refactor: Move module handling code up into SceneBase from Scene, reducing ↵Justin Clarke Casey1-177/+9
the large number of different things that Scene does
2009-02-04Addresses a race condition that happened between the viewer and the ↵diva1-1/+13
departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
2009-02-04Added a ForceSceneObjectBackup method to Scene, which as it says forces a ↵MW1-1/+9
database backup/update on the SceneObjectGroup. This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object. Fix Mantis #1004 Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set. It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-60/+60
- trim trailing whitespace
2009-02-02* Minor refactoring and comments updateslbsa711-6/+11
* Ignored some gens
2009-01-22* Adds a Scene Getter property called SceneContents for the Scene's ↵Teravus Ovares1-0/+5
m_sceneGraph. This will allow it to be exposed to modules without resorting to referring to m_sceneGraph
2009-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-96/+9
* No functional changes in this revision
2009-01-16* Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey1-2/+9
teleport unit test with checks that the scene presence disappeared from sceneA and appeared in sceneB * However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-15Eased the locking times of ScenePresences. No locks were removed, just the ↵diva1-24/+31
locking periods changed. * Added an additional lock in GetScenePresences() * Changed ForEachClient to use GetScenePresences() instead of the main ScenePresences dictionary, so that there is no need to lock.
2009-01-15* Add new unit test for simple teleport in a standalone.Justin Clarke Casey1-1/+3
* Does not yet check results.
2009-01-14* Adjust log messages so that we don't get a CONNECTION BEGIN for ↵Justin Clarke Casey1-25/+17
notifications that won't actually lead to a client connection (because they are from a neighbouring teleport target that needs to trigger a child seeds adjustment on a child agent that has been kept around)
2009-01-14* Remove absolute position and authentication handler addition for incoming ↵Justin Clarke Casey1-2/+0
'new user notifications' that have existing scene presences * The position will be reset if the connection turns out to be a root one, and since the client is already authenticated another authentication will not occur anyway
2009-01-14* minor: Change around more debugging messagesJustin Clarke Casey1-6/+17
2009-01-14* Do some log tweaking to better see incoming connection success (and failure)Justin Clarke Casey1-8/+11
2009-01-14Easy on locking m_scenePresences in RequestTeleportLocation. With the extra ↵diva1-4/+7
locks of SceneGraph ScenePresences introduced in 7982, this was making TPs not close the agent in the departing region due to locking. That locking problem seemed to occur only in Linux/mono -- I suspect a mono bug here.
2009-01-13* Fix a few caps limiter that were causing problemsTeravus Ovares1-2/+9
* Added a path for all sessionids to be logged off when a region secret is provided. (helps log-off dead agents).
2009-01-13* Removing set-time command since it doesn't actually do anything at allJustin Clarke Casey1-16/+0
* If this was crucial to someone then it should be reinsertable as a module
2009-01-11Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke1-0/+11
Fixed all NHibernate unit tests by implementing missing persistency methods, tables, columns and fixing bugs in the existing implementation. Two minor changes to classes outside NHibernate module: Added Scene instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest as this was required by the NHibernate persistency. In the process added also mock constructor to Scene which only populates RegionInfo in the scene which is used by ScenePart.RegionUUID. NHibernate module is still in experimental state and has not been tested at opensim region or ugaim runtime configuration. Adding unit tests to build is not yet advisable nor using NHibernate module in any production setup.
2009-01-08* refactor: move url sending from scene to DialogModuleJustin Clarke Casey1-23/+0
2009-01-08* minor: Remove now unused SendEstateMessage... method in Scene I forgot ↵Justin Clarke Casey1-18/+0
from last commit
2009-01-08* refactor: move code to send a dialog to a user from scene to DialogModuleJustin Clarke Casey1-12/+0
2009-01-08* refactor: move code for sending a message to all users in a region to the ↵Justin Clarke Casey1-28/+8
DialogModule
2009-01-07* refactor: Make some direct IClientAPI calls go through the dialog module ↵Justin Clarke Casey1-9/+9
instead
2009-01-07* Move general alert code to DialogModule.Justin Clarke Casey1-28/+6
* Should be a clean build - last failure looked like a mantis hiccup
2009-01-07* refactor: Establish DialogModule, move some alert code from Scene to hereJustin Clarke Casey1-46/+11
2009-01-07* refactor: Remove MakeHttpRequest wrapper method from Scene in favour of a ↵Justin Clarke Casey1-18/+0
direct call
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-10/+0
2009-01-06* refactor: Remove the need to separately pass in the http listener to the ↵Justin Clarke Casey1-6/+6
scene - this is always available via CommsManager
2009-01-06* refactor: call AddHttpHandler() directly via CommsManagerJustin Clarke Casey1-15/+0
2009-01-06* refactor: call AddStreamHandler() directly via CommsManagerJustin Clarke Casey1-10/+0
2009-01-06* refactor: call AddLLSDHandler directly via CommsManagerJustin Clarke Casey1-10/+0
2009-01-06* refactor: drop AddXmlRpcHandler() from scene in favour of call via ↵Justin Clarke Casey1-5/+0
CommsManager
2009-01-06* Added a way for the sim stats reporter to say to the scene that the stats ↵Teravus Ovares1-0/+1
are illogical.
2009-01-05* Check in login service tests beachheadJustin Clarke Casey1-1/+0
2009-01-03* Updates the sim stats module. Cleans out some of the rot.Teravus Ovares1-39/+39
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe. * Adds Prototype for ajaxy web content * removed a warning or two.
2009-01-03Split agent updates into two messages: full update and position+camera ↵diva1-2/+14
update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
2009-01-02Allow some values that are set in OpenSim.ini to be set from region configMelanie Thielker1-0/+20
XML as well.
2009-01-01Major changes in interregion communications. This breaks compatibility with ↵diva1-5/+16
older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes: - Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination. - SendCloseAgent moved from OGS1 Remoting to RESTComms.
2008-12-30Update svn properties, minor formatting cleanup.Jeff Ames1-4/+4
2008-12-29Final part for implementing SendChildAgentDataUpdate with modules. This is ↵diva1-12/+29
the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim.
2008-12-26* Applying Nlin's NINJA Joint patch. v2. Mantis# 2874Teravus Ovares1-2/+165
* Thanks nlin! * To try it out, set ninja joints active in the ODEPhysicsSettings and use the example at: * http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz. * Don't forget to change the .tgz to .oar and load it with load-oar.
2008-12-23* Add a method to allow friendship offers to a logged in client from an ↵Justin Clarke Casey1-1/+0
offline user directly from the server
2008-12-22* refactor: Make gestures module register its own events tooJustin Clarke Casey1-7/+0
2008-12-22* Like most other modules, make the sound module register for its event ↵Justin Clarke Casey1-4/+0
directly, rather than needing Scene to know about it
2008-12-22Removing the region where the agent is in from the list of regions to close ↵diva1-3/+6
child agents.
2008-12-21* Re-implement packet tracking in IClientAPI so we can see what's going on ↵Teravus Ovares1-0/+3
in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section.
2008-12-20This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes ↵diva1-2/+2
some of the crashes experienced by ppl in Europe connected to OSGrid. If DNS lookup does not resolve, they may experience a substantial increase in "Region not available", but they shouldn't crash.
2008-12-19* refactor: move sound trigger from scene into sepearate SoundModuleJustin Clarke Casey1-19/+3
2008-12-19* minor: Just some method commentary before turning to another subjectJustin Clarke Casey1-2/+10