aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-11-21Actually remove PhysicsActor.SOPDescription this timeJustin Clark-Casey (justincc)1-1/+3
2011-11-21Chain SOP constructors together rather than having copy/paste codeJustin Clark-Casey (justincc)1-14/+5
2011-11-21refactor: Make SOP.Description an automatic propertyJustin Clark-Casey (justincc)1-6/+3
2011-11-21Remove unused PhysicsActor.SOPDescriptionJustin Clark-Casey (justincc)1-11/+2
2011-11-21Instead of generating a new list for bad characters on every physics pass, ↵Justin Clark-Casey (justincc)1-3/+12
keep reusing the same list.
2011-11-19Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for ↵Justin Clark-Casey (justincc)2-3/+2
SendCreateChildAgent" message This is misleading since a simulator will call this method before successfully trying remote regions. Also comments out spammy "[SIMULATION]: Stream handler called" AgentHandlers messages for now.
2011-11-19minor: Make HelloNeighbour messages more informativeJustin Clark-Casey (justincc)1-5/+10
2011-11-19Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)6-10/+13
57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly
2011-11-19Remove mono compiler warnings. Fix problem with co-ordinate given in ↵Justin Clark-Casey (justincc)3-9/+9
deregister region message
2011-11-19Improve some grid region log messages to express regions at co-ordinate ↵Justin Clark-Casey (justincc)5-13/+50
(e.g. 1000, 1000) rather than meter positions (256000, 256000)
2011-11-19improve region deregistration log messageJustin Clark-Casey (justincc)1-1/+4
2011-11-19Don't register a region twice on both official registration and maptile ↵Justin Clark-Casey (justincc)4-8/+11
regeneration. Maptile storage appears orthogonal to region registration
2011-11-17For TerrainModule.SaveToFile(), don't bother throwing the exception onwards ↵Justin Clark-Casey (justincc)1-1/+0
after printing out the error, since this method is invoked by users. Still throwing the exception on the stream method since this invoked programatically
2011-11-17Make "terrain save" more friendly by telling the user if we have saved and ↵Justin Clark-Casey (justincc)1-18/+32
putting out a useful complaint message if we haven't for some reason
2011-11-17If the entire simulator is shutting down then don't bother to unload the ↵Justin Clark-Casey (justincc)2-17/+35
scripts from the appdomain in XEngine. All the other actions (script state save, etc.) still occur. This makes shutdown where there are many scripts vastly quicker.
2011-11-16Stop OdePrim and OdeCharacter insanely overriding set LocalID to set their ↵Justin Clark-Casey (justincc)9-44/+40
own private m_localID property but leaving get to return the then unset PhysicsActor.LocalId! Instead, just have both subclasses use the PhysicsActor.LocalID property. This restores collision functionality that fell away in 45c7789 yesterday
2011-11-16Call public ForEach instead of using m_entities directly. No semantic ↵Dan Lake1-2/+2
changes, just cleanup
2011-11-15In AddNewClient, iterator over copy of entities rather than copying under ↵Dan Lake1-2/+3
read lock
2011-11-16Comment out the vebose logging on HGFriendsModule.Justin Clark-Casey (justincc)1-12/+11
Recent issues in http://opensimulator.org/mantis/view.php?id=5794 were not related to HG friends
2011-11-16Fix the build breakJustin Clark-Casey (justincc)1-1/+1
2011-11-16Look up a homeURL only when it's not null, in addition to not being string.EmptyJustin Clark-Casey (justincc)1-1/+1
2011-11-15Enable log message to tell us what type of url is being requested from a ↵Justin Clark-Casey (justincc)1-3/+3
user's homeurl
2011-11-15Make tracked per scene thread names conform to the majorirty format.Justin Clark-Casey (justincc)2-4/+9
This is <thread-name> (<region-name>)
2011-11-15fix build break on UserManagementModule.Justin Clark-Casey (justincc)3-15/+23
This also adds time since started to "show threads". Unfortunately these two changes got mixed in.
2011-11-15Do proper locking of UserManagementModule.m_UserCache when getting.Justin Clark-Casey (justincc)1-29/+57
This might help with [USER AGENT CONNECTOR]: new connector to () [USER AGENT CONNECTOR]: Unable to contact remote server for GetServerURLs [USER AGENT CONNECTOR]: Malformed Uri : Argument cannot be null. Parameter name: uriString
2011-11-15improve formatting of "show threads"Justin Clark-Casey (justincc)1-1/+8
2011-11-15send a watchdog heartbeat for a poll worker thread when it's actually runJustin Clark-Casey (justincc)1-0/+3
2011-11-15temporarily increasing logging in HGFriendsModule for debuggingJustin Clark-Casey (justincc)1-1/+24
2011-11-15distinguish between FriendsSimConnector and FriendsServiceConnector in logJustin Clark-Casey (justincc)2-17/+17
2011-11-15Add number of milliseconds since last update to "show threads"Justin Clark-Casey (justincc)2-4/+18
2011-11-15Dont' bother with a userAgentService != null check right after we've ↵Justin Clark-Casey (justincc)1-11/+10
constructed it
2011-11-15Add comments about trying to avoid synchronous work off the ↵Justin Clark-Casey (justincc)3-5/+16
EventManager.OnMakeRootAgent event since this is on the critical path for transfer of avatars from one region to another.
2011-11-15Instead of having scene add/remove collision events directly to the OdeScene ↵Justin Clark-Casey (justincc)1-20/+38
collision event dictionary, marshall them via a change dictionary first. This is to avoid a complicated tri-thread deadlock on region crossing for avatars with attachments, where 1) XEngine starting up scripts can lock XEngine.m_Scripts and then try to lock OdeScene._collisionEventPrim while starting up a script due to avatar border crossing 2) An existing collision event will lock OdeScene._collisionEventPrim and then try to lock SP.m_attachments while trying to send the collision event to attachments 3) The avatar still entering the region will lock SP.m_attachments and then try to lock m_Scripts to start more attachment scripts.
2011-11-15use a more efficient dictionary in OdeScene._collisionEventPrim rather than ↵Justin Clark-Casey (justincc)1-7/+4
a list
2011-11-15Removed unused and mostly commented out SceneCommunicationService methodsJustin Clark-Casey (justincc)2-116/+3
As far as I can see, the SCS is only now used for informing neighbours of up/down status and possibly sending child agent updates and close requests
2011-11-15Remove unused RegionCommsListener/IRegionCommsListener.Justin Clark-Casey (justincc)3-275/+0
All this is now being handled through IEntityTransferModule and SimulationService instead, and has been for some time.
2011-11-15remove SceneCommunicationService.OnAvatarCrossingIntoRegion. This stuff is ↵Justin Clark-Casey (justincc)4-11/+6
not being used any more - it's now IEntityTransferModule and SimulationService instead
2011-11-15Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> ↵Justin Clark-Casey (justincc)2-15/+13
RecacheFriends() to reflect their intended function
2011-11-15refactor: rename m_NeedsListOfFriends => m_NeedsListOfOnlineFriends to ↵Justin Clark-Casey (justincc)1-5/+5
better reflect its actual function
2011-11-15For clients that are entering a simulator from initial login, stop executing ↵Justin Clark-Casey (justincc)3-11/+34
FriendsModule.FetchFriendslist() asychronously. Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated. Changing this to synchronous may improve issues where a user does not see friends as online even though they are. I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
2011-11-15refactor: Don't create a new UUID for passing uuids to client - UUIDs are ↵Justin Clark-Casey (justincc)1-4/+6
structs are so not passed by reference (and they're immutable!)
2011-11-14Add test for removing a friendship.Justin Clark-Casey (justincc)4-17/+51
2011-11-14Improved method doc for AddFriend() - it actually does set up a two-way ↵Justin Clark-Casey (justincc)3-9/+7
relationship. Rename IFriendsModule.AddFriend() to AddFriendship()
2011-11-14minor: remove some mono compiler warningsJustin Clark-Casey (justincc)4-11/+2
2011-11-14Add test for adding a friend whilst onlineJustin Clark-Casey (justincc)4-7/+53
2011-11-14Add very simple FriendsModuleTests.TestNoFriends()Justin Clark-Casey (justincc)3-3/+90
2011-11-14If a friends identifier which is too short is given to ↵Justin Clark-Casey (justincc)2-1/+10
HGFriendsModule.GetOnlineFriends() then spit out a warning rather than failing on the String.Substring(). This is to progress http://opensimulator.org/mantis/view.php?id=5789
2011-11-14Do a ScenePresence null check in HGMessageTransferModule.SendIMToScene() to ↵Justin Clark-Casey (justincc)2-1/+4
stop a NullReferenceException being thrown if an HG IM is sent to a simulator running multiple regions This is an attempt to address http://opensimulator.org/mantis/view.php?id=5791
2011-11-11Remove SceneViewer from ScenePresence to reduce quadruple queueing ofDan Lake7-427/+22
prim update to only triple queuing. Existing method was: 1. Schedule prim for update, adding to scene update list 2. Update on SOGs during heartbeat queues update onto each SceneViewer 3. Update on SPs during heartbeat queues update onto each IClientAPI 4. ProcessEntityUpdates queues updates into UDP send stack Now the SceneViewer has been eliminated so updates are scheduled at any time and then put onto the IClientAPI priority queues immediately during SceneGraph.UpdateObjectGroups.
2011-11-12doh - correct build breakJustin Clark-Casey (justincc)1-6/+7