Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and ↵ | Dan Lake | 2011-12-12 | 6 | -50/+57 |
| | | | | IsColliding | ||||
* | Mantis 5816: osParseJSON Decoding Problems | nebadon | 2011-12-11 | 3 | -191/+72 |
| | | | | | | | osParseJSON uses hand-crafted decoding that has two issues * does not seem to handle top-level JSON lists * does not seem to handle unicode text thanks otakup0pe! | ||||
* | Implement handler for TeleportCancel inbound packet | Melanie | 2011-12-10 | 3 | -0/+14 |
| | |||||
* | minor: remove a mono compiler warning | Justin Clark-Casey (justincc) | 2011-12-09 | 1 | -1/+1 |
| | |||||
* | Print out one log message for every missing baked texture, rather than two. | Justin Clark-Casey (justincc) | 2011-12-09 | 1 | -22/+4 |
| | |||||
* | Do some clean up Scene.cs log messages. | Justin Clark-Casey (justincc) | 2011-12-09 | 1 | -24/+38 |
| | | | | | This prints out both exception message and stacktrace (Exception.ToString()) isn't enough on Windows. This also uses m_log.*Format() which is more efficient than string concat. | ||||
* | Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵ | Justin Clark-Casey (justincc) | 2011-12-09 | 5 | -44/+9 |
| | | | | in favour of IClientAPI.ISceneAgent.IsChildAgent instead. | ||||
* | remove some unused fields in ScenePresence | Justin Clark-Casey (justincc) | 2011-12-09 | 1 | -4/+0 |
| | |||||
* | Fix "fix-phantoms" help message. Thanks Garmin Kawaguichi. | Justin Clark-Casey (justincc) | 2011-12-09 | 1 | -4/+5 |
| | |||||
* | Move client id check in Scene.Inventory.cs:UpdateInventoryItemAsset so that ↵ | Justin Clark-Casey (justincc) | 2011-12-09 | 1 | -4/+6 |
| | | | | | | it doesn't trigger an exception if the item hasn't been found. In this situation we will now put out a slightly more meaningful log error message instead. | ||||
* | Add commented log lines to FetchInventoryDescendents2 path for future use. | Justin Clark-Casey (justincc) | 2011-12-09 | 1 | -0/+2 |
| | | | | Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost | ||||
* | Don't reply with an ack packet if the client is not authorized. | Justin Clark-Casey (justincc) | 2011-12-08 | 2 | -45/+31 |
| | |||||
* | Extend TestAddClient() to check that the first packet received is an ack packet | Justin Clark-Casey (justincc) | 2011-12-08 | 3 | -93/+116 |
| | |||||
* | Add OpenSim.Region.ClientStack.LindenUDP.Tests.dll back into the test suite | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -1/+1 |
| | |||||
* | Reactivate BasicCircuitTests.TestAddClient() | Justin Clark-Casey (justincc) | 2011-12-08 | 3 | -109/+138 |
| | | | | This checks that the initial UseCircuitCode packet is handled correctly for a normal client login. | ||||
* | Remove unnecessary AgentCircuitData null check from Scene.AddNewClient(). | Justin Clark-Casey (justincc) | 2011-12-08 | 3 | -16/+9 |
| | | | | | The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract | ||||
* | minor: remove some mono compiler warnings | Justin Clark-Casey (justincc) | 2011-12-08 | 2 | -3/+1 |
| | |||||
* | When a client connects to a scene, send other avatar appearance data ↵ | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -6/+6 |
| | | | | | | asynchronously to reduce hold up in the IN UDP packet processing loop. This is already being done for the initial object data send. | ||||
* | On a new client circuit, send the initial reply ack to let the client know ↵ | Justin Clark-Casey (justincc) | 2011-12-08 | 9 | -73/+85 |
| | | | | | | | | | it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces | ||||
* | Simplify Scene.AddNewClient() | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -17/+28 |
| | | | | | If sp becomes null right after we've checked or created it, then behaviour down the line is going to be wrong anyway. So instead retain the check/create ScenePresence reference and use this. | ||||
* | Remove unused SceneManager.TryGetAvatarsScene() | Justin Clark-Casey (justincc) | 2011-12-07 | 1 | -20/+0 |
| | | | | | It makes far more sense anyway to use TryGetRootScenePresence().Scene, in common with the rest of the code This method could also return any scene for child or root agents, depending in which order the scenes happened to lie in the list | ||||
* | On an Exception in Scene.RemoveClient(), always remove the client (and SP) ↵ | Justin Clark-Casey (justincc) | 2011-12-07 | 1 | -19/+28 |
| | | | | structure so that logout on unexpired packets isn't retriggered, causing the same exception | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2011-12-07 | 1 | -0/+1 |
|\ | |||||
| * | Trigger a Jenkins build | BlueWall | 2011-12-07 | 1 | -0/+1 |
| | | |||||
* | | Implement XMLRPCAdmin command admin_teleport_agent. | Justin Clark-Casey (justincc) | 2011-12-07 | 3 | -3/+42 |
|/ | | | | This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position. | ||||
* | Stop also adding an ordinary http handler when we set up a poll http handler. | Justin Clark-Casey (justincc) | 2011-12-07 | 2 | -17/+6 |
| | | | | It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path. | ||||
* | Stop accidentally setting up the UploadTexture caps handler with the same ↵ | Justin Clark-Casey (justincc) | 2011-12-06 | 1 | -1/+1 |
| | | | | | | | | url for all users This meant that if a user exited the region, the UploadTexture handler would be effectively removed for everyone, causing subsequent failures. This hopefully resolves the recent UploadTexture LLSD problems This was a regression in 5640f2e (Thu Dec 1 23:24:15 2011 +0000) | ||||
* | Make "show appearance" a synonym for "appearance show" | Justin Clark-Casey (justincc) | 2011-12-06 | 1 | -2/+8 |
| | |||||
* | In "appearance show", if a particular avatar is specified, print out texture ↵ | Justin Clark-Casey (justincc) | 2011-12-06 | 1 | -5/+35 |
| | | | | UUID for each bake type and whether the simulator can find it. | ||||
* | Actually send the avatar data if an individual avatar is specified, rather ↵ | Justin Clark-Casey (justincc) | 2011-12-06 | 1 | -0/+2 |
| | | | | than accidentally doing nothing | ||||
* | Allow "appearance show" command to take an optional avatar name | Justin Clark-Casey (justincc) | 2011-12-06 | 1 | -8/+40 |
| | |||||
* | Make it possible to manually send appearance information via the "appearance ↵ | Justin Clark-Casey (justincc) | 2011-12-06 | 1 | -11/+42 |
| | | | | send" command for a chosen avatar as well as all | ||||
* | Provide feedback as to which avatars are resending appearance informion on ↵ | Justin Clark-Casey (justincc) | 2011-12-06 | 1 | -2/+11 |
| | | | | "appearance send" console command | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2011-12-05 | 4 | -65/+67 |
|\ | |||||
| * | Fix CHANGED_TEXTURE and CHANGED_COLOR. | Melanie | 2011-12-05 | 4 | -65/+67 |
| | | |||||
* | | Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵ | Justin Clark-Casey (justincc) | 2011-12-05 | 12 | -23/+23 |
|/ | | | | | | | | of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse. | ||||
* | Split up test SceneHelpers to provide an AddChildScenePresence() call | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+1 |
| | |||||
* | Remove T012_TestAddNeighbourRegion() and T013_TestRemoveNeighbourRegion() ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -70/+5 |
| | | | | since they don't do anything useful. | ||||
* | Extend TestCreateChildScenePresence to make assertions both at CreateAgent ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+16 |
| | | | | stage and then at Scene.AddClient() | ||||
* | Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence() | Justin Clark-Casey (justincc) | 2011-12-03 | 3 | -16/+51 |
| | | | | | This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected. | ||||
* | Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 2 | -5/+3 |
| | | | | dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions | ||||
* | Add agent circuit number checks to TestCloseAgent() | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+4 |
| | |||||
* | Correct SOP.GetNumberOfSides() to return 8 for meshes rather than 7 | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -7/+5 |
| | | | | | We are returning the actual number of 'sides', not the maximum index number. Also minor format corrections. | ||||
* | Workaround for mesh to correct the number of faces in GetNumberOfSides(). ↵ | marc | 2011-12-03 | 1 | -1/+9 |
| | | | | | | Meshs are handeled as sculpts but can have up to 8 faces (SL restriction the collada format can handle even more). The patch enables all LSL function that adressing faces to behave correct. Like llGetNumberOfSides(); llSetLinkPrimitiveParamsFast(); llSetPrimitiveParams(); llSetColor(); Signed-off-by: marc <mare@sounddog.net> | ||||
* | Update SP.PhysicsCollisionUpdate() doc. | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -2/+5 |
| | | | | It might be inefficient, but there are collisions every frame if the avatar is walking/standing on the ground or a prim surface | ||||
* | Add method doc to SP.PhysicsCollisionUpdate() to make it clear that it's ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+4 |
| | | | | called continuously even where there are no collisions | ||||
* | Add basic TestFlyingAnimation() regression test | Justin Clark-Casey (justincc) | 2011-12-03 | 2 | -2/+75 |
| | |||||
* | Stop calling Animator.UpdateMovementAnimations() at the end of ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -2/+2 |
| | | | | | | HandleAgentUpdate(). There's no point doing this if it's being called via PhysicsCollisionUpdate | ||||
* | For now, disable mechanism to limit avatar animation updates since this ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 2 | -23/+28 |
| | | | | | | | | | causes avatars to never reach the correct animation after some actions. This reverts to situation where animation updates are made each frame on SP.PhysicsCollisionUpdate (though a packet is only sent if the anim actually changes). m_updateCount was not being update on various avatar state changes, causing the correct animations to never be sent. Always setting in HandleAgentUpdate() is not enough since the avatar is continually sending AgentUpdate packets. One would need to identify all the conditions under which animations need to play out and set m_updateCount appropriately in SP.HandleAgentUpdate() | ||||
* | refactor: Use just ScenePresenceAnimator.CurrentMovementAnimation rather ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -14/+12 |
| | | | | than duplicating it with m_movementAnimation |