aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)2014-04-111-0/+6
| | | | | | | | completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-091-1/+1
| | | | referrer)
* Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz2014-04-021-4/+5
| | | | | | list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
* Fix problem where moving an object to another region on the same simulator ↵Justin Clark-Casey (justincc)2014-04-021-0/+26
| | | | | | | | was failing, with the object returning to its original position. Root cause was that PrimLimitsModule was not properly handling the case where the parcel it was asked to check was outside the current region's bounds. If this is the case, we can abort the check since the receiving region will perform it. Added a regression test for this case.
* Add regression test for http inventory fetch.Justin Clark-Casey (justincc)2014-03-173-0/+455
| | | | Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
* Instead of auto-creating a parcel on request if one doesn't cover a given ↵Justin Clark-Casey (justincc)2014-03-111-3/+6
| | | | | | | | | location, fill in gaps or extend existing parcel right after initial data load. This is in line with simpler and still existing behaviour where a default parcel is created if no parcels are in storage at all. Making this change as another step to address current problems with spurious parcels occasionally being created. Also adds regression tests for different load behaviours depending on existing stored parcel data. Relates to http://opensimulator.org/mantis/view.php?id=7035
* Add regression test for sending group notices via xmlrpc groups connector.Justin Clark-Casey (justincc)2014-03-071-23/+129
|
* If an avatar is sitting, send out position updates to clients for any ↵Justin Clark-Casey (justincc)2014-03-051-0/+3
| | | | | | | | change, not just those outside the usual tolerances. This is to allow small adjustments of less than 0.05m in functions such as llSetPrimitiveLinkParams() to work This is another fix for http://opensimulator.org/mantis/view.php?id=7044 Extends regression test for this case.
* Stop mesh avatars that specify the alpha texture in their bake slots from ↵Justin Clark-Casey (justincc)2014-02-241-0/+3
| | | | | | | causing the simulator to continually request that they rebake This is because the alpha texture is not in the cache, we must continue to have the fallback of looking for these and other persisted bakes in the asset service. Relates to http://opensimulator.org/mantis/view.php?id=6927
* Merge branch 'master' into varregionRobert Adams2014-01-212-7/+19
|\
| * Merge branch 'justincc-master'Justin Clark-Casey (justincc)2014-01-202-7/+19
| |\
| | * Stop exceptions being generated on agent connection if a telehub object has ↵Justin Clark-Casey (justincc)2014-01-202-7/+19
| | | | | | | | | | | | been deleted or has no spawn points.
| * | varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams2014-01-041-4/+7
| |/ | | | | | | | | | | | | | | | | | | | | CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen). Conflicts: OpenSim/Framework/RegionInfo.cs
* | varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams2014-01-031-4/+7
| | | | | | | | | | | | | | CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen).
* | Merge branch 'master' into varregionRobert Adams2013-12-201-1/+2
|\ \ | |/
| * Create regression test TestSendAgentGroupDataUpdate() for groups agent data ↵Justin Clark-Casey (justincc)2013-12-181-1/+2
| | | | | | | | sending
* | varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams2013-11-081-6/+2
| | | | | | | | | | | | | | Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
* | varregion: add plumbing to pass region size from Scene down to theRobert Adams2013-11-041-1/+2
| | | | | | | | | | | | physics engine. Older physics engines will default to the legacy region size. Update BulletSim to use the new region size information.
* | varregion: push TerrainData implementation up and down the database storage ↵Robert Adams2013-11-011-3/+26
|/ | | | | | | stack. Implement both LoadTerrain and StoreTerrain for all DBs. Move all database blob serialization/deserialization into TerrainData.
* refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2013-09-272-3/+3
| | | | the code that this is symmetric with CloseAgent()
* Add ScenePresenceTeleportTests.TestSameSimulatorIsolatedRegionsV2() ↵Justin Clark-Casey (justincc)2013-08-171-3/+40
| | | | | | regression test for v2 transfers. Also adjusts names of teleport setup helpers in EntityTransferHelpers
* Create TestSameSimulatorNeighbouringRegionsTeleportV2() regression test for ↵Justin Clark-Casey (justincc)2013-08-121-8/+18
| | | | V2 transfer protocol.
* Fix regression tests relating to agent transfer by making simulator use last ↵Justin Clark-Casey (justincc)2013-07-261-2/+10
| | | | week's SIMULATOR/0.1 protocol for now.
* EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto2013-07-211-1/+1
| | | | lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
* Manage AgentUpdates more sanely:Diva Canto2013-07-211-0/+1
| | | | | | - The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around - Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later - Ignore updates of HeadRotation, which were problematic and aren't being used up stream
* Fix broken tests -- the test setup was wrong... sigh.Diva Canto2013-07-141-1/+1
|
* Update the money framework to allow sending the new style linden "serverside ↵Melanie2013-05-251-6/+1
| | | | | | is now viewerside" messages regarding currency This will require all money modules to be refactored!
* minor: Remove unnecessary code that was generating warning in ↵Justin Clark-Casey (justincc)2013-05-091-2/+2
| | | | TestXInventoryDataPlugin
* remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)2013-05-091-3/+1
|
* Fix issue where objects removed via llDie() would not disappear for users ↵Justin Clark-Casey (justincc)2013-05-093-67/+9
| | | | | | | | looking in from neighbouring sims. This was because this particular code path (unlike user delete) only sent kills to root presences, for no apparent good reason. Added regression test for this case. This fixes http://opensimulator.org/mantis/view.php?id=6627
* Adds an event and a method so that handling of the CachedTextureMic Bowman2013-05-081-0/+6
| | | | | | | | | | | | packet can be pulled out of LLClientView and moved to AvatarFactory. The first pass at reusing textures (turned off by default) is included. When reusing textures, if the baked textures from a previous login are still in the asset service (which generally means that they are in the simulator's cache) then the avatar will not need to rebake. This is both a performance improvement (specifically that an avatars baked textures do not need to be sent to other users who have the old textures cached) and a resource improvement (don't have to deal with duplicate bakes in the asset service cache).
* Add TestRejectGivenFolder() and TestAcceptGivenFolder() regression testsJustin Clark-Casey (justincc)2013-04-292-5/+64
|
* Add regression test for inventory item give, reject and subsequent trash ↵Justin Clark-Casey (justincc)2013-04-291-1/+3
| | | | | | folder purge by receiver. This commit also actually adds the InventoryTransferModuleTests file which I previously forgot
* Add regression test for offer, accept and subsequent receiver delete of an ↵Justin Clark-Casey (justincc)2013-04-291-0/+12
| | | | item offered via instant message.
* Allow callers to set the invoice parameter for GenericMessageMelanie2013-04-221-2/+2
|
* Add file missing from last commit 36651beJustin Clark-Casey (justincc)2013-03-201-0/+91
|
* On the later forms of teleport failure, tell the user if this was because ↵Justin Clark-Casey (justincc)2013-03-202-31/+35
| | | | | | | viewer couldn't/didn't connect with destination or if destination didn't signal teleport completion. Also adds regression test for the case where the viewer couldn't connect with the destination region. Also refactoring of regression test support code associated with entity transfer in order to make this test possible and the code less obscure.
* Add ILandChannel.GetLandObject(Vector3 position) as this is a very common ↵Justin Clark-Casey (justincc)2013-03-141-0/+5
| | | | | | input to GetLandObject() This conforms to the existing ILandChannel.ParcelsNearPoint() method
* Add code for testing event queue messages recevied on region cross.Justin Clark-Casey (justincc)2013-03-061-0/+178
| | | | This is currently disabled pending an improvement in the test code to properly add avatars when an event queue module is present.
* Add regression test for presence crossing between regions on the same simulator.Justin Clark-Casey (justincc)2013-03-061-0/+4
| | | | Unlike a much earlier commented out version of this test, this is done in synchronous mode.
* Add regression tests for llGetNotecardLine()Justin Clark-Casey (justincc)2013-02-283-18/+66
|
* Add regression test for llRequestUrl()Justin Clark-Casey (justincc)2013-02-261-6/+51
|
* Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)2013-02-161-20/+89
|
* Plumb the path from the client to the extra physics params and backMelanie2013-02-071-0/+5
|
* Add TestJsonWriteReadNotecard() regression testJustin Clark-Casey (justincc)2013-02-071-1/+1
|
* Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)2013-02-062-3/+2
|
* Add basic JsonCreateStore() regression testJustin Clark-Casey (justincc)2013-01-251-0/+214
|
* Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)2012-11-242-26/+76
| | | | | | | | | parcel owner ID to the estate owner even if the group UUID was present. Aims to address http://opensimulator.org/mantis/view.php?id=6355 As part of this work, an incomplete IXGroupsData was added which currently only allows store/fetch/delete of group records (i.e. no membership data etc) This is subject to change and currently only an in-memory storage implementation exists for regression test purposes.
* minor: Add some explanative method doc to SceneHelpers.SetupSceneModules()Justin Clark-Casey (justincc)2012-11-131-0/+4
|
* Remove the old style module loader and all references to itMelanie2012-11-122-4/+4
|