aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-10re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)2-5/+6
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)3-10/+48
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-10When setting up default iar for testing, use iar archiving code rather than ↵Justin Clark-Casey (justincc)3-13/+17
constructing the tar manually
2011-03-10Change existing users load iar test so that it fulfills it's original ↵Justin Clark-Casey (justincc)2-11/+15
intention (i.e. OSPA resolution, which is still active). Will need to write a separate test for the simplest case where creator accounts with appropriate uuids exist on iar load.
2011-03-10Split the inventory path testing parts of TestLoadIarV0_1ExistingUsers() ↵Justin Clark-Casey (justincc)2-23/+46
into a new test TestLoadIarToInventoryPaths()
2011-03-09Make the item created in the default test iar an object rather than a scriptJustin Clark-Casey (justincc)1-2/+27
2011-03-09minor: change the order of some default iar setup in test caseJustin Clark-Casey (justincc)1-5/+7
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)21-21/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-03-09Add log messages on teleport failure to better pin down the cause.Justin Clark-Casey (justincc)1-3/+9
2011-03-09Split out path tests from InventoryArchiveTests. Factor common code into ↵Justin Clark-Casey (justincc)3-531/+562
test case parent
2011-03-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2-50/+17
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2011-03-08Make -m shortcut option for --merge on load iar specific. Correct some log ↵Justin Clark-Casey (justincc)1-7/+7
message origins.
2011-03-05factor out SetPartMediaFlags() function in MoapModule.Justin Clark-Casey (justincc)1-11/+20
2011-03-05Construct test load iar only once and reuse for each test, rather than ↵Justin Clark-Casey (justincc)1-8/+18
recreating it every time
2011-03-05Fold ClearMediaEntry() back into SetMediaEntry()Justin Clark-Casey (justincc)1-21/+9
2011-03-05Change MoapModule.ClearMediaEntry to set TextureEntryFace.MediaFlags back to ↵Justin Clark-Casey (justincc)2-8/+67
false Implement test for ClearMediaEntry()
2011-03-04Changed order of checks for local regions when processingMic Bowman1-16/+6
AgentUpdate messages. Should improve throttles and reprioritization when an avatar is moving.
2011-03-05minor: remove some mono compiler warningsJustin Clark-Casey (justincc)3-8/+8
2011-03-05minor: Make MoapModule namespace consistent with other modulesJustin Clark-Casey (justincc)2-2/+2
2011-03-05add test for MoapModule.SetMediaUrl()Justin Clark-Casey (justincc)1-0/+72
2011-03-05Fix bug where llSetPrimMediaParams() reported success but never set the ↵Justin Clark-Casey (justincc)1-3/+14
media texture. We weren't setting the TextureEntryFace.MediaFlags = true when a media texture was set directly via a script. This was being done when the viewer was setting them directly.
2011-02-27Fix a few little thingsMelanie2-0/+5
2011-02-25change some log messages from info to debugJustin Clark-Casey (justincc)3-3/+3
2011-02-25Make the file expiration defaults the same whether the whole [FLOTSAM ASSET ↵Justin Clark-Casey (justincc)1-3/+3
CACHE] section is missing or just the particular config values
2011-02-25instead of using different default memory expiration depending on whether ↵Justin Clark-Casey (justincc)1-11/+2
there is a [FLOTSAM ASSET CACHE] section present at all, use the same default all the time this simplifies the code
2011-02-25log actual cache directory for FlotsamAssetCache instead of always logging ↵Justin Clark-Casey (justincc)1-1/+1
the default
2011-02-25Fix bug where having no maximum memory cache timeout would cause the flotsam ↵Justin Clark-Casey (justincc)1-1/+1
asset cache to try using Double.MaxValue, which would cause the underlying OpenMetaverse.ExpiringCache to choke. There is probably an underlying bug to fix in ExpiringCache.
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-22Forces the owner of a rezzed object to be the "rezzer" of theMic Bowman1-0/+2
object rather than the owner of the inventory item. In theory, this shouldn't happen unless you are using grid-wide library for inventory.
2011-02-22Parameterizes the view distance used to compute and manageMic Bowman4-18/+56
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-18minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
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 ↵Marck2-18/+5
osTeleportOwner.
2011-02-17Make osTeleportOwner work in foreign regions by relaxing the restrictions on ↵Marck1-9/+14
teleporting an agent.
2011-02-16Changed console command "alert" and added new command "alert-user".Marck1-42/+18
This addresses Mantis #4709. Command "alert" always sends a message to everybody; the variant "alert general" has been removed. Sending messages to one user is done with the dedicated command "alert-user".
2011-02-16Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie4-11/+14
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-12Improved error message on TP failureDiva Canto1-1/+1
2011-02-12minor: add comment explaining that GetRegionsByName needs to stay in ↵Justin Clark-Casey (justincc)1-0/+2
TeleportAgent for its side effects.
2011-02-12Fix bug where "My estate" name was always used even if the user entered a ↵Justin Clark-Casey (justincc)1-4/+8
different name on initial setup. Turns out we had stopped saving estate settings immediately after the name change. The scene constructor then reloade the settings and oblitereted the different name. This code could be more efficient since there's no reason for scene to reload the settings when they are already known to be valid. Thanks to Thoneve for the spot on this.