0cf5c0837b 
								
							
								 
							
						 
						
							
							
								
								Get rid of OdeCharacter != null checks since OdeScene._characters can never contain a null character.  
							
							... 
							
							
							
							Ignoring the ancient code glyphs not to do this.... 
							
						 
						
							2011-11-28 15:53:45 +00:00  
				
					
						
							
							
								 
						
							
							
								1edfe05c16 
								
							
								 
							
						 
						
							
							
								
								remove unnecessary OdeScene._activeprims locking.  Code is single-threaded  
							
							
							
						 
						
							2011-11-28 15:53:36 +00:00  
				
					
						
							
							
								 
						
							
							
								bba4577d88 
								
							
								 
							
						 
						
							
							
								
								Restore defects list.  In hindsight, the reason for this is becuase we can't remove the character whilst iterating over the list.  
							
							... 
							
							
							
							This commit also removes locking on OdeScene._characters since code is single threaded 
							
						 
						
							2011-11-28 15:53:28 +00:00  
				
					
						
							
							
								 
						
							
							
								5c305494ae 
								
							
								 
							
						 
						
							
							
								
								simplify operation of OdeScene._perloopContact  
							
							
							
						 
						
							2011-11-28 15:53:19 +00:00  
				
					
						
							
							
								 
						
							
							
								4b2b0d4a05 
								
							
								 
							
						 
						
							
							
								
								don't bother locking OdeScene._perloopContact in single threaded code  
							
							
							
						 
						
							2011-11-28 15:53:11 +00:00  
				
					
						
							
							
								 
						
							
							
								61848ebe0d 
								
							
								 
							
						 
						
							
							
								
								don't lock OdeScene.contacts since only ever accessed by a single thread  
							
							
							
						 
						
							2011-11-28 15:53:04 +00:00  
				
					
						
							
							
								 
						
							
							
								f48431345b 
								
							
								 
							
						 
						
							
							
								
								rename ODECharacter.AvatarGeomAndBodyCreation() -> CreateOdeStructures() to match existing DestroyOdeStructures()  
							
							
							
						 
						
							2011-11-28 15:52:53 +00:00  
				
					
						
							
							
								 
						
							
							
								9c4597a00f 
								
							
								 
							
						 
						
							
							
								
								refactor: Eliminate one line ODECharacter.doForce() method for code clarity  
							
							
							
						 
						
							2011-11-28 15:49:37 +00:00  
				
					
						
							
							
								 
						
							
							
								b528150d16 
								
							
								 
							
						 
						
							
							
								
								Comment out calls to OdeScene.waitForSpaceUnlock() since that method does nothing right now  
							
							
							
						 
						
							2011-11-28 15:42:36 +00:00  
				
					
						
							
							
								 
						
							
							
								4a99619bc0 
								
							
								 
							
						 
						
							
							
								
								Reduce complexity of OdeScene.Simulate() by fully removing bad characters at point of detection rather than later on.  
							
							
							
						 
						
							2011-11-28 15:42:21 +00:00  
				
					
						
							
							
								 
						
							
							
								5bd27b7b22 
								
							
								 
							
						 
						
							
							
								
								move geom/actor map maintenance into DestroyODEStructures()/AvatarGeomAndBodyCreation().  
							
							... 
							
							
							
							This saves us having to do it separately when a character capsule size is changed 
							
						 
						
							2011-11-28 15:38:50 +00:00  
				
					
						
							
							
								 
						
							
							
								8ea97cc608 
								
							
								 
							
						 
						
							
							
								
								When changing avatar size in ODE, remove the old actor from the name and actor maps  
							
							
							
						 
						
							2011-11-28 15:38:42 +00:00  
				
					
						
							
							
								 
						
							
							
								1850b778e2 
								
							
								 
							
						 
						
							
							
								
								When an ODECharacter is removed (e.g. when an avatar leaves a scene), remove the actor reference in OdeScene.actor_name_map rather than leaving it dangling.  
							
							... 
							
							
							
							This also largely centralizes adds/removes in OdeScene.AddCharacter()/RemoveCharacter() 
							
						 
						
							2011-11-28 15:37:57 +00:00  
				
					
						
							
							
								 
						
							
							
								5cd33f5e21 
								
							
								 
							
						 
						
							
							
								
								Have ODECharacter and ODEPrim both use PhysicsActor.Name instead of maintaining their own properties  
							
							
							
						 
						
							2011-11-28 15:37:49 +00:00  
				
					
						
							
							
								 
						
							
							
								cd3d5379d6 
								
							
								 
							
						 
						
							
							
								
								Actually remove PhysicsActor.SOPDescription this time  
							
							
							
						 
						
							2011-11-28 15:37:04 +00:00  
				
					
						
							
							
								 
						
							
							
								58021b5300 
								
							
								 
							
						 
						
							
							
								
								Chain SOP constructors together rather than having copy/paste code  
							
							
							
						 
						
							2011-11-28 15:36:53 +00:00  
				
					
						
							
							
								 
						
							
							
								3b141e5eee 
								
							
								 
							
						 
						
							
							
								
								refactor: Make SOP.Description an automatic property  
							
							
							
						 
						
							2011-11-28 15:34:29 +00:00  
				
					
						
							
							
								 
						
							
							
								08bc6622dd 
								
							
								 
							
						 
						
							
							
								
								Remove unused PhysicsActor.SOPDescription  
							
							
							
						 
						
							2011-11-28 15:30:00 +00:00  
				
					
						
							
							
								 
						
							
							
								c253539c04 
								
							
								 
							
						 
						
							
							
								
								Instead of generating a new list for bad characters on every physics pass, keep reusing the same list.  
							
							
							
						 
						
							2011-11-28 15:29:51 +00:00  
				
					
						
							
							
								 
						
							
							
								f3b45be9c0 
								
							
								 
							
						 
						
							
							
								
								Move DeleteScriptsOnStartup switch from [Startup] to [XEngine] in OpenSim.ini.example.  
							
							... 
							
							
							
							If anybody was changing this and wondering why there was no effect, this is why. 
							
						 
						
							2011-11-28 15:29:38 +00:00  
				
					
						
							
							
								 
						
							
							
								59c19110e4 
								
							
								 
							
						 
						
							
							
								
								Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for 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-28 15:28:35 +00:00  
				
					
						
							
							
								 
						
							
							
								7c03fba3fc 
								
							
								 
							
						 
						
							
							
								
								minor: Make HelloNeighbour messages more informative  
							
							
							
						 
						
							2011-11-28 15:28:28 +00:00  
				
					
						
							
							
								 
						
							
							
								2593a446ac 
								
							
								 
							
						 
						
							
							
								
								Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent 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-28 15:28:14 +00:00  
				
					
						
							
							
								 
						
							
							
								011c1279f5 
								
							
								 
							
						 
						
							
							
								
								Enable v2/v3 map tile url setting on robust as default in config  
							
							... 
							
							
							
							This is necessary to see map tiles on v2/v3 viewers and appears to work fine 
							
						 
						
							2011-11-28 15:28:05 +00:00  
				
					
						
							
							
								 
						
							
							
								25133cbdf6 
								
							
								 
							
						 
						
							
							
								
								Remove mono compiler warnings.  Fix problem with co-ordinate given in deregister region message  
							
							
							
						 
						
							2011-11-28 15:27:53 +00:00  
				
					
						
							
							
								 
						
							
							
								06ed824711 
								
							
								 
							
						 
						
							
							
								
								Improve some grid region log messages to express regions at co-ordinate (e.g. 1000, 1000) rather than meter positions (256000, 256000)  
							
							
							
						 
						
							2011-11-28 15:27:43 +00:00  
				
					
						
							
							
								 
						
							
							
								63aa448608 
								
							
								 
							
						 
						
							
							
								
								improve region deregistration log message  
							
							
							
						 
						
							2011-11-28 15:27:36 +00:00  
				
					
						
							
							
								 
						
							
							
								4afb773399 
								
							
								 
							
						 
						
							
							
								
								Replace HttpServer_OpenSim.dll with Oren Hurvitz's patch applied.  
							
							... 
							
							
							
							This will hopefully address mantis 5471, 5694 and 5718.
