Commit Graph

20327 Commits (bb0f2f98e85a7da758e2de458c3d28e13ce2f1d6)

Author SHA1 Message Date
Justin Clark-Casey (justincc) bb0f2f98e8 If a caller tries to queue a CAPs message to a scene presence that has no event queue (e.g. an NPC), only warn if event queue debugging is greater than zero.
Removes the spurious log warnings if groups are active when NPCs are used.
Adds more regression tests associated with adding messages to the event queue
2014-02-12 23:27:22 +00:00
Justin Clark-Casey (justincc) 8000d0ec32 Change 0.7.6-post-fixes branch back to Post_Fixes flavour 2014-02-01 00:15:47 +00:00
Justin Clark-Casey (justincc) 40144fb0f6 Change 0.7.6.1 flavour to release 2014-01-31 20:28:09 +00:00
Justin Clark-Casey (justincc) 75777ddd57 Record whether login to home fails because no home set (UUID.Zero) or region not found. 2014-01-30 00:50:53 +00:00
Justin Clark-Casey (justincc) 6dd99837fd Add "show grid user" robust/standalone console command for debug purposes.
Shows all data on entries which match or start with a given ID.
This would usually be a UUID.
2014-01-30 00:28:49 +00:00
Justin Clark-Casey (justincc) 798c61c112 minor: remove long unused state queue from "show queues" console reports 2014-01-24 19:42:52 +00:00
Justin Clark-Casey (justincc) ed1a10d92f minor: correct the usage statement on the "show image queues" console command - should not have been "image queues show" 2014-01-24 19:42:48 +00:00
Justin Clark-Casey (justincc) d1f1642e1a Skip IClientAPIs that don't implement IStatsCollector (such as NPCAvatar) from the "show queues" console report to stop screwing up formatting.
"show pquques" already did this
2014-01-24 19:42:44 +00:00
Justin Clark-Casey (justincc) 87e725cd24 Merge branch '0.7.6-extended' into 0.7.6-post-fixes 2014-01-24 19:16:59 +00:00
Justin Clark-Casey (justincc) 3ee9a6c2ee Change version to 0.7.6.1-rc1 instead 2014-01-24 19:14:45 +00:00
Justin Clark-Casey (justincc) 972f5175a8 Change version to 0.7.6.1 and type to Release 2014-01-24 18:29:31 +00:00
Justin Clark-Casey (justincc) 04e6c68242 Properly dispose of drawing objects to reduce/stop memory leakage on generating map tiles with the MapImageModule and TexturedMapTileRenderer (the current defaults) 2014-01-24 00:20:41 +00:00
Justin Clark-Casey (justincc) 099975dec2 Add "generate map" console command to allow manual regeneration and storage of maptiles
Primarily for test purposes though could be useful if one prefers to manually update the map tile
2014-01-24 00:20:22 +00:00
Justin Clark-Casey (justincc) 27abe040bd Stop exceptions being generated on agent connection if a telehub object has been deleted or has no spawn points. 2014-01-20 19:37:50 +00:00
Justin Clark-Casey (justincc) d88c9756a7 Actually put IsChildAgent = true inside the lock, otherwise there is still a small window for race conditions on duplicate CompleteMovement calls 2014-01-17 00:11:52 +00:00
Justin Clark-Casey (justincc) bf86addf3d Prevent duplicate invocations or race dontision in SP.CompleteMovement()
This can happen under poor network conditions if a viewer repeats the message send
If this happens, physics actors can get orphaned, which unecessarily raises physics frame times
2014-01-17 00:11:48 +00:00
Justin Clark-Casey (justincc) 91d86301ef Merge branch '0.7.6-post-fixes' of ssh://opensimulator.org/var/git/opensim into 0.7.6-post-fixes 2014-01-15 00:28:58 +00:00
Justin Clark-Casey (justincc) b73b5a24c3 Fix false positive test failure in TestRepeatSameDrawContainingImageReusingTexture() and TestRepeatSameDrawContainingImage() if localhost has a webserver set up.
Use 0.0.0.0 instead of localhost
2014-01-15 00:15:28 +00:00
Melanie 3ab559efa9 Dynamically adjust to the number of visual params sent. 2014-01-05 19:50:51 +00:00
BlueWall bece6fb8a3 Merge branch '0.7.6-post-fixes' of ssh://opensimulator.org/var/git/opensim into 0.7.6-post-fixes 2013-12-16 16:36:05 -05:00
BlueWall 017ae9132e Fix issue with editing notes for other avatars 2013-12-16 16:26:28 -05:00
BlueWall b699af87dc Populate user preferences with UserAccount email if it is present, else return an error indicating no email is on record for the user. 2013-12-16 16:25:14 -05:00
Justin Clark-Casey (justincc) c1ff245bf3 Wrap analysis of the particle system in the UUID Gatherer in a separate try/catch as sometimes it appears that this can be corrupt.
As per Oren's suggestion.
2013-12-14 02:35:07 +00:00
BlueWall 5745aa0f86 Backport profile fixes 2013-12-06 14:30:37 -05:00
Kevin Cozens b8a6fd3e64 Added support for attachments to group notices when using Flotsam groups. 2013-10-15 23:19:37 +01:00
Justin Clark-Casey (justincc) 3bd922f61b Change 0.7.6 release flavour to post fixes 2013-10-04 23:37:48 +01:00
Justin Clark-Casey (justincc) 9dae06b296 Update flavour to release 2013-10-04 20:45:02 +01:00
Justin Clark-Casey (justincc) ef10e10fd7 Add OnChatToNPC and OnInstantMessageToNPC messages to NPCAvatar to allow region modules to directly subscribe to chat and messages received by NPCs
Currently still requires INPC from NPCModule.GetNPC() to be cast to an NPCAvatar.
2013-10-04 20:43:02 +01:00
Justin Clark-Casey (justincc) 329235d3b7 Flip release version to RC1 2013-09-27 22:34:40 +01:00
Justin Clark-Casey (justincc) 1e48bf43a3 minor: Disable logging left active on regression test TestSameSimulatorIsolatedRegionsV2() 2013-09-27 22:34:24 +01:00
Justin Clark-Casey (justincc) 5a6ad028e3 refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in the code that this is symmetric with CloseAgent() 2013-09-27 22:29:16 +01:00
Justin Clark-Casey (justincc) e6c0267def refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly.
Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-27 22:29:10 +01:00
dahlia 753cc93af5 minor code formatting for the sake of consistency and readability 2013-09-27 00:36:13 +01:00
Justin Clark-Casey (justincc) d950cd7670 minor: Make OpenSimDefaults.ini consistent (spacing and tabs to spaces) 2013-09-27 00:18:39 +01:00
Justin Clark-Casey (justincc) ae3407c73e minor: Clean up tabbing and spacing issues in OpenSim.ini.example 2013-09-27 00:18:33 +01:00
Justin Clark-Casey (justincc) 19e2f44c25 minor: correct attachment spelling mistake in log message in HGEntityTransferModule.OnIncomingSceneObject() 2013-09-26 22:38:49 +01:00
Justin Clark-Casey (justincc) f0845c18d4 minor: Comment out windlight log message about sending scene data for now. 2013-09-26 20:11:27 +01:00
Justin Clark-Casey (justincc) b21c06de23 minor: Add scene name to baked textures in cache log message 2013-09-26 20:11:22 +01:00
Justin Clark-Casey (justincc) 643bc47451 minor: log MaxOutgoingTransferVersion at EntityTransferModule startup 2013-09-26 20:11:17 +01:00
Justin Clark-Casey (justincc) 7d6072b825 minor: correct spelling of Initialized in LSC connector version message 2013-09-26 20:11:12 +01:00
Justin Clark-Casey (justincc) 6013c15b6e Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's also called by HGUserManagementModule 2013-09-26 20:11:09 +01:00
Justin Clark-Casey (justincc) 0114c8bd15 Reinsert client.SceneAgent checks into LLUDPServer.HandleCompleteMovementIntoRegion() to fix race condition regression in commit 7dbc93c (Wed Sep 18 21:41:51 2013 +0100)
This check is necessary to close a race condition where the CompleteAgentMovement processing could proceed when the UseCircuitCode thread had added the client to the client manager but before the ScenePresence had registered to process the CompleteAgentMovement message.
This is most probably why the message appeared to get lost on a proportion of entity transfers.
A better long term solution may be to set the IClientAPI.SceneAgent property before the client is added to the manager.
2013-09-26 20:11:05 +01:00
Justin Clark-Casey (justincc) 7eb5680c38 Reinsert 200ms sleep accidentally removed in commit 7dbc93c (Wed Sep 18 21:41:51 2013 +0100) 2013-09-26 20:11:00 +01:00
Justin Clark-Casey (justincc) 516ab5d8c6 Instead of swallowing any socket begin/end receive exceptions, log them for debugging purposes.
This may reveal why on some teleports with current code, the UseCircuitCode message gets through but CompleteMovement disappears into the ether.
2013-09-26 20:10:56 +01:00
Justin Clark-Casey (justincc) 2b392a09b1 minor: Recomment out log message uncommented in previous cbdfe969 2013-09-26 20:09:48 +01:00
Oren Hurvitz 5be6954e5d When giving items between avatars in different simulators, only add the item to the receiving avatar's inventory once.
When a user gives an item, the user's client sends an InventoryOffered IM message to its simulator. This adds the item to the receiver's inventory. If the receiver isn't in the same simulator then XMLRPC is used to forward the IM to the correct simulator. The bug was that the receiving simulator handled the message by calling OnInstantMessage() again, which added a second copy of the item to the inventory. Instead, the receiving simulator should only notify the avatar that the item was offered.
2013-09-26 20:09:43 +01:00
Justin Clark-Casey (justincc) 7cb673e5dc minor: Add prefix to log message in LureModule 2013-09-26 20:09:38 +01:00
Justin Clark-Casey (justincc) e4dd069a95 minor: Correct minor spelling mistake Reseting -> Resetting in HG Map module log message 2013-09-26 20:09:34 +01:00
Justin Clark-Casey (justincc) afa9847288 Make UUID.Zero resolve to "Unknown User" in user cache.
This is to avoid massive numbers of 'no user found' logs when user IDs are missing for some reason.
UUID.Zero should not be used for any user ID.
2013-09-26 20:09:30 +01:00
Justin Clark-Casey (justincc) 111d1ba826 Lock around read/write of ScenePresence.m_originRegionID to make sure that all threads are seeing the latest value and not a cached one.
There is a possibilty that some V2 teleport failures are due to the viewer triggered CompleteMovement thread not seeing the change of m_originRegionID by the UpdateAgent thread.
2013-09-26 20:09:25 +01:00