aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-26When an object is duplicated, add it to the full/local id SOG indexes as ↵Justin Clark-Casey (justincc)1-1/+29
well as Entities
2011-03-26Make SceneGraph.ForEachSOG() execute once for each SOG, not once for each ↵Justin Clark-Casey (justincc)1-5/+25
prim (e.g. a SOG with 3 prims would have the action executed three times). To do this, a new SceneObjectGroupsByFullID index in SceneGraph which just index's prims by their root part UUID, in order to avoid the inefficiency of filtering existing lists. Existing callers to SceneGraph.ForEachSOG() did not fail due to the multiple per SOG action executions - they were probably just much less efficient. Code suggests that no callers expected ForEachSOG() to execute actions on sog multiple times
2011-03-26refactor: rename SOG collections in SceneGraph to make it clearer that they ↵Justin Clark-Casey (justincc)1-30/+30
are indexing each part's UUID, not just the root part.
2011-03-25Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)1-0/+5
Not functional yet, but tests now act against this object rather than interrogating the module directly
2011-03-23Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)2-3/+45
listen for that rather than EventManager.OnParcelPrimCountAdd OnParcelPrimCountAdd had the wrong semantics for the PrimCountModule - it was invoked for every entity in the scene, not just new ones, which would screw up the untainted count. Extend automated test for this scenario.
2011-03-22Add an initial confidence-building TestAddObject() for prim counts.Justin Clark-Casey (justincc)1-6/+7
2011-03-21On initial setup, include estate and regions names in questions to make it ↵Justin Clark-Casey (justincc)1-1/+1
clearer what they relate to.
2011-03-21minor: slightly adjust previous method doc.Justin Clark-Casey (justincc)2-2/+2
2011-03-21add method doc to IEstateDataService and IEstateDataStore interfacesJustin Clark-Casey (justincc)2-2/+90
2011-03-21On initial region registration, if the user chooses the option to make the ↵Justin Clark-Casey (justincc)2-0/+28
region part of an existing estate, then list the existing region names.
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)1-2/+6
OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)12-12/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-02-27Fix a few little thingsMelanie1-0/+2
2011-02-25change some log messages from info to debugJustin Clark-Casey (justincc)2-2/+2
2011-02-24Fix bug where avatars in other regions would not always show up on the mini-mapJustin Clark-Casey (justincc)1-1/+2
2011-02-22Parameterizes the view distance used to compute and manageMic Bowman2-5/+28
child agents in neighbor regions. This means you can extend the view on a simulator beyond the default 3x3 regions. This uses a region default draw distance and should be replaced at some point by the avatar specified draw distance. That will require more careful, dynamic recomputation of child agents every time the draw distance changes. WARNING: this is experimental and has known instabilities. specifically all regions "within site" should be running the same default draw distance or agents will not be closed correctly.
2011-02-19Remove test T020_TestMakeRootAgent() which hasn't been active for ages anywayJustin Clark-Casey (justincc)1-19/+0
This test was non-viable. Keeping inactive T021_TestCrossToNewRegion() around for now since it's still useful for reference purposes in constructing a future working test.
2011-02-18Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)1-4/+11
Stop tests setting up a capabilities module by default
2011-02-18If GridService.GetNeighbours() could not find the region then log a warning ↵Justin Clark-Casey (justincc)1-2/+5
rather than causing a null reference on the normal log line This also extends the TestChildAgentEstablished() test to actually activate the EntityTransferModule, though the test is not yet viable
2011-02-18extend TestChildAgentEstablished() test slightly to put in ↵Justin Clark-Casey (justincc)2-3/+12
EntityTransferModule. Not yet enabled.
2011-02-18On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)1-19/+41
for the last stage of AddRootAgent() instead of SP.MakeRootAgent() Going this extra step doesn't appear to cause any test failures. This is arguably better for test purposes, though at some stage another method may arise which does just call AddRootAgent().
2011-02-18remove another unused test teardown methodJustin Clark-Casey (justincc)1-6/+0
2011-02-18remove unused test teardown methodJustin Clark-Casey (justincc)1-8/+2
2011-02-18separate attachment tests out into their own classJustin Clark-Casey (justincc)2-50/+180
2011-02-18Add very basic test which invokes the scene update loop once and checks the ↵Justin Clark-Casey (justincc)3-157/+224
frame number. This makes Scene.Update() match its original description of performing a single update, which also matches the semantics of SOG and ScenePresence.
2011-02-18minor: add method doc to a few ScenePresence methodsJustin Clark-Casey (justincc)1-2/+13
2011-02-18Stop the avatar sometimes pausing for more than a second on the border when ↵Justin Clark-Casey (justincc)1-0/+7
region crossing. This restores a RemoveFromPhysicalScene() call in ScenePresence.CheckForBorderCrossing() when the agent has been placed in transit. If we don't remove the agent from the physical scene, then the method continues to be called via ScenePresence.Update() until the handover of the client between regions is completed. Since this handover can take more than 1000ms (due to the 1000ms event queue polling response from the server), this results in the avatar pausing on the border for the entire handover period.
2011-02-17Add support for new naming syntax of linked regions to osTeleportAgent and ↵Marck1-3/+3
osTeleportOwner.
2011-02-16Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie1-1/+2
2011-02-13Set filter to send proper rotations for root partBlueWall1-1/+1
This allows the root prim, alone or in a set, to send it's rotation. This fixes unsitting the avatar on sit-offsest type teleports where the sit target is in the root prim of a linkset.
2011-02-12Hack in a crude temporary "estate show" commandJustin Clark-Casey (justincc)1-1/+1
This will show the estate for each region, along with that estate's id and the estate owner. This is temporary because the command output might change. This commit also converts the estate module from the old to the new region module format
2011-02-08Added emergency monitoring of UDP Outgoing packets thread. Just type ↵Diva Canto1-0/+2
"emergency-monitoring on/off"
2011-02-06New command: show pending-objectsDiva Canto2-0/+9
2011-02-04Send object date to viewer in microseconds (Fixes mantis bug #3990)Kevin Cozens1-1/+2
2011-02-03Change UpdateAgent (for changes in agent position) to be sentMic Bowman1-21/+22
once to each simulator rather than once to each region. This should help with some of the delays caused by multiple outstanding requests to a single service point.
2011-01-29Create the structure of classes and interfaces to replace the cruft thatMelanie1-0/+2
is in the land management module today
2011-01-28Add the prim count interfacesMelanie1-0/+53
2011-01-28Fix up QueryAccess to also check parcelsMelanie1-1/+1
2011-01-28Fix bumping into sim borders and check estate bans for walking crossingsMelanie3-14/+43
2011-01-28Thank you, Goetz, for a patch to fix prim count display in cut regions.Melanie1-0/+1
2011-01-27When an oar is loaded, do not create a default parcel before loading the ↵Justin Clark-Casey (justincc)1-1/+4
parcels from the OAR. The region spanning parcel shouldn't exist in this situation. If it does, when the land data is loaded it is repersisted with a local ID which comes after the ones loaded via the oar, which obliterates the oar loaded one. Resaving the data we just loaded from the database is somewhat odd in itself (though this makes sense from the way that OAR loading was already using the same event).
2011-01-27Fix OAR parcel loading so that old parcels are replaced by the new instead ↵Justin Clark-Casey (justincc)1-0/+5
of merged. The --merge switch will still merge the old and new land parcelling.
2011-01-27Make it workMelanie1-4/+6
2011-01-27Add a TeleportFlags member to SP so we can tell how we got there.Melanie2-0/+15
2011-01-26Remove the RestorePresences functions (which don't seem to be doingMic Bowman2-69/+12
anything) and clean up the code in AddNewClient (so Appearance only gets assigned once, not three times).
2011-01-26Add some comments on ILandObject.StartPoint and EndPointJustin Clark-Casey (justincc)1-0/+10
2011-01-26Implement command "land show". This shows all the parcels on the currently ↵Justin Clark-Casey (justincc)1-0/+4
selected region/s This is useful for diagnostics. The command is "land show" rather than "show land" because it's implemented as a module specific subcommand.
2011-01-24Fix script data not being reset as it should beMelanie1-0/+4
2011-01-17Removed the call to sceneViewer.Reset upon MakeRoot and ChildAgentUpdate, ↵Diva Canto1-8/+0
because Reset hangs for a long time waiting for the lock. That is a problem in itself -- that long holding of the lock by some thread -- but let's just avoid it altogether.
2011-01-18minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)2-2/+2