This code is now in opensim-libs, along with Diva's slightly older patches (which were already applied to the DLLs in the opensim tree).
Thanks Oren! 
							
						 
						
							2011-11-28 15:23:11 +00:00  
				
					
						
							
							
								 
						
							
							
								dafe65ad81 
								
							
								 
							
						 
						
							
							
								
								Turn the [RegionReady] module on by default and login_disable = true while scripts are loading.  
							
							... 
							
							
							
							From field experience, we know that simulators can be unstable if a user logs in before the scripts have finished loading.
This commit turns login_disable = true in [RegionReady] on by default which prevents this from happening.
If you want the old behaviour, please copy these section from OpenSimDefaults.ini into OpenSim.ini and set login_disable = false 
							
						 
						
							2011-11-28 15:23:01 +00:00  
				
					
						
							
							
								 
						
							
							
								b107a8ec2a 
								
							
								 
							
						 
						
							
							
								
								Turn SellEnabled in the [EconomyModule] on by default.  
							
							... 
							
							
							
							This only provides enough functionality to allow operations for no money (e.g. sell for $0). 
							
						 
						
							2011-11-28 15:22:51 +00:00  
				
					
						
							
							
								 
						
							
							
								e31d7fe424 
								
							
								 
							
						 
						
							
							
								
								minor: remove some mono compiler warnings  
							
							
							
						 
						
							2011-11-17 23:55:45 +00:00  
				
					
						
							
							
								 
						
							
							
								cc9888f28b 
								
							
								 
							
						 
						
							
							
								
								Fix Windows build break  
							
							
							
						 
						
							2011-11-17 23:40:45 +00:00  
				
					
						
							
							
								 
						
							
							
								fef3baf107 
								
							
								 
							
						 
						
							
							
								
								For TerrainModule.SaveToFile(), don't bother throwing the exception onwards 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-17 23:24:58 +00:00  
				
					
						
							
							
								 
						
							
							
								123322569d 
								
							
								 
							
						 
						
							
							
								
								Make "terrain save" more friendly by telling the user if we have saved and putting out a useful complaint message if we haven't for some reason  
							
							
							
						 
						
							2011-11-17 23:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								8c0d8e72aa 
								
							
								 
							
						 
						
							
							
								
								If the entire simulator is shutting down then don't bother to unload the 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-17 23:24:43 +00:00  
				
					
						
							
							
								 
						
							
							
								1e69845869 
								
							
								 
							
						 
						
							
							
								
								Make tracked per scene thread names conform to the majorirty format.  
							
							... 
							
							
							
							This is <thread-name> (<region-name>) 
							
						 
						
							2011-11-17 23:24:23 +00:00  
				
					
						
							
							
								 
						
							
							
								1bc0d0fac6 
								
							
								 
							
						 
						
							
							
								
								improve formatting of "show threads"  
							
							
							
						 
						
							2011-11-17 23:24:05 +00:00  
				
					
						
							
							
								 
						
							
							
								f7b5d17aa2 
								
							
								 
							
						 
						
							
							
								
								send a watchdog heartbeat for a poll worker thread when it's actually run  
							
							
							
						 
						
							2011-11-17 23:23:57 +00:00  
				
					
						
							
							
								 
						
							
							
								85170f5d5d 
								
							
								 
							
						 
						
							
							
								
								distinguish between FriendsSimConnector and FriendsServiceConnector in log  
							
							
							
						 
						
							2011-11-17 23:23:48 +00:00  
				
					
						
							
							
								 
						
							
							
								66863fdd34 
								
							
								 
							
						 
						
							
							
								
								Add number of milliseconds since last update to "show threads"  
							
							
							
						 
						
							2011-11-17 23:23:42 +00:00  
				
					
						
							
							
								 
						
							
							
								6b0553ed7c 
								
							
								 
							
						 
						
							
							
								
								Dont' bother with a userAgentService != null check right after we've constructed it  
							
							
							
						 
						
							2011-11-17 23:23:35 +00:00  
				
					
						
							
							
								 
						
							
							
								57cffcd1ec 
								
							
								 
							
						 
						
							
							
								
								Remove prebuild reference to now gone PumaCode.SvnDotNet.dll  
							
							
							
						 
						
							2011-11-17 23:23:06 +00:00  
				
					
						
							
							
								 
						
							
							
								78739067d1 
								
							
								 
							
						 
						
							
							
								
								Remove unused RegionCommsListener/IRegionCommsListener.  
							
							... 
							
							
							
							All this is now being handled through IEntityTransferModule and SimulationService instead, and has been for some time. 
							
						 
						
							2011-11-17 23:22:57 +00:00  
				
					
						
							
							
								 
						
							
							
								310c2403b0 
								
							
								 
							
						 
						
							
							
								
								remove SceneCommunicationService.OnAvatarCrossingIntoRegion.  This stuff is not being used any more - it's now IEntityTransferModule and SimulationService instead  
							
							
							
						 
						
							2011-11-17 23:22:48 +00:00  
				
					
						
							
							
								 
						
							
							
								a88381ba82 
								
							
								 
							
						 
						
							
							
								
								Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> RecacheFriends() to reflect their intended function  
							
							
							
						 
						
							2011-11-17 23:22:27 +00:00  
				
					
						
							
							
								 
						
							
							
								1fa0c2f9b0 
								
							
								 
							
						 
						
							
							
								
								refactor: rename m_NeedsListOfFriends => m_NeedsListOfOnlineFriends to better reflect its actual function  
							
							
							
						 
						
							2011-11-17 23:22:16 +00:00  
				
					
						
							
							
								 
						
							
							
								1069390b3e 
								
							
								 
							
						 
						
							
							
								
								For clients that are entering a simulator from initial login, stop executing 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-17 23:22:07 +00:00  
				
					
						
							
							
								 
						
							
							
								3068cc3618 
								
							
								 
							
						 
						
							
							
								
								refactor: Don't create a new UUID for passing uuids to client - UUIDs are structs are so not passed by reference (and they're immutable!)  
							
							
							
						 
						
							2011-11-17 23:21:59 +00:00  
				
					
						
							
							
								 
						
							
							
								b5a69833f8 
								
							
								 
							
						 
						
							
							
								
								Add test for removing a friendship.  
							
							
							
						 
						
							2011-11-17 23:21:40 +00:00  
				
					
						
							
							
								 
						
							
							
								8b5bacc78b 
								
							
								 
							
						 
						
							
							
								
								Improved method doc for AddFriend() - it actually does set up a two-way relationship.  
							
							... 
							
							
							
							Rename IFriendsModule.AddFriend() to AddFriendship() 
							
						 
						
							2011-11-17 23:21:27 +00:00