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  
				
					
						
							
							
								 
						
							
							
								8f7f03e7fd 
								
							
								 
							
						 
						
							
							
								
								Add test for adding a friend whilst online  
							
							
							
						 
						
							2011-11-17 23:20:47 +00:00  
				
					
						
							
							
								 
						
							
							
								80bea38c07 
								
							
								 
							
						 
						
							
							
								
								Add very simple FriendsModuleTests.TestNoFriends()  
							
							
							
						 
						
							2011-11-17 23:20:36 +00:00  
				
					
						
							
							
								 
						
							
							
								9742491a63 
								
							
								 
							
						 
						
							
							
								
								doh - correct build break  
							
							
							
						 
						
							2011-11-17 23:18:45 +00:00  
				
					
						
							
							
								 
						
							
							
								acad65a832 
								
							
								 
							
						 
						
							
							
								
								Add threads to the watchdog thread list before we start them.  
							
							... 
							
							
							
							Hopefully this wil make "WATCHDOG: Asked to update thread ## which is not being monitored" messages." go away. 
							
						 
						
							2011-11-17 23:18:35 +00:00  
				
					
						
							
							
								 
						
							
							
								b527901556 
								
							
								 
							
						 
						
							
							
								
								As with prim sitting avatars, make an avatar phantom when it sits on the ground and solid again when it stands.  
							
							... 
							
							
							
							This is to avoid http://opensimulator.org/mantis/view.php?id=5783  when a collision with a ground sitting avatar causes that avatar to automatically stand and sometimes not be able to move
A better solution may be to keep gound sitting avatars solid but remove their collision status.  However, this requires some physics code work. 
							
						 
						
							2011-11-17 23:18:24 +00:00  
				
					
						
							
							
								 
						
							
							
								3c9654d5d6 
								
							
								 
							
						 
						
							
							
								
								Bump warp sit distance up to 10 meters, as discussed on opensim-dev mailing list last week.  
							
							... 
							
							
							
							This means that if the avatar is within 10 meters of the selected target, it sits on it immediately without walking.
Existing autopilot outside this range will be disabled in a later commit 
							
						 
						
							2011-11-17 22:48:10 +00:00  
				
					
						
							
							
								 
						
							
							
								4be42b3f75 
								
							
								 
							
						 
						
							
							
								
								Get some hopefully more useful exception information when OpenJPEG.EncodeFromImage() fails in VectorRender and DynamicTexture modules  
							
							
							
						 
						
							2011-11-02 19:08:01 +00:00  
				
					
						
							
							
								 
						
							
							
								6a994f8c9c 
								
							
								 
							
						 
						
							
							
								
								Fix race condition that would sometimes send or save appearance for the wrong avatar.  
							
							... 
							
							
							
							In AvatarFactoryModule.HandleAppearanceUpdateTimer(), we loop through appearance save and send requests and dispatch via a FireAndForget thread.
If there was more than one request in the save or send queue, then this led to a subtle race condition where the foreach loop would load in the next KeyValuePair before the thread was dispatched.
This gave the thread the wrong avatar ID, leaving some avatar appearance cloudy since appearance data was never sent.
This change loads the fields into local references so that this doesn't happen. 
							
						 
						
							2011-11-02 19:07:56 +00:00  
				
					
						
							
							
								 
						
							
							
								f9e6e32ce2 
								
							
								 
							
						 
						
							
							
								
								Catch any exceptions exiting the top of the robust console, as we already do for the main simulator.  
							
							... 
							
							
							
							This prevents issues such as transient mono console problems from crashing the server. 
							
						 
						
							2011-11-02 19:00:56 +00:00  
				
					
						
							
							
								 
						
							
							
								6bbf4fdc0f 
								
							
								 
							
						 
						
							
							
								
								Plug a security hole in the inventory service  
							
							
							
						 
						
							2011-11-02 18:59:54 +00:00  
				
					
						
							
							
								 
						
							
							
								10aee2f0ec 
								
							
								 
							
						 
						
							
							
								
								Fix line endings  
							
							
							
						 
						
							2011-11-02 18:59:47 +00:00  
				
					
						
							
							
								 
						
							
							
								0ed6149463 
								
							
								 
							
						 
						
							
							
								
								Experimental reorder of Heartbeat loop now simulates physics and sends updates to clients prior to sleep. Existing behavior was to sleep BEFORE sending updates. We found this patch reduced latency to clients by 1-2 heartbeat periods.  
							
							
							
						 
						
							2011-11-02 18:59:38 +00:00  
				
					
						
							
							
								 
						
							
							
								a64be59c3b 
								
							
								 
							
						 
						
							
							
								
								Add missing max_listens_per_region to [LL_Functions] config section in OpenSimDefaults.ini + explanation.  
							
							... 
							
							
							
							This setting controls the maximum number of listeners in a region 
							
						 
						
							2011-11-02 18:59:30 +00:00  
				
					
						
							
							
								 
						
							
							
								b720454950 
								
							
								 
							
						 
						
							
							
								
								Remove the SyncRoot locking from Scene which was only being done around the main physics loop and ScenePresence position and velocity setting  
							
							... 
							
							
							
							This is no longer necessary with ODECharacter taints (ODEPrim was already not taking part in this).  BSCharacter was already tainting. 
							
						 
						
							2011-11-02 18:57:04 +00:00  
				
					
						
							
							
								 
						
							
							
								dd3dc5cd91 
								
							
								 
							
						 
						
							
							
								
								Add taint target velocity for ODECharacters as is already done for ODECharacter position and position and velocity for ODEPrims.  
							
							... 
							
							
							
							This is to help stop surprises if the velocity is set in the middle of physics calculations, though this probably isn't a huge problem.
