aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-04-05Change some text to make the autoreturn mechanism more obvious, and align ↵Justin Clark-Casey (justincc)2-3/+8
with the fact that it's one word rather than two.
2011-04-05remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)1-14/+0
However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
2011-04-05Make the "All Estates" option work from the client (this makes chosen ↵Justin Clark-Casey (justincc)2-0/+12
changes to all the estates that the user owns). This applies to adding/removing estate users, groups, managers and bans. This is the application of the AllEstates_0.5.patch from http://opensimulator.org/mantis/view.php?id=5420 Thanks very much, Snoopy!
2011-04-03Implement taking of coalesced objects.Melanie2-2/+11
WARNING!!!!! You can TAKE them, but you can't REZ them again. Only the first of the contained objects will rez, the rest is inaccessible until rezzing them is implemented. Also, rotations are not explicitly stored. This MAY work. Or not.
2011-04-03Make CHANGED_OWNER work for deeding and god-mode in-world changeMelanie1-0/+4
2011-04-01A stab at making CHANGED_OWNER workMelanie1-5/+5
2011-03-31Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)2-3/+0
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-26When an object is duplicated, add the dupe to the uuid/local id indexes as ↵Justin Clark-Casey (justincc)1-1/+29
well as the basic entities list. Added a prim counts test to reinforce this - shift-copy was no incrementing prim count. This will sometime become a basic scene test. New code needs to be refactored so we just call SceneGraph.AddSceneObject(). This will happen in the near future. With this, basic owner prim counts on a single parcel appear to be working fine (with the same previous existing taint calls as used by the land management module). More work to do.
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-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)3-223/+1
counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
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).