Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL. | Dan Lake | 2011-11-02 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs. | ||||
* | Remove completely unused SOG.Rotation parameter | Justin Clark-Casey (justincc) | 2011-10-29 | 1 | -9/+9 |
| | | | | We always use SOP.Rotation instead | ||||
* | Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵ | Justin Clark-Casey (justincc) | 2011-10-25 | 1 | -0/+1 |
| | | | | | | | | | of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo) | ||||
* | Get UUIDGatherer to scan notecards in the graph for asset uuids. | Justin Clark-Casey (justincc) | 2011-10-22 | 1 | -0/+26 |
| | | | | | This is to support npc baked texture saving in oars and iars. May address http://opensimulator.org/mantis/view.php?id=5743 | ||||
* | Fixed line endings from previous commit | Dan Lake | 2011-10-06 | 1 | -2/+2 |
| | |||||
* | Refactored "known child region" in ScenePresence. There were 4 different | Dan Lake | 2011-10-06 | 1 | -7/+4 |
| | | | | | | ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists. | ||||
* | Reinstate option to land an npc when it reaches a target. | Justin Clark-Casey (justincc) | 2011-09-22 | 1 | -2/+2 |
| | | | | This is moved into ScenePresence for now as a general facility | ||||
* | Move code which handles NPC movement into Scene so that this can also be ↵ | Justin Clark-Casey (justincc) | 2011-09-21 | 1 | -0/+135 |
| | | | | | | | | used by Autopilot coming from the client side. I thought that I had implemented this but must have accidentally removed it. Adds a regression test to detect if this happens again. Temporarily disables automatic landing of NPC at a target. Will be fixed presently. | ||||
* | stop the duplicate remove of the root part ids from the full part and local ↵ | Justin Clark-Casey (justincc) | 2011-09-13 | 1 | -1/+1 |
| | | | | | | part indexes in SG.DeleteSceneObject() this is unnecessary because the parts array iterated through contains the root part as well as the non-root parts | ||||
* | extend TestGetSceneObjectByPartLocalId() to test state after scene object ↵ | Justin Clark-Casey (justincc) | 2011-09-13 | 1 | -0/+6 |
| | | | | deletion | ||||
* | Add new TestGetSceneObjectByPartLocalId() for retrieving a scene object via ↵ | Justin Clark-Casey (justincc) | 2011-09-13 | 1 | -0/+27 |
| | | | | the local id of one of its parts | ||||
* | improve TestAddSceneObject() to test a multi-part object rather than a ↵ | Justin Clark-Casey (justincc) | 2011-09-13 | 1 | -11/+14 |
| | | | | single-part | ||||
* | get rid of appearance null checks - this is never null | Justin Clark-Casey (justincc) | 2011-08-31 | 1 | -0/+1 |
| | |||||
* | Don't try to save changed attachment states when an NPC with attachments is ↵ | Justin Clark-Casey (justincc) | 2011-08-18 | 1 | -2/+2 |
| | | | | | | | removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects | ||||
* | Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -4/+4 |
| | | | | attachments check | ||||
* | relocate AttachmentTests.cs to AttachmentsModuleTests.cs | Justin Clark-Casey (justincc) | 2011-08-16 | 1 | -172/+0 |
| | |||||
* | remove some obsolete tests that are now done elsewhere | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -53/+53 |
| | |||||
* | Add a test to check that ScenePresence and circuit go away when a root agent ↵ | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -10/+17 |
| | | | | is closed down | ||||
* | refactor: Change SceneHelpers.AddClient() to AddScenePresence(). | Justin Clark-Casey (justincc) | 2011-08-06 | 6 | -37/+47 |
| | | | | This seems to make more sense as we can get SP.ControllingClient | ||||
* | rip out sog generation methods in ScenePresenceAgentTests and use ↵ | Justin Clark-Casey (justincc) | 2011-08-06 | 2 | -38/+8 |
| | | | | | | | SceneHelpers instead Not that it matters, since these tests are pretty bogus anyway. Also, renames some test classes for consistency. | ||||
* | rename TestHelper => TestHelpers for consistency | Justin Clark-Casey (justincc) | 2011-08-06 | 16 | -41/+41 |
| | |||||
* | rename test SceneSetupHelpers -> SceneHelpers for consistency | Justin Clark-Casey (justincc) | 2011-08-06 | 15 | -65/+65 |
| | |||||
* | extend phantom flag regression test to toggle back off | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -0/+4 |
| | |||||
* | refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify. | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -2/+2 |
| | |||||
* | Add regression test for setting phantom status on a scene object. This is ↵ | Justin Clark-Casey (justincc) | 2011-08-05 | 1 | -0/+62 |
| | | | | not yet complete. | ||||
* | Make various tweaks to undo code in an effort to get things working better. | Justin Clark-Casey (justincc) | 2011-07-18 | 1 | -1/+1 |
| | | | | | | | Undo rotation and position appear to be working. Resizing a single prim appears to be working, though the undo has to be done twice. Resizing a group of prims still does not work properly - possibly because in the UndoState we don't store a knowledge of when we're resizing a whole group rather than individual prims. This needs to be addressed. | ||||
* | Use a standard generic system stack for the undo/redo stacks instead of our ↵ | Justin Clark-Casey (justincc) | 2011-07-18 | 1 | -0/+2 |
| | | | | | | | own homebrew. system stack also uses an array, so no performance penalty. Also exposes undo count and adds a test assertion for correct undo count after resize | ||||
* | refactor: Push all part resize code down into SceneObjectPart.Resize() | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -1/+1 |
| | |||||
* | add test for resizing one part in a group | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -0/+35 |
| | |||||
* | remove the need to supply SceneObjectGroup.GroupResize() with a localId. | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -1/+1 |
| | | | | This is utterly pointless scene we already know which sog we're dealing with. | ||||
* | Add very basic test for resizing a scene object with one prim | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -0/+67 |
| | |||||
* | Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵ | Justin Clark-Casey (justincc) | 2011-07-09 | 6 | -7/+7 |
| | | | | effects and return object | ||||
* | Extend TestGiveInventoryFolder() to test giving back the freshly received folder | Justin Clark-Casey (justincc) | 2011-06-04 | 1 | -0/+8 |
| | |||||
* | Fix give inventory tests to use different users rather than (accidentally) ↵ | Justin Clark-Casey (justincc) | 2011-06-04 | 1 | -6/+11 |
| | | | | the same user. Extend TestGiveInventoryItem() to test giving back the same item. | ||||
* | insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵ | Justin Clark-Casey (justincc) | 2011-06-04 | 1 | -0/+3 |
| | | | | rather than just the first one | ||||
* | create TestGetInventoryItem() | Justin Clark-Casey (justincc) | 2011-06-04 | 1 | -0/+19 |
| | |||||
* | extend TestGiveInventoryFolder() to check for the receipt by user 2 | Justin Clark-Casey (justincc) | 2011-06-04 | 1 | -2/+4 |
| | |||||
* | minor: add in method print out to new test | Justin Clark-Casey (justincc) | 2011-06-03 | 1 | -0/+3 |
| | |||||
* | add stub UserInventoryTests.GiveInventoryFolder(). Not yet complete | Justin Clark-Casey (justincc) | 2011-06-03 | 1 | -0/+70 |
| | |||||
* | Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 12 | -12/+0 |
| | | | | OpenSim.Tests.Common instead | ||||
* | refactor: rename AddSceneObjectItem to AddSceneObject | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -1/+1 |
| | |||||
* | refactor: move scene object item creation code into TaskInventoryHelpers | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -8/+2 |
| | |||||
* | move test task inventory notecard item creation into a new ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -21/+2 |
| | | | | TastInventoryHelpers class | ||||
* | refactor: use SceneSetupHelpers.CreateSceneObject() | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -13/+3 |
| | |||||
* | rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -3/+3 |
| | | | | other test helper names | ||||
* | refactor: in TaskInventoryTests, use ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -12/+3 |
| | | | | UserProfileTestUtils.CreateUserWithInvetory() | ||||
* | refactor Scene.RezObject() to use AddNewSceneObject() rather than ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -1/+4 |
| | | | | copy/pasting code with small differences | ||||
* | refactor TestRezObjectFromInventoryItem() | Justin Clark-Casey (justincc) | 2011-05-20 | 1 | -6/+6 |
| | |||||
* | add test for rezzing an object from a prim item | Justin Clark-Casey (justincc) | 2011-05-20 | 1 | -1/+44 |
| | |||||
* | get rid of all traces of the now used mock service infrastructure | Justin Clark-Casey (justincc) | 2011-04-15 | 2 | -4/+4 |
| |