aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-18Adds support for preserving animations on region crossings and TPs. diva1-2/+5
Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine). Untested: did not test animation overriders; only tested playing animations from the viewer.
2009-02-14Moved RegionUp to REST/LocalComms. The original functionality has been ↵diva1-4/+6
entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-13And finally... region crossings entirely over RESTComms/LocalComms. No more ↵diva1-54/+66
remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions.
2009-02-13Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames1-4/+0
warnings. Fix some m_log declarations.
2009-02-12Makes region crossings asynchronous. Moved the bulk of the original code out ↵diva1-0/+170
of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop. Note: weirdnesses may occur!
2009-02-08* Removed the duplicate AddCapsHandler that existed in ↵diva1-2/+2
ScenePresence.MakeRootAgent; CAPs are already in place when this runs. * Moved MoveAgentIntoRegion further down in the CompleteMovement method. * changed a couple of methods from protected to public in SceneCommunicationService
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-17/+10
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-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-5/+8
* No functional changes in this revision
2009-01-21* minor: move connection success log message so that it doesn't get printed ↵Justin Clarke Casey1-1/+1
again if a duplicate use circuit code packet comes in
2009-01-19* minor: Just some minor log elaboration to reveal in the logs where a ↵Justin Clarke Casey1-2/+9
teleport is being directed rather than just its position
2009-01-18Getting rid of the CheckRegion call during TPs. This seems to be not just ↵diva1-12/+1
useless, but sometimes problematic (mantis #2999). Initial tests indicate that this call is not necessary. Let's see if this stands in the wild.
2009-01-16* Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey1-2/+2
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-15* Add new unit test for simple teleport in a standalone.Justin Clarke Casey1-1/+1
* Does not yet check results.
2009-01-14* minor: Change around more debugging messagesJustin Clarke Casey1-3/+3
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-2/+0
2009-01-06* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with ↵Justin Clarke Casey1-4/+3
terminology used elsewhere * Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06* Move common string aggregation for caps seed path to a method in CapsUtilJustin Clarke Casey1-4/+6
2009-01-06* minor: Move GetRandomCapsPath() to a CapsUtil classJustin Clarke Casey1-2/+3
2009-01-03Another interregion comms change that will not work well with previous ↵diva1-2/+4
versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE. Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03Split agent updates into two messages: full update and position+camera ↵diva1-4/+4
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-01Major changes in interregion communications. This breaks compatibility with ↵diva1-32/+74
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-31Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the ↵diva1-15/+25
destination will have all the necessary information.
2008-12-29Final part for implementing SendChildAgentDataUpdate with modules. This is ↵diva1-11/+18
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-22Fix for attachment crossing on TPs. Now that we're letting the viewer have ↵diva1-6/+8
control over MakeRoot at the destination, we need to pass the attachments after that. Attachment crossing requires a root agent at the destination.
2008-12-22This commit is a major change on the TP process. Several things were wrong ↵diva1-53/+71
and/or broken. (a) ExpectAvatarCrossing is redundant (and bad) because the client triggers the same method on the receiving region after it receives TeleportFinish. (b) At least two of the *Async methods in SceneCommunicationService weren't asynchronous at all; I made them be asynchronous. Crossing fingers...
2008-12-21Slowing TPs down a bit further.diva1-4/+4
2008-12-20Slowing things down even more on TPs, to see if that helps the European ↵diva1-2/+5
folks connected to osgrid.
2008-12-20This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes ↵diva1-6/+18
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-20Slowing things down a little bit in TPs, with a couple of extra Thread.Sleep ↵diva1-1/+5
to give enough time for the destination to set up CAPs for the incoming agent before sending EAC to the client.
2008-12-18Removing a check in Teleports. This check should be there, I think, but it ↵diva1-20/+22
may be causing problems right now.
2008-12-17* minor: Comment out "Informing neighbours" debug message that pops up ↵Justin Clarke Casey1-1/+1
whenever some aspect of the avatar changes. * with Diva's blessing ;)
2008-12-17* remove mono compiler warningsJustin Clarke Casey1-17/+17
* should work - the last compile failure looks like a random glitch...
2008-12-15Bug fix in new child agents management. Thanks DigiDaz for helping identify ↵diva1-57/+74
this issue. We need to update all child agents whenever the root agent crosses regions. The update now includes child agents in common neighbours. This is so that those get updated with the seeds of the new child agents that are spawned from the receiving region. This also fixes some timing issues. We need to close child agents from the originating region before we update child agents in the receiving region.
2008-12-14Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke1-66/+200
Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
2008-12-10Applying diva's revert patch. Reverts closing child agents and makesMelanie Thielker1-15/+4
TP more reliable again.
2008-12-03Remove the bandaid (fast rip)Melanie Thielker1-9/+9
2008-12-03Apply Diva's bandaid to OpenSim's scraped knee.Melanie Thielker1-9/+9
2008-12-01* minor: remove 2 mono compiler warningsJustin Clarke Casey1-1/+1
2008-11-30Mantis #2584 (again)Melanie Thielker1-10/+17
Next step of diva's TP fixes and HG support
2008-11-29Mantis #2584Melanie Thielker1-1/+18
Applying a patch from Diva. This patch introduces significant improvements in teleporting. Thank you, Diva.
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker1-1/+1
the internals of the permissions module adapter sane
2008-11-19Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker1-4/+4
libOMV.
2008-11-19Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker1-4/+4
release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
2008-11-17* Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey1-4/+4
* Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
2008-11-14* test: Add scene root agent test stub, since I'll be picking up with ↵Justin Clarke Casey1-1/+1
something else the next time I start coding on OpenSim
2008-11-12* Stop the pointless passing of a scene's own region handler back to it in ↵Justin Clarke Casey1-20/+19
region comms * Some scene methods ignored it, others did nothing if the region handler given did not match their own (which would never be triggered)
2008-11-07Change teleport timingsMelanie Thielker1-2/+2
2008-11-07Attachments, attachments, and, did I say attachments?Melanie Thielker1-3/+4
Too many fixes to list.
2008-11-03On TP, child-agents weren't closed down properly, as the list of child-regionsHomer Horwitz1-0/+4
was cleared before using it to find the children.
2008-10-31* test: Add basic scene test which merely instantiates the scene right nowJustin Clarke Casey1-10/+3
* set debug scene name on scene registration, rather than within the Scene constructor