aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-1102/+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!
* * refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey2009-01-211-5/+8
| | | | | | * No functional changes in this revision
* * minor: move connection success log message so that it doesn't get printed ↵Justin Clarke Casey2009-01-211-1/+1
| | | | again if a duplicate use circuit code packet comes in
* * minor: Just some minor log elaboration to reveal in the logs where a ↵Justin Clarke Casey2009-01-191-2/+9
| | | | teleport is being directed rather than just its position
* Getting rid of the CheckRegion call during TPs. This seems to be not just ↵diva2009-01-181-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.
* * Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey2009-01-161-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)
* * Add new unit test for simple teleport in a standalone.Justin Clarke Casey2009-01-151-1/+1
| | | | | | * Does not yet check results.
* * minor: Change around more debugging messagesJustin Clarke Casey2009-01-141-3/+3
|
* * prune and regrade log messages relating to client login and logoutJustin Clarke Casey2009-01-061-2/+0
|
* * Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with ↵Justin Clarke Casey2009-01-061-4/+3
| | | | | | | | terminology used elsewhere * Last build break was probably a Bamboo failure - hopefully this should succeed
* * Move common string aggregation for caps seed path to a method in CapsUtilJustin Clarke Casey2009-01-061-4/+6
|
* * minor: Move GetRandomCapsPath() to a CapsUtil classJustin Clarke Casey2009-01-061-2/+3
|
* Another interregion comms change that will not work well with previous ↵diva2009-01-031-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.
* Split agent updates into two messages: full update and position+camera ↵diva2009-01-031-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.
* Major changes in interregion communications. This breaks compatibility with ↵diva2009-01-011-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.
* Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the ↵diva2008-12-311-15/+25
| | | | destination will have all the necessary information.
* Final part for implementing SendChildAgentDataUpdate with modules. This is ↵diva2008-12-291-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.
* Fix for attachment crossing on TPs. Now that we're letting the viewer have ↵diva2008-12-221-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.
* This commit is a major change on the TP process. Several things were wrong ↵diva2008-12-221-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...
* Slowing TPs down a bit further.diva2008-12-211-4/+4
|
* Slowing things down even more on TPs, to see if that helps the European ↵diva2008-12-201-2/+5
| | | | folks connected to osgrid.
* This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes ↵diva2008-12-201-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.
* Slowing things down a little bit in TPs, with a couple of extra Thread.Sleep ↵diva2008-12-201-1/+5
| | | | to give enough time for the destination to set up CAPs for the incoming agent before sending EAC to the client.
* Removing a check in Teleports. This check should be there, I think, but it ↵diva2008-12-181-20/+22
| | | | may be causing problems right now.
* * minor: Comment out "Informing neighbours" debug message that pops up ↵Justin Clarke Casey2008-12-171-1/+1
| | | | | | | | whenever some aspect of the avatar changes. * with Diva's blessing ;)
* * remove mono compiler warningsJustin Clarke Casey2008-12-171-17/+17
| | | | | | * should work - the last compile failure looks like a random glitch...
* Bug fix in new child agents management. Thanks DigiDaz for helping identify ↵diva2008-12-151-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.
* Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke2008-12-141-66/+200
| | | | | | | Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
* Applying diva's revert patch. Reverts closing child agents and makesMelanie Thielker2008-12-101-15/+4
| | | | | | TP more reliable again.
* Remove the bandaid (fast rip)Melanie Thielker2008-12-031-9/+9
|
* Apply Diva's bandaid to OpenSim's scraped knee.Melanie Thielker2008-12-031-9/+9
|
* * minor: remove 2 mono compiler warningsJustin Clarke Casey2008-12-011-1/+1
|
* Mantis #2584 (again)Melanie Thielker2008-11-301-10/+17
| | | | | | Next step of diva's TP fixes and HG support
* Mantis #2584Melanie Thielker2008-11-291-1/+18
| | | | | | | Applying a patch from Diva. This patch introduces significant improvements in teleporting. Thank you, Diva.
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-1/+1
| | | | | | the internals of the permissions module adapter sane
* Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker2008-11-191-4/+4
| | | | | | libOMV.
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-191-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
* * Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey2008-11-171-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
* * test: Add scene root agent test stub, since I'll be picking up with ↵Justin Clarke Casey2008-11-141-1/+1
| | | | something else the next time I start coding on OpenSim
* * Stop the pointless passing of a scene's own region handler back to it in ↵Justin Clarke Casey2008-11-121-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)
* Change teleport timingsMelanie Thielker2008-11-071-2/+2
|
* Attachments, attachments, and, did I say attachments?Melanie Thielker2008-11-071-3/+4
| | | | | | Too many fixes to list.
* On TP, child-agents weren't closed down properly, as the list of child-regionsHomer Horwitz2008-11-031-0/+4
| | | | | | was cleared before using it to find the children.
* * test: Add basic scene test which merely instantiates the scene right nowJustin Clarke Casey2008-10-311-10/+3
| | | | | | * set debug scene name on scene registration, rather than within the Scene constructor
* Experimental patch (suggested by diva) to kill off WP teleport ghosts.Melanie Thielker2008-10-271-0/+1
|
* Implement the hook needed for the CanTeleport checkMelanie Thielker2008-10-111-0/+3
|
* * Fixes the last snag with the EventQueue. The situation where the seedcap ↵Teravus Ovares2008-10-051-1/+3
| | | | gets lost on teleport.
* Added immediate TP failure message for TPs to regions that aren't there,Homer Horwitz2008-10-041-0/+19
| | | | | | | | instead of the 130s timeout somewhere. Additionally, mark the map-tile as offline. This partly fixes the TP problems of Mantis 2332; the rest is a viewer problem (just relogin).
* Add the missing bits for the new region-search:Homer Horwitz2008-10-031-1/+5
| | | | | | | | | | | | | | | | - Added lookup in the data-layer - MySQL works - SQLite doesn't have a grid-db, so it won't work there - I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-) - Added the plumbing up to OGS1GridServices. This speaks with the grid-server via XMLRPC. - Modified MapSearchModule to use the new data. It's backward compatible; if used with an old grid-server, it just returns one found region instead of a list. - Refactored a bit. Note: This updates data, grid-server and region code. No new files.
* * EventQueueGet is now working.Teravus Ovares2008-10-031-3/+12
| | | | | | | | * Switched it on by default * Updated OpenSim.ini.example to reflect this * Caught a UDP Server issue that occurs when the network pipe is saturated * Still experimental :D