aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * refactor: Move module handling code up into SceneBase from Scene, reducing ↵Justin Clarke Casey2009-02-051-177/+9
| | | | the large number of different things that Scene does
* Addresses a race condition that happened between the viewer and the ↵diva2009-02-041-1/+13
| | | | departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
* Added a ForceSceneObjectBackup method to Scene, which as it says forces a ↵MW2009-02-041-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.
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-60/+60
| | | | | - trim trailing whitespace
* * Minor refactoring and comments updateslbsa712009-02-021-6/+11
| | | | | * Ignored some gens
* * Adds a Scene Getter property called SceneContents for the Scene's ↵Teravus Ovares2009-01-221-0/+5
| | | | m_sceneGraph. This will allow it to be exposed to modules without resorting to referring to m_sceneGraph
* * refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey2009-01-211-96/+9
| | | | | | * No functional changes in this revision
* * Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey2009-01-161-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)
* Eased the locking times of ScenePresences. No locks were removed, just the ↵diva2009-01-151-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.
* * Add new unit test for simple teleport in a standalone.Justin Clarke Casey2009-01-151-1/+3
| | | | | | * Does not yet check results.
* * Adjust log messages so that we don't get a CONNECTION BEGIN for ↵Justin Clarke Casey2009-01-141-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)
* * Remove absolute position and authentication handler addition for incoming ↵Justin Clarke Casey2009-01-141-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
* * minor: Change around more debugging messagesJustin Clarke Casey2009-01-141-6/+17
|
* * Do some log tweaking to better see incoming connection success (and failure)Justin Clarke Casey2009-01-141-8/+11
|
* Easy on locking m_scenePresences in RequestTeleportLocation. With the extra ↵diva2009-01-141-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.
* * Fix a few caps limiter that were causing problemsTeravus Ovares2009-01-131-2/+9
| | | | | * Added a path for all sessionids to be logged off when a region secret is provided. (helps log-off dead agents).
* * Removing set-time command since it doesn't actually do anything at allJustin Clarke Casey2009-01-131-16/+0
| | | | | | * If this was crucial to someone then it should be reinsertable as a module
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-111-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.
* * refactor: move url sending from scene to DialogModuleJustin Clarke Casey2009-01-081-23/+0
|
* * minor: Remove now unused SendEstateMessage... method in Scene I forgot ↵Justin Clarke Casey2009-01-081-18/+0
| | | | from last commit
* * refactor: move code to send a dialog to a user from scene to DialogModuleJustin Clarke Casey2009-01-081-12/+0
|
* * refactor: move code for sending a message to all users in a region to the ↵Justin Clarke Casey2009-01-081-28/+8
| | | | DialogModule
* * refactor: Make some direct IClientAPI calls go through the dialog module ↵Justin Clarke Casey2009-01-071-9/+9
| | | | instead
* * Move general alert code to DialogModule.Justin Clarke Casey2009-01-071-28/+6
| | | | | | * Should be a clean build - last failure looked like a mantis hiccup
* * refactor: Establish DialogModule, move some alert code from Scene to hereJustin Clarke Casey2009-01-071-46/+11
|
* * refactor: Remove MakeHttpRequest wrapper method from Scene in favour of a ↵Justin Clarke Casey2009-01-071-18/+0
| | | | direct call
* * prune and regrade log messages relating to client login and logoutJustin Clarke Casey2009-01-061-10/+0
|
* * refactor: Remove the need to separately pass in the http listener to the ↵Justin Clarke Casey2009-01-061-6/+6
| | | | scene - this is always available via CommsManager
* * refactor: call AddHttpHandler() directly via CommsManagerJustin Clarke Casey2009-01-061-15/+0
|
* * refactor: call AddStreamHandler() directly via CommsManagerJustin Clarke Casey2009-01-061-10/+0
|
* * refactor: call AddLLSDHandler directly via CommsManagerJustin Clarke Casey2009-01-061-10/+0
|
* * refactor: drop AddXmlRpcHandler() from scene in favour of call via ↵Justin Clarke Casey2009-01-061-5/+0
| | | | CommsManager
* * Added a way for the sim stats reporter to say to the scene that the stats ↵Teravus Ovares2009-01-061-0/+1
| | | | are illogical.
* * Check in login service tests beachheadJustin Clarke Casey2009-01-051-1/+0
|
* * Updates the sim stats module. Cleans out some of the rot.Teravus Ovares2009-01-031-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.
* Split agent updates into two messages: full update and position+camera ↵diva2009-01-031-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.
* Allow some values that are set in OpenSim.ini to be set from region configMelanie Thielker2009-01-021-0/+20
| | | | | | XML as well.
* Major changes in interregion communications. This breaks compatibility with ↵diva2009-01-011-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.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-301-4/+4
|
* Final part for implementing SendChildAgentDataUpdate with modules. This is ↵diva2008-12-291-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.
* * Applying Nlin's NINJA Joint patch. v2. Mantis# 2874Teravus Ovares2008-12-261-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.
* * Add a method to allow friendship offers to a logged in client from an ↵Justin Clarke Casey2008-12-231-1/+0
| | | | offline user directly from the server
* * refactor: Make gestures module register its own events tooJustin Clarke Casey2008-12-221-7/+0
|
* * Like most other modules, make the sound module register for its event ↵Justin Clarke Casey2008-12-221-4/+0
| | | | directly, rather than needing Scene to know about it
* Removing the region where the agent is in from the list of regions to close ↵diva2008-12-221-3/+6
| | | | child agents.
* * Re-implement packet tracking in IClientAPI so we can see what's going on ↵Teravus Ovares2008-12-211-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.
* This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes ↵diva2008-12-201-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.
* * refactor: move sound trigger from scene into sepearate SoundModuleJustin Clarke Casey2008-12-191-19/+3
|
* * minor: Just some method commentary before turning to another subjectJustin Clarke Casey2008-12-191-2/+10
|
* * refactor: move saved named prims to xml2 method out into the serialization ↵Justin Clarke Casey2008-12-191-22/+0
| | | | module