It's more for consistency and for the next step of removing some scene locks 
							
						 
						
							2011-11-02 18:51:55 +00:00  
				
					
						
							
							
								 
						
							
							
								9cd94ac6ec 
								
							
								 
							
						 
						
							
							
								
								tidy up OdeCharacter so that we just use OpenMetaverse.Vector3 assignment directly where possible, instead of transferring X, Y and Z components separately  
							
							... 
							
							
							
							some of this is probably a hold over from using ODE.Vector3, which is still necessary in some places. 
							
						 
						
							2011-11-02 18:51:46 +00:00  
				
					
						
							
							
								 
						
							
							
								2cc49d7d9a 
								
							
								 
							
						 
						
							
							
								
								Move position set from taint to logically better position at top of ODECharacter.ProcessTaints() though this makes no practical difference  
							
							
							
						 
						
							2011-11-02 18:51:31 +00:00  
				
					
						
							
							
								 
						
							
							
								69e11af475 
								
							
								 
							
						 
						
							
							
								
								Stop setting _position as well as m_taint_position in ODECharacter.Position  
							
							... 
							
							
							
							setting position at the same time as taint appears to undermine the whole purpose of taint
testing doesn't reveal any obvious regressions in doing this 
							
						 
						
							2011-11-02 18:51:20 +00:00  
				
					
						
							
							
								 
						
							
							
								aa6915f1ba 
								
							
								 
							
						 
						
							
							
								
								Continuation of previous checkin. Found more places where ForEachScenePresence can be changed to ForEachRootScenePresence.  
							
							
							
						 
						
							2011-11-02 18:50:17 +00:00  
				
					
						
							
							
								 
						
							
							
								b36ff0fd24 
								
							
								 
							
						 
						
							
							
								
								Added new ForEachRootScenePresence to Scene since almost every delegate passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.  
							
							
							
						 
						
							2011-11-02 18:48:21 +00:00  
				
					
						
							
							
								 
						
							
							
								a16c9206b4 
								
							
								 
							
						 
						
							
							
								
								For now, comment out error message on new script engine console commands.  
							
							... 
							
							
							
							This causes false positives if a simulator has more than 1 region and the current region is 'root' since this sends the command separately to each region and each region has its own XEngine 
							
						 
						
							2011-10-28 22:19:46 +01:00  
				
					
						
							
							
								 
						
							
							
								b5b2541d1a 
								
							
								 
							
						 
						
							
							
								
								Comment out inventory folder bulk update code on InventoryAccepted message introduced in commit  db91044 on Aug 22 2011  
							
							... 
							
							
							
							This should be unecessary since the folder update is already made at the time of the offer (and moved to trash if not accepted).
This code was also not taking into account the situation where an item was accepted.
Needs more fixing if this results in an aggression elsewhere. 
							
						 
						
							2011-10-28 22:19:36 +01:00  
				
					
						
							
							
								 
						
							
							
								1baadac59a 
								
							
								 
							
						 
						
							
							
								
								Don't blow our brains out if LLClientView.BulkInventoryUpdate() is wrongly passed a null node reference.  
							
							... 
							
							
							
							Addresses worst aspect of http://opensimulator.org/mantis/view.php?id=5752  
							
						 
						
							2011-10-28 22:19:26 +01:00  
				
					
						
							
							
								 
						
							
							
								88ef35cb23 
								
							
								 
							
						 
						
							
							
								
								Fix a bug I introduced yesterday in ODE physics where prim scripts would only receive the very first collision.  
							
							
							
						 
						
							2011-10-28 22:19:17 +01:00  
				
					
						
							
							
								 
						
							
							
								05dff4987b 
								
							
								 
							
						 
						
							
							
								
								Restart the event queue worker threads that I accidentally disabled earlier today in  8a0a78c.  
							
							... 
							
							
							
							Also adds these to the watchdogs with very large timeouts (should really be infinite) 
							
						 
						
							2011-10-28 22:19:04 +01:00  
				
					
						
							
							
								 
						
							
							
								e1e0f20c7f 
								
							
								 
							
						 
						
							
							
								
								In Watchdog, add ability to specific timeout for a thread.  
							
							... 
							
							
							
							This also changes the point of registration to the StartThread() call rather than the first Update() 
							
						 
						
							2011-10-28 22:18:56 +01:00