2f2181683c 
								
							
								 
							
						 
						
							
							
								
								Add test TestGetChildPartPosition()  
							
							
							
						 
						
							2012-04-17 01:51:13 +01:00  
				
					
						
							
							
								 
						
							
							
								24a0cc5261 
								
							
								 
							
						 
						
							
							
								
								refactor: Rename EstateSettings.IsEstateManager() to EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does.  
							
							... 
							
							
							
							This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities.
As per opensim-dev mailing list. 
							
						 
						
							2012-04-17 01:25:41 +01:00  
				
					
						
							
							
								 
						
							
							
								2c74e1bba8 
								
							
								 
							
						 
						
							
							
								
								Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()  
							
							
							
						 
						
							2012-04-14 01:57:09 +01:00  
				
					
						
							
							
								 
						
							
							
								da342d0b21 
								
							
								 
							
						 
						
							
							
								
								minor: make test names consistent  
							
							
							
						 
						
							2012-04-14 01:53:40 +01:00  
				
					
						
							
							
								 
						
							
							
								f61b234252 
								
							
								 
							
						 
						
							
							
								
								refactor: move common init code into SetUp() in SceneObjectSpatialTests  
							
							
							
						 
						
							2012-04-14 01:52:16 +01:00  
				
					
						
							
							
								 
						
							
							
								317aebcce6 
								
							
								 
							
						 
						
							
							
								
								refactor: put SOG position test in a separate TestSceneObjectGroupPosition()  
							
							
							
						 
						
							2012-04-14 01:47:56 +01:00  
				
					
						
							
							
								 
						
							
							
								3ae98611f2 
								
							
								 
							
						 
						
							
							
								
								Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition  
							
							
							
						 
						
							2012-04-14 01:43:03 +01:00  
				
					
						
							
							
								 
						
							
							
								eeec1f32c6 
								
							
								 
							
						 
						
							
							
								
								Add very basic TestGetRootPartPosition() test  
							
							
							
						 
						
							2012-04-14 01:01:28 +01:00  
				
					
						
							
							
								 
						
							
							
								08e509978d 
								
							
								 
							
						 
						
							
							
								
								Mantis 55025 Implement script time.  
							
							... 
							
							
							
							Signed-off-by: nebadon <michael@osgrid.org> 
							
						 
						
							2012-04-12 18:44:00 -07:00  
				
					
						
							
							
								 
						
							
							
								78c0028179 
								
							
								 
							
						 
						
							
							
								
								Mantis5502 implementation of some of the new constants  
							
							... 
							
							
							
							Signed-off-by: Melanie <melanie@t-data.com> 
							
						 
						
							2012-04-09 21:25:22 +01:00  
				
					
						
							
							
								 
						
							
							
								0f277dfa17 
								
							
								 
							
						 
						
							
							
								
								Addresses mantis  #5846  
							
							
							
						 
						
							2012-04-08 17:54:59 -07:00  
				
					
						
							
							
								 
						
							
							
								806082cd6e 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-04-06 20:35:01 -07:00  
				
					
						
							
							
								 
						
							
							
								9637e50956 
								
							
								 
							
						 
						
							
							
								
								Moved the inventory manipulation from HGEntityTransferModule to HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.  
							
							
							
						 
						
							2012-04-06 20:34:31 -07:00  
				
					
						
							
							
								 
						
							
							
								cce760dbfc 
								
							
								 
							
						 
						
							
							
								
								Rather than having a FromFolderID property on every single prim and only ever using the root prim one, store on SOG instead.  
							
							... 
							
							
							
							This reduces pointless memory usage. 
							
						 
						
							2012-04-07 00:40:55 +01:00  
				
					
						
							
							
								 
						
							
							
								7d8bb33c5b 
								
							
								 
							
						 
						
							
							
								
								Store FromItemID for attachments once on SOG instead of on every SOP and only ever using the root part entry.  
							
							... 
							
							
							
							This eliminates some pointless memory use. 
							
						 
						
							2012-04-07 00:33:02 +01:00  
				
					
						
							
							
								 
						
							
							
								70b5a2dace 
								
							
								 
							
						 
						
							
							
								
								refactor: Eliminate unnecessary SOP.m_physActor  
							
							
							
						 
						
							2012-04-06 23:49:23 +01:00  
				
					
						
							
							
								 
						
							
							
								3af1cd65f9 
								
							
								 
							
						 
						
							
							
								
								Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene or attachments.  
							
							... 
							
							
							
							Return relative position to root prim rather than 0,0,0.
Should fix same issue with llGetLocalPos()
http://opensimulator.org/mantis/view.php?id=5951  
							
						 
						
							2012-04-06 22:41:35 +01:00  
				
					
						
							
							
								 
						
							
							
								f2903db390 
								
							
								 
							
						 
						
							
							
								
								For llGetMass(), return the mass of the avatar is the object is attached.  
							
							... 
							
							
							
							As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass 
This is the mass as used by the physics engine (ODE or Bullet). 
							
						 
						
							2012-04-06 21:14:19 +01:00  
				
					
						
							
							
								 
						
							
							
								908cebbea8 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-04-06 20:29:54 +01:00  
				
					
						
							
							
								 
						
							
							
								7435582b70 
								
							
								 
							
						 
						
							
							
								
								If an AddItem fails, try adding it to the right folder type.  
							
							
							
						 
						
							2012-04-06 11:52:05 -07:00  
				
					
						
							
							
								 
						
							
							
								633f4bb3d8 
								
							
								 
							
						 
						
							
							
								
								remove possible PhysActor unexpectedly null race conditions when changing prim collision status  
							
							... 
							
							
							
							factor out common SOP physics scene adding code into a common SOP.AddToPhysics() that is the counterpart to the existing RemoveFromPhysics() 
							
						 
						
							2012-04-03 09:28:17 +01:00  
				
					
						
							
							
								 
						
							
							
								7468299673 
								
							
								 
							
						 
						
							
							
								
								Eliminate race condition where many callers would check SOP.PhysicsActor != null then assume it was still not null in later code.  
							
							... 
							
							
							
							Another thread could come and turn off physics for a part (null PhysicsActor) at any point.
Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs
No obvious reason for doing that copy - nothing else does it. 
							
						 
						
							2012-04-03 05:51:38 +01:00  
				
					
						
							
							
								 
						
							
							
								32a953fed7 
								
							
								 
							
						 
						
							
							
								
								refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.  
							
							
							
						 
						
							2012-03-31 01:52:06 +01:00  
				
					
						
							
							
								 
						
							
							
								f0406f9fe2 
								
							
								 
							
						 
						
							
							
								
								Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ContainsPart method and remove method duplication.  
							
							... 
							
							
							
							HasChildPrim is also misleading since the 'root' prim can also be returned. 
							
						 
						
							2012-03-31 01:45:37 +01:00  
				
					
						
							
							
								 
						
							
							
								69fc8c4985 
								
							
								 
							
						 
						
							
							
								
								minor: small message adjustment and unnecessary code elimination when notifying client of no build permission  
							
							
							
						 
						
							2012-03-31 01:07:14 +01:00  
				
					
						
							
							
								 
						
							
							
								874140f950 
								
							
								 
							
						 
						
							
							
								
								fix Infinite loading on No Rez  http://opensimulator.org/mantis/view.php?id=5932  
							
							
							
						 
						
							2012-03-31 01:01:59 +01:00  
				
					
						
							
							
								 
						
							
							
								22a85b947a 
								
							
								 
							
						 
						
							
							
								
								Add back parts of reverted changes that were not concerned with child agent caching.  
							
							... 
							
							
							
							This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin()
Also add a code comment as to why we're caching friend information for child agents. 
							
						 
						
							2012-03-29 01:26:30 +01:00  
				
					
						
							
							
								 
						
							
							
								93ac47f0d3 
								
							
								 
							
						 
						
							
							
								
								Revert "Simplify friends caching by only doing this for root agents - no functions require caching for child agents."  
							
							... 
							
							
							
							We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators.
This reverts commit d9f7b8549b 
							
						 
						
							2012-03-29 01:08:47 +01:00  
				
					
						
							
							
								 
						
							
							
								a1de9bc33f 
								
							
								 
							
						 
						
							
							
								
								Revert "Add comment about setting client.SceneAgent in AddNewClient()"  
							
							... 
							
							
							
							This reverts commit 964cae4f37 
							
						 
						
							2012-03-29 01:08:37 +01:00  
				
					
						
							
							
								 
						
							
							
								964cae4f37 
								
							
								 
							
						 
						
							
							
								
								Add comment about setting client.SceneAgent in AddNewClient()  
							
							
							
						 
						
							2012-03-29 00:21:14 +01:00  
				
					
						
							
							
								 
						
							
							
								d9f7b8549b 
								
							
								 
							
						 
						
							
							
								
								Simplify friends caching by only doing this for root agents - no functions require caching for child agents.  
							
							... 
							
							
							
							This allows us to avoid unnecessary multiple calls to the friends service.
All friends functions originate from the root agent and only go to other root agents in existing code.
This also allows us to eliminate complex ref counting. 
							
						 
						
							2012-03-28 23:40:25 +01:00  
				
					
						
							
							
								 
						
							
							
								51dc1e709c 
								
							
								 
							
						 
						
							
							
								
								HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.  
							
							
							
						 
						
							2012-03-28 15:01:37 -07:00  
				
					
						
							
							
								 
						
							
							
								af96b99356 
								
							
								 
							
						 
						
							
							
								
								More on switching the root folder from under the viewer. More experiments.  
							
							
							
						 
						
							2012-03-27 20:36:54 -07:00  
				
					
						
							
							
								 
						
							
							
								300968e933 
								
							
								 
							
						 
						
							
							
								
								HG: Switch root folders from under the viewer. Towards HG 2.0. This is guarded by an obscure config that no one but me should be using at this point.  
							
							
							
						 
						
							2012-03-27 19:08:29 -07:00  
				
					
						
							
							
								 
						
							
							
								445e8bc560 
								
							
								 
							
						 
						
							
							
								
								minor: Add some documentation to OnNewClient and OnClientClosed events  
							
							
							
						 
						
							2012-03-28 01:08:56 +01:00  
				
					
						
							
							
								 
						
							
							
								971d32fda3 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-03-27 12:51:58 -07:00  
				
					
						
							
							
								 
						
							
							
								0247d738e2 
								
							
								 
							
						 
						
							
							
								
								When loading objects from DB, first add to scene, then call TriggerOnSceneObjectLoaded.  
							
							
							
						 
						
							2012-03-27 12:50:58 -07:00  
				
					
						
							
							
								 
						
							
							
								de242a29ca 
								
							
								 
							
						 
						
							
							
								
								HG: beginning of a more restrictive inventory access procedure (optional). Experimental: we'll try switching the root folder from under the viewer.  
							
							
							
						 
						
							2012-03-27 11:54:13 -07:00  
				
					
						
							
							
								 
						
							
							
								d4beb2f5bc 
								
							
								 
							
						 
						
							
							
								
								Comment out log message about sending periodic appearance updates.  
							
							
							
						 
						
							2012-03-23 03:39:39 +00:00  
				
					
						
							
							
								 
						
							
							
								54887bf386 
								
							
								 
							
						 
						
							
							
								
								Add experimental SendPeriodicAppearanceUpdates = true/false setting to [Startup] in OpenSim.ini  
							
							... 
							
							
							
							On osgrid and other places, I have observed that manually sending appearance updates from the console often relieves grey avatar syndrome.
Despite hunting high and low, I haven't been able to find where this packet is sometimes being lost - it might be a persistent viewer bug for all I know.
Therefore, this experimental setting resends appearance data for everybody in the scene every 60 seconds.  These packets are small and the viewer only fetches texture
data if it doesn't already have it.
Default is false. 
							
						 
						
							2012-03-23 03:33:07 +00:00  
				
					
						
							
							
								 
						
							
							
								4ed833bc9d 
								
							
								 
							
						 
						
							
							
								
								Add a scene maintenance thread in parallel to the heartbeat thread.  The maintenance thread will end up running regular jobs that don't need to be in the main scene loop.  
							
							... 
							
							
							
							The idea is to make the critical main scene loop as skinny as possible - it doesn't need to run things that aren't time critical and don't depend on update ordering.
This will be done gradually over time to try and uncover any issues.  Many non-criticial scene loop activities are being launched on separate threadpool threads anyway.
This may also allow modules to register their own maintenance jobs without having to maintain their own timers and threads.
Currently the maintenance loop runs once a second, as opposed to the 89ms scene loop. 
							
						 
						
							2012-03-23 02:49:29 +00:00  
				
					
						
							
							
								 
						
							
							
								349454ca27 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary shutting down check in Scene.Heartbeat().  Add some method doc.  Rename HeartbeatThread, shuttingdown to conform to code standards.  
							
							
							
						 
						
							2012-03-23 01:46:11 +00:00  
				
					
						
							
							
								 
						
							
							
								18b3f1132e 
								
							
								 
							
						 
						
							
							
								
								Rename Scene.StartTimer() to Start() - this method no longer uses a timer.  Comment out more effectively unused old heartbeat code.  
							
							
							
						 
						
							2012-03-23 01:21:43 +00:00  
				
					
						
							
							
								 
						
							
							
								4ee8b3e23e 
								
							
								 
							
						 
						
							
							
								
								Fix build break  
							
							
							
						 
						
							2012-03-23 01:11:43 +00:00  
				
					
						
							
							
								 
						
							
							
								a9995ede65 
								
							
								 
							
						 
						
							
							
								
								Fix bug in ScenePresenceAnimator.RemoveAnimation() introduced in commit  1a8769e 
							
							... 
							
							
							
							Forgot to uppercase the animation name for default animations, since for some reason we store and use them in upper rather than lowercase. 
							
						 
						
							2012-03-23 01:08:13 +00:00  
				
					
						
							
							
								 
						
							
							
								bc2963d42a 
								
							
								 
							
						 
						
							
							
								
								Comment out unused scene loop restart code.  
							
							... 
							
							
							
							This has actually been unused since at least 0.7.2 due to earlier changes. 
							
						 
						
							2012-03-23 01:03:10 +00:00  
				
					
						
							
							
								 
						
							
							
								08b8ebcc7e 
								
							
								 
							
						 
						
							
							
								
								Use m_lastFrameTick instead of m_lastUpdate in Scene.GetHealth().  m_lastUpdate is no longer properly updated and is redundant anyway.  
							
							
							
						 
						
							2012-03-23 00:55:11 +00:00  
				
					
						
							
							
								 
						
							
							
								40b9b519b8 
								
							
								 
							
						 
						
							
							
								
								Add commented out section on collisions switch in Scene.SetSceneCoreDebug().  
							
							... 
							
							
							
							This was not implemented before the recent changes but should be at some point. 
							
						 
						
							2012-03-23 00:12:14 +00:00  
				
					
						
							
							
								 
						
							
							
								5bf45b9b98 
								
							
								 
							
						 
						
							
							
								
								refactor: simplify code for checks when part.OwnerID != destPart.OwnerID in MoveTaskInventoryItem()  
							
							
							
						 
						
							2012-03-22 22:40:38 +00:00  
				
					
						
							
							
								 
						
							
							
								760010d6fb 
								
							
								 
							
						 
						
							
							
								
								Fix llGiveInventory() so that it checks the destination part for AllowInventoryDrop, not the source.  
							
							... 
							
							
							
							This allows llAllowInventoryDrop() to work.
Regression test added for this case. 
							
						 
						
							2012-03-22 22:33:37 +00:00  
				
					
						
							
							
								 
						
							
							
								c4b2d24f33 
								
							
								 
							
						 
						
							
							
								
								Add llGiveInventory() test from object to object where both objects are owned by the same user.  
							
							
							
						 
						
							2012-03-22 22:17:07 +00:00  
				
					
						
							
							
								 
						
							
							
								45b588cf00 
								
							
								 
							
						 
						
							
							
								
								Revert "Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch."  
							
							... 
							
							
							
							This reverts commit 6146e7ef25 
							
						 
						
							2012-03-22 20:10:38 +00:00  
				
					
						
							
							
								 
						
							
							
								6146e7ef25 
								
							
								 
							
						 
						
							
							
								
								Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch.  
							
							
							
						 
						
							2012-03-22 12:57:12 -07:00  
				
					
						
							
							
								 
						
							
							
								9949ac2f9f 
								
							
								 
							
						 
						
							
							
								
								refactor: Rename AvatarAnimations -> DefaultAvatarAnimations for code clarity since non-default animations are handled completely separately from this class  
							
							
							
						 
						
							2012-03-22 00:10:41 +00:00  
				
					
						
							
							
								 
						
							
							
								1a8769e6ef 
								
							
								 
							
						 
						
							
							
								
								Instead of loading default avatar animations in both SLUtil and AvatarAnimations, load just in AvatarAnimations instead.  
							
							... 
							
							
							
							This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST.
This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND")
but scripts refer to them with lowercase names (e.g. "sit"). 
							
						 
						
							2012-03-21 23:57:39 +00:00  
				
					
						
							
							
								 
						
							
							
								54a8a5baba 
								
							
								 
							
						 
						
							
							
								
								If "debug scene updates true" then print out to log when a garbage collection occurs.  
							
							
							
						 
						
							2012-03-21 02:02:14 +00:00  
				
					
						
							
							
								 
						
							
							
								de53aa32e0 
								
							
								 
							
						 
						
							
							
								
								Add Scene.DebugUpdates switch which, if turned on, will print out a warning when a frame updates takes longer than twice the desired time  
							
							... 
							
							
							
							This is controlled via "debug scene updates true|false" on the region console.
Also fix an oversight with "debug scene teleport true|false" 
							
						 
						
							2012-03-21 01:27:09 +00:00  
				
					
						
							
							
								 
						
							
							
								ab243f4a57 
								
							
								 
							
						 
						
							
							
								
								Incorporate scene teleporting debugging into "debug scene teleport true|false" command  
							
							
							
						 
						
							2012-03-21 01:13:44 +00:00  
				
					
						
							
							
								 
						
							
							
								9671e43497 
								
							
								 
							
						 
						
							
							
								
								Replace "scene debug true false true" console command with "scene debug scripting true" or other parameters as appropriate.  
							
							... 
							
							
							
							This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings. 
							
						 
						
							2012-03-21 01:02:58 +00:00  
				
					
						
							
							
								 
						
							
							
								7bf628ab31 
								
							
								 
							
						 
						
							
							
								
								Add ability to log warn if a frame takes longer than twice the expected time.  Currently commented out.  
							
							
							
						 
						
							2012-03-21 00:02:08 +00:00  
				
					
						
							
							
								 
						
							
							
								3701f893d3 
								
							
								 
							
						 
						
							
							
								
								remove unnecessary tmpFrameMS, use maintc instead for frame time calculation  
							
							
							
						 
						
							2012-03-20 23:31:57 +00:00  
				
					
						
							
							
								 
						
							
							
								8bdd38b804 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-03-20 23:14:15 +00:00  
				
					
						
							
							
								 
						
							
							
								30b2a8c778 
								
							
								 
							
						 
						
							
							
								
								Move frame loop entirely within Scene.Update() for better future performance analysis and stat accuracy.  
							
							... 
							
							
							
							Update() now accepts a frames parameter which can control the number of frames updated.
-1 will update until shutdown.
The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame. 
							
						 
						
							2012-03-20 23:12:21 +00:00  
				
					
						
							
							
								 
						
							
							
								bd1f848bf6 
								
							
								 
							
						 
						
							
							
								
								slight increase in jump power to make running jump slightly better.  
							
							
							
						 
						
							2012-03-20 14:17:15 -07:00  
				
					
						
							
							
								 
						
							
							
								9ed3532c1b 
								
							
								 
							
						 
						
							
							
								
								reduce avatar verticle jump from the absurd 5 meter jump to a less  
							
							... 
							
							
							
							absurd 3m vertical jump to better match what you would see in Second
Life and be more in line with what users would expect. 
							
						 
						
							2012-03-20 13:45:38 -07:00  
				
					
						
							
							
								 
						
							
							
								a3abd65e3d 
								
							
								 
							
						 
						
							
							
								
								Remove pointless ThreadAbortException catching in a test that isn't run anyway.  
							
							
							
						 
						
							2012-03-20 01:41:32 +00:00  
				
					
						
							
							
								 
						
							
							
								8c911ddaf0 
								
							
								 
							
						 
						
							
							
								
								Remove some pointless catching/throwing in the scene loop.  
							
							
							
						 
						
							2012-03-20 01:39:19 +00:00  
				
					
						
							
							
								 
						
							
							
								e9271ec653 
								
							
								 
							
						 
						
							
							
								
								Add some doc about the EventManager.OnLoginsEnabled event.  
							
							
							
						 
						
							2012-03-19 22:48:26 +00:00  
				
					
						
							
							
								 
						
							
							
								1a4fdd2666 
								
							
								 
							
						 
						
							
							
								
								Moved HandleAvatarPickerRequest from the generic Scene.PacketHandlers to the UserManagementModule where it belongs. No functional changes.  
							
							
							
						 
						
							2012-03-17 10:48:22 -07:00  
				
					
						
							
							
								 
						
							
							
								33c14cb107 
								
							
								 
							
						 
						
							
							
								
								Region access control! Region operators can now specify things like DisallowForeigners (means what it says) and DisallowResidents (means that only admins and managers can get into the region). This puts the never-completed AuthorizationService to good use. Note that I didn't implement a grid-wide Authorization service; this service implementation is done entirely locally on the simulator. This can be changed as usual by pluging in a different AuthorizationServicesConnector.  
							
							
							
						 
						
							2012-03-17 10:00:11 -07:00  
				
					
						
							
							
								 
						
							
							
								a2009ffe2e 
								
							
								 
							
						 
						
							
							
								
								Terrain: added [Terrain] section with an option to load an initial flat terrain. Default is still pinhead island. I much rather have a flat land in the beginning.  
							
							
							
						 
						
							2012-03-16 13:08:05 -07:00  
				
					
						
							
							
								 
						
							
							
								a4b01ef38a 
								
							
								 
							
						 
						
							
							
								
								Replace script-lines-per-second with the script execution time scaled by its measurement period and an idealised frame time.  
							
							... 
							
							
							
							The previous lines-per-second measurement used for top scripts report was inaccurate, since lines executed does not reflect time taken to execute.
Also, every fetch of the report would reset all the numbers limiting its usefulness and we weren't even guaranteed to see the top 100.
The actual measurement value should be script execution time per frame but XEngine does not work this way.
Therefore, we use actual script execution time scaled by the measurement period and an idealised frame time.
This is still not ideal but gives reasonable results and allows scripts to be compared.
This commit moves script execution time calculations from SceneGraph into IScriptModule implementations. 
							
						 
						
							2012-03-16 00:34:30 +00:00  
				
					
						
							
							
								 
						
							
							
								2f81e53f63 
								
							
								 
							
						 
						
							
							
								
								Fix a problem where multiple near simultaneous calls to llDie() from multiple scripts in the same linkset can cause unnecessary thread aborts.  
							
							... 
							
							
							
							The first llDie() could lock Scene.m_deleting_scene_object.
The second llDie() would then wait at this lock.
The first llDie() would go on to remove the second script but always abort it since the second script's WorkItem would not go away.
Easiest solution here is to remove the m_deleting_scene_object since it's no longer justified - we no longer lock m_parts but take a copy instead.
This also requires an adjustment in XEngine.OnRemoveScript not to use instance.ObjectID instead when firing the OnObjectRemoved event. 
							
						 
						
							2012-03-15 00:20:47 +00:00  
				
					
						
							
							
								 
						
							
							
								81869c4a3f 
								
							
								 
							
						 
						
							
							
								
								More on HG inventory transfers. Move the FireAndForget higher up.  
							
							
							
						 
						
							2012-03-09 09:48:12 -08:00  
				
					
						
							
							
								 
						
							
							
								06dda14505 
								
							
								 
							
						 
						
							
							
								
								Simplify minimap coarse location code by just reference SP.AbsolutePosition  
							
							... 
							
							
							
							This is rather than checking whether the avatar is sitting and doing its own calculation. 
							
						 
						
							2012-03-09 02:50:57 +00:00  
				
					
						
							
							
								 
						
							
							
								205c36d3a4 
								
							
								 
							
						 
						
							
							
								
								Get rid of unnecessary ParentID == 0 check on SP.Get_AbsolutePosition since this is handled by the necessary ParentPart check  
							
							
							
						 
						
							2012-03-09 02:44:08 +00:00  
				
					
						
							
							
								 
						
							
							
								94e58ff6b9 
								
							
								 
							
						 
						
							
							
								
								Use SP.ParentPart instead of ParentID in places where it's more efficient (saving extra null checks, etc.)  
							
							... 
							
							
							
							However, it looks like we should retain SP.ParentID since it's much easier to use that in places where another thread could change ParentPart to null.
Otherwise one has to clumsily put ParentPart in a reference, etc. to avoid a race. 
							
						 
						
							2012-03-09 02:38:11 +00:00  
				
					
						
							
							
								 
						
							
							
								b454326273 
								
							
								 
							
						 
						
							
							
								
								refactor: cleanup SP.HandleAgentSit so that everything is done within one if (part != null), rather than having unnecessary multiple checks  
							
							
							
						 
						
							2012-03-09 02:33:48 +00:00  
				
					
						
							
							
								 
						
							
							
								73c47f7205 
								
							
								 
							
						 
						
							
							
								
								Remove a race condition from SP.Set_AbsolutePosition where we assume the ParentPart is still not null if the ParentID != 0  
							
							... 
							
							
							
							Another thread could come in and stand the avatar between those two instructions. 
							
						 
						
							2012-03-09 02:22:22 +00:00  
				
					
						
							
							
								 
						
							
							
								675d40357c 
								
							
								 
							
						 
						
							
							
								
								Hold a ref to the prim we're sat on rather than querying scene each time  
							
							... 
							
							
							
							the check for significant is carried out. Prevents a deadlock condition. 
							
						 
						
							2012-03-08 19:14:34 +00:00  
				
					
						
							
							
								 
						
							
							
								650d761c06 
								
							
								 
							
						 
						
							
							
								
								Display help commander topics in capitalized form - the commands themselves are still lowercase.  
							
							... 
							
							
							
							Also convert the estate commands to simply AddCommand() calls so that commands from two different modules can be placed in the same category 
							
						 
						
							2012-03-08 02:17:45 +00:00  
				
					
						
							
							
								 
						
							
							
								430304c176 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-03-08 01:59:00 +00:00  
				
					
						
							
							
								 
						
							
							
								749c3fef8a 
								
							
								 
							
						 
						
							
							
								
								Change "help" to display categories/module list then "help <category/module>" to display commands in a category.  
							
							... 
							
							
							
							This is to deal with the hundred lines of command splurge when one previously typed "help"
Modelled somewhat on the mysql console
One can still type help <command> to get per command help at any point.
Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet).
Does not affect command parsing or any other aspects of the console apart from the help system.
Backwards compatible with existing modules. 
							
						 
						
							2012-03-08 01:51:37 +00:00  
				
					
						
							
							
								 
						
							
							
								7769362687 
								
							
								 
							
						 
						
							
							
								
								Always zero the PhysActor on dupes to prevent side effects on the orignal prim  
							
							
							
						 
						
							2012-03-07 01:03:26 +00:00  
				
					
						
							
							
								 
						
							
							
								f3678d217f 
								
							
								 
							
						 
						
							
							
								
								Stop individually deleting objects at the end of each ObjectTortureTest.  
							
							... 
							
							
							
							We can now do this since the entire scene and all objects within it are now successfully gc'd at the end of these tests.
This greatly improves the time taken to run each test (by reducing teardown time, not the time to actually do the test work that we're interested in).
Slightly simplifies config read in Scene constructor to help facilitate this. 
							
						 
						
							2012-03-07 00:31:18 +00:00  
				
					
						
							
							
								 
						
							
							
								23aba007dd 
								
							
								 
							
						 
						
							
							
								
								Add documentation to make more explicit the difference between OnRezScript and OnNewScript in the event manager  
							
							... 
							
							
							
							OnNewScript fires when a script is added to a scene
OnRezScript fires when the script actually runs (i.e. after permission checks, state retrieval, etc.) 
							
						 
						
							2012-03-07 00:04:24 +00:00  
				
					
						
							
							
								 
						
							
							
								e9d8eb5a27 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary explicit ElapsedEventHandler in SimReporter  
							
							
							
						 
						
							2012-03-06 22:31:25 +00:00  
				
					
						
							
							
								 
						
							
							
								0f4cdc0c5b 
								
							
								 
							
						 
						
							
							
								
								Explictly close down the StatsReporter so that we can shutdown its timer  
							
							... 
							
							
							
							This is another step necessary for the scene to be garbage collected between performance tests 
							
						 
						
							2012-03-06 19:05:32 +00:00  
				
					
						
							
							
								 
						
							
							
								c2c102d33e 
								
							
								 
							
						 
						
							
							
								
								Remove outdated comment about checking attachment prims in Scene.PipeEventsForScript()  
							
							
							
						 
						
							2012-03-02 22:52:26 +00:00  
				
					
						
							
							
								 
						
							
							
								089fd61a3b 
								
							
								 
							
						 
						
							
							
								
								Allow a script to receive events if its root prim is in an area where it's allowed to run rather than checking its own prim.  
							
							... 
							
							
							
							This allows scripts to run in child prims that are outside region boundaries.
This is an interim patch applied from http://opensimulator.org/mantis/view.php?id=5899  though it does not resolve that bug
Thanks tglion! 
							
						 
						
							2012-03-02 22:43:24 +00:00  
				
					
						
							
							
								 
						
							
							
								64a036b4cf 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-03-02 09:19:35 -08:00  
				
					
						
							
							
								 
						
							
							
								8d249f8456 
								
							
								 
							
						 
						
							
							
								
								ScenePresence line endings and fix AllowMovement default to true.  
							
							
							
						 
						
							2012-03-02 09:19:13 -08:00  
				
					
						
							
							
								 
						
							
							
								6e3523e25e 
								
							
								 
							
						 
						
							
							
								
								minor: remove mono compiler warning  
							
							
							
						 
						
							2012-03-02 04:08:07 +00:00  
				
					
						
							
							
								 
						
							
							
								e8779cd9e5 
								
							
								 
							
						 
						
							
							
								
								In ScenePresence, removed several private variables used to store public parameters. They were only used by the get/set and make code harder to refactor.  
							
							
							
						 
						
							2012-03-01 19:22:05 -08:00  
				
					
						
							
							
								 
						
							
							
								bafef292f4 
								
							
								 
							
						 
						
							
							
								
								Take watchdog alarm calling back outside the m_threads lock.  
							
							... 
							
							
							
							This is how it was originally.  This stops a very long running alarm callback from causing a problem. 
							
						 
						
							2012-02-24 05:25:18 +00:00  
				
					
						
							
							
								 
						
							
							
								84735b644c 
								
							
								 
							
						 
						
							
							
								
								Get rid of some of the identical exception catching in Scene.Update().  
							
							
							
						 
						
							2012-02-24 05:12:56 +00:00  
				
					
						
							
							
								 
						
							
							
								f67f37074f 
								
							
								 
							
						 
						
							
							
								
								Stop spurious scene loop startup timeout alarms for scenes with many prims.  
							
							... 
							
							
							
							On the first frame, all startup scene objects are added to the physics scene.
This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame.
This commit also slightly changes the behaviour of timeout reporting.
Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check.
Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout. 
							
						 
						
							2012-02-24 05:02:33 +00:00  
				
					
						
							
							
								 
						
							
							
								90ea00a109 
								
							
								 
							
						 
						
							
							
								
								Try to resolve some problems with viewers crashing after hitting parcel banlines or freezing on the banline.  
							
							... 
							
							
							
							This involves
1) On forcible teleport, call m_scene.RequestTeleportLocation() rather than ScenePresence.Teleport() - only EntityTransferModule now should call SP.Teleport()
2) When avatar is being forcibly moved due to banlines, use a 'stop movement' tolerance of 0.2 to requested position rather than 1
This prevents the avatar sometimes being stuck to banlines until they teleport somewhere else.
This aims to fix some problems in http://opensimulator.org/mantis/view.php?id=5822  
							
						 
						
							2012-02-23 22:56:42 +00:00  
				
					
						
							
							
								 
						
							
							
								9ed4245d9e 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2012-02-23 01:42:08 +00:00  
				
					
						
							
							
								 
						
							
							
								1dfc990264 
								
							
								 
							
						 
						
							
							
								
								Add a position parameter to region crossing of objects. This avoids the  
							
							... 
							
							
							
							potential bad update that places an object at the opposite side of the
origin sim for a moment before actually crossing it. Especially important in
grids like OSG where lag between sims is high. 
							
						 
						
							2012-02-23 01:40:30 +00:00  
				
					
						
							
							
								 
						
							
							
								5d31267185 
								
							
								 
							
						 
						
							
							
								
								Remove two spurious m_sceneGraph != null checks in Scene.cs.  It's set in constructor and never subsequent set to null.  
							
							
							
						 
						
							2012-02-22 00:55:16 +00:00  
				
					
						
							
							
								 
						
							
							
								cf9b3e7708 
								
							
								 
							
						 
						
							
							
								
								Restore the taskItem null check that I accidentally blatted in  5397a6d 
							
							... 
							
							
							
							This is a valid check because the caller could supply an invalid uuid. 
							
						 
						
							2012-02-21 23:41:48 +00:00  
				
					
						
							
							
								 
						
							
							
								5397a6d4c6 
								
							
								 
							
						 
						
							
							
								
								Fix problem with dragging child part inventory item to user inventory.  
							
							... 
							
							
							
							This fixes the problem by fixing the permissions module to look at root part permissions rather than having to do this for every caller.
Resolves http://opensimulator.org/mantis/view.php?id=5569  
							
						 
						
							2012-02-21 22:54:30 +00:00  
				
					
						
							
							
								 
						
							
							
								76f411147d 
								
							
								 
							
						 
						
							
							
								
								Revert "Fix:Cannot drag inventory from child prim into inventory  http://opensimulator.org/mantis/view.php?id=5569 "  
							
							... 
							
							
							
							This reverts commit 15ce73cacahttp://opensimulator.org/mantis/view.php?id=5569 , I was going to fix this in a more general way. 
							
						 
						
							2012-02-21 22:49:06 +00:00  
				
					
						
							
							
								 
						
							
							
								15ce73caca 
								
							
								 
							
						 
						
							
							
								
								Fix:Cannot drag inventory from child prim into inventory  http://opensimulator.org/mantis/view.php?id=5569  
							
							
							
						 
						
							2012-02-21 22:07:12 +00:00  
				
					
						
							
							
								 
						
							
							
								90dc5f47e7 
								
							
								 
							
						 
						
							
							
								
								Fix bug where NPCs would establish child agents on other neighbour regions that had come up after the NPC was created.  
							
							
							
						 
						
							2012-02-21 01:57:19 +00:00  
				
					
						
							
							
								 
						
							
							
								99b9c1a9d5 
								
							
								 
							
						 
						
							
							
								
								More improvements on agent position updates: if the target sims fail, blacklist them for 2 min, so that we don't keep doing remote calls that fail.  
							
							
							
						 
						
							2012-02-20 10:58:07 -08:00  
				
					
						
							
							
								 
						
							
							
								b489c85226 
								
							
								 
							
						 
						
							
							
								
								Amend to last commit. This should have been committed too.  
							
							
							
						 
						
							2012-02-19 15:37:37 -08:00  
				
					
						
							
							
								 
						
							
							
								dcea23906b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-19 12:28:47 -08:00  
				
					
						
							
							
								 
						
							
							
								20c65ac438 
								
							
								 
							
						 
						
							
							
								
								A few more tweaks on position updates and create child agents. Mono hates concurrent uses of the same TCP connection, and even of the connections to the same server. So let's stop doing it. This patch makes movement much smoother when there are lots of neighbours.  
							
							
							
						 
						
							2012-02-19 12:28:07 -08:00  
				
					
						
							
							
								 
						
							
							
								bcb9577495 
								
							
								 
							
						 
						
							
							
								
								Use localy defined name, TPFlags, for Constants.TeleportFlags  
							
							
							
						 
						
							2012-02-19 12:09:57 -05:00  
				
					
						
							
							
								 
						
							
							
								a114367b9b 
								
							
								 
							
						 
						
							
							
								
								Fix:OmegaX, OmegaY and OmegaZ not saved for child prims  http://opensimulator.org/mantis/view.php?id=5893  
							
							... 
							
							
							
							Signed-off-by: nebadon <michael@osgrid.org> 
							
						 
						
							2012-02-19 01:00:01 -07:00  
				
					
						
							
							
								 
						
							
							
								f4cd35322f 
								
							
								 
							
						 
						
							
							
								
								Route logins according to Estate, Telehub and TeleportFlags  
							
							
							
						 
						
							2012-02-18 00:45:43 -05:00  
				
					
						
							
							
								 
						
							
							
								7bdcf9eb26 
								
							
								 
							
						 
						
							
							
								
								Propagate our teleport flags on logins  
							
							
							
						 
						
							2012-02-18 00:32:09 -05:00  
				
					
						
							
							
								 
						
							
							
								84184708de 
								
							
								 
							
						 
						
							
							
								
								Fix a bug where changing shape parameters of a child prim in a linkset would not persist.  
							
							... 
							
							
							
							Resolves http://opensimulator.org/mantis/view.php?id=5819  
							
						 
						
							2012-02-18 01:15:43 +00:00  
				
					
						
							
							
								 
						
							
							
								b313d16493 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-17 13:51:54 -08:00  
				
					
						
							
							
								 
						
							
							
								784263f5e3 
								
							
								 
							
						 
						
							
							
								
								Added the TriggerAvatarAppearanceChanged to EventManager. It's triggered by AvatarFactoryModule after an avatar's appearance has been succesfully changed and persisted (if the persist option is set).  
							
							
							
						 
						
							2012-02-17 13:45:45 -08:00  
				
					
						
							
							
								 
						
							
							
								6baa13ab7a 
								
							
								 
							
						 
						
							
							
								
								Add new and updated script events  
							
							
							
						 
						
							2012-02-17 09:12:41 -08:00  
				
					
						
							
							
								 
						
							
							
								0e16e0fb6a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/src/opensim  
							
							
							
						 
						
							2012-02-17 08:21:33 -05:00  
				
					
						
							
							
								 
						
							
							
								ba98d6fffe 
								
							
								 
							
						 
						
							
							
								
								Fix missing telehub handling on login  
							
							
							
						 
						
							2012-02-17 08:03:53 -05:00  
				
					
						
							
							
								 
						
							
							
								4486b7d8e8 
								
							
								 
							
						 
						
							
							
								
								Fix: Object owned by the group does not return to the last owner  http://opensimulator.org/mantis/view.php?id=5404  
							
							
							
						 
						
							2012-02-16 03:35:18 +00:00  
				
					
						
							
							
								 
						
							
							
								2b842958cc 
								
							
								 
							
						 
						
							
							
								
								If shape properties fail SOP parsing (e.g. due to commas instead of decimal points) print out one short message listing the failing node names rather than lots of exceptions.  
							
							... 
							
							
							
							Adds skeleton bad float values deserialization test 
							
						 
						
							2012-02-16 02:58:00 +00:00  
				
					
						
							
							
								 
						
							
							
								ebe5e1731d 
								
							
								 
							
						 
						
							
							
								
								In ObjectTortureTests, run garbage collector on Teardown and run scene loop update when scene objects have been deleted.  
							
							... 
							
							
							
							At least on mono 2.6.4, running GC.Collect() is not guaranteed to force gc of all objects when run in the same method where those objects had references.
Therefore, GC.Collect() is now being done in the per-script teardown of ObjectTortureTests.
In addition, scene loop update is being run after garbage collection in order to clean out the viewer update list of scene objects in the SceneGraph.
These measures mean that scene objects/parts are now garbage collected after a test run if deleted from the scene, resulting in a much better memory usage report (though probably still not very accurate).
However, deletion takes a very long time - what's really needed is to find out now why the entire scene isn't being GC'd by this measure.
This change hasn't yet been applied to the other stress tests. 
							
						 
						
							2012-02-15 01:45:25 +00:00  
				
					
						
							
							
								 
						
							
							
								04986bbb15 
								
							
								 
							
						 
						
							
							
								
								Add some more data to the new user connection logging for debug purposes.  
							
							
							
						 
						
							2012-02-14 01:50:51 +00:00  
				
					
						
							
							
								 
						
							
							
								21393af631 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-13 20:48:50 +00:00  
				
					
						
							
							
								 
						
							
							
								189c67db95 
								
							
								 
							
						 
						
							
							
								
								On object deserialization, go back to logging errors at DEBUG level rather than ERROR.  Restore extra log message if shape processing fails.  
							
							... 
							
							
							
							Logging level was DEBUG before 312e145312e145 
							
						 
						
							2012-02-13 20:43:26 +00:00  
				
					
						
							
							
								 
						
							
							
								e7fd732209 
								
							
								 
							
						 
						
							
							
								
								Make ScenePresence.MovementFlag a private only settable value to reduce complexity of code analysis  
							
							
							
						 
						
							2012-02-11 00:10:59 +00:00  
				
					
						
							
							
								 
						
							
							
								44d84bc277 
								
							
								 
							
						 
						
							
							
								
								Fix bug where somebody taking a copy of an object they didn't own that was rezzed before the region was restarted would wrongly place the copy in the object owner's inventory.  
							
							... 
							
							
							
							Addresses http://opensimulator.org/mantis/view.php?id=5825  
							
						 
						
							2012-02-10 19:58:34 +00:00  
				
					
						
							
							
								 
						
							
							
								ddca5347c3 
								
							
								 
							
						 
						
							
							
								
								When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer permissions, not PermissionMask.All  
							
							... 
							
							
							
							Setting PermissionMask.All will cause next permissions to replace current permissions when the object is rezzed, since bit 4 will be set.
This is not correct behaviour for a freshly uploaded mesh.  Freshly rezzed in-world prims also do not have bit 4 set (don't yet know exactly what this is).
Should resolve http://opensimulator.org/mantis/view.php?id=5651  
							
						 
						
							2012-02-10 02:13:15 +00:00  
				
					
						
							
							
								 
						
							
							
								dfa19e23f0 
								
							
								 
							
						 
						
							
							
								
								Stop a scene object from attempting to link with itself (which results in an exception and constant complaints in v3 viewers).  
							
							... 
							
							
							
							Aims to address http://opensimulator.org/mantis/view.php?id=5878  
							
						 
						
							2012-02-08 22:19:34 +00:00  
				
					
						
							
							
								 
						
							
							
								c87751a822 
								
							
								 
							
						 
						
							
							
								
								Add start GC memory and end GC memory to object stress test printouts.  
							
							... 
							
							
							
							This illustrates that references to Scene, SOG, etc. are not currently being released when a stress test ends (or at regression test end in general).
This means even the current stress tests take much more memory than they need, a problem that will have to be addressed. 
							
						 
						
							2012-02-07 23:03:53 +00:00  
				
					
						
							
							
								 
						
							
							
								bd928218dd 
								
							
								 
							
						 
						
							
							
								
								Add TestAddTaskInventoryItem()  
							
							
							
						 
						
							2012-02-07 21:00:47 +00:00  
				
					
						
							
							
								 
						
							
							
								7583768b9e 
								
							
								 
							
						 
						
							
							
								
								Remove debug logging if physics actor is null in SOP.ApplyPhysics()  
							
							... 
							
							
							
							This is not valid in the case of BasicPhysics which can return a null PhysicsActor (though I think it should really return a do-nothing PhysicsActor). 
							
						 
						
							2012-02-07 20:26:26 +00:00  
				
					
						
							
							
								 
						
							
							
								038d1bf742 
								
							
								 
							
						 
						
							
							
								
								Add a regression test to compile and start a script.  Remove Path.GetDirectoryName when getting assembly loading path in Compiler.CompileFromDotNetText().  
							
							... 
							
							
							
							The Path.GetDirectoryName call in Compiler.CompileFromDotNetText is unnecessary since AppDomain.CurrentDomain.BaseDirectory is always a directory.
Later path concatenation is already done by Path.Combine() which handles any trailing slash.
Removing Path.GetDirectoryName() will not affect the runtime but allows NUnit to work since it doesn't add a trailing slash to AppDomain.CurrentDomain.BaseDirectory. 
							
						 
						
							2012-02-07 17:44:37 +00:00  
				
					
						
							
							
								 
						
							
							
								4e11983c7c 
								
							
								 
							
						 
						
							
							
								
								Make configuration uniform  
							
							... 
							
							
							
							Pickup the max physical prim size in Scene to make it uniform since adding code to get default size from the OpenSim*.ini. 
							
						 
						
							2012-02-05 12:38:20 -05:00  
				
					
						
							
							
								 
						
							
							
								36ed0dcdaa 
								
							
								 
							
						 
						
							
							
								
								change NonPhysicalPrimMax to NonphysicalPrimMax in Scenes.cs to make the  
							
							... 
							
							
							
							variable in OpenSim.ini and Regions.ini match 
							
						 
						
							2012-02-04 19:45:10 -07:00  
				
					
						
							
							
								 
						
							
							
								9b762a5a84 
								
							
								 
							
						 
						
							
							
								
								Only look for an uploaded transactional asset in Scene.UpdateTaskInventory if we have been passed a non-zero transaction ID.  
							
							... 
							
							
							
							This resolves the recent regression from deeb728deeb728http://opensimulator.org/mantis/view.php?id=5873  
							
						 
						
							2012-02-04 00:20:27 +00:00  
				
					
						
							
							
								 
						
							
							
								2b6c5fcb31 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-03 23:48:12 +00:00  
				
					
						
							
							
								 
						
							
							
								312e1457dd 
								
							
								 
							
						 
						
							
							
								
								Change SceneObjectSerializer to use common ExternalRepresentationUtils.ExecuteReadProcessors() methods.  
							
							... 
							
							
							
							Adds ability to submit a customized exception message to match logging. 
							
						 
						
							2012-02-03 23:47:01 +00:00  
				
					
						
							
							
								 
						
							
							
								107cef2b0e 
								
							
								 
							
						 
						
							
							
								
								Check for null scene in ScheduleFullUpdate and ScheduleTerseUpdate before triggering events on a potentially null Scene  
							
							
							
						 
						
							2012-02-03 15:18:48 -08:00  
				
					
						
							
							
								 
						
							
							
								61adf36339 
								
							
								 
							
						 
						
							
							
								
								Commenting out new event until I can fix OpenSim tests. Currently, testing objects does not create a Scene or EventManager so triggering events crashes some tests  
							
							
							
						 
						
							2012-02-02 18:19:22 -08:00  
				
					
						
							
							
								 
						
							
							
								ed846f11f1 
								
							
								 
							
						 
						
							
							
								
								OpenSim tests do not always create an EventManager so calls to trigger events during tests must check for null EventManager  
							
							
							
						 
						
							2012-02-02 18:06:34 -08:00  
				
					
						
							
							
								 
						
							
							
								3257dbe76d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-02 17:44:11 -08:00  
				
					
						
							
							
								 
						
							
							
								146d78edfa 
								
							
								 
							
						 
						
							
							
								
								ObjectAddedToScene event should be fired when duplicating objects  
							
							
							
						 
						
							2012-02-02 17:41:05 -08:00  
				
					
						
							
							
								 
						
							
							
								567f4c51f8 
								
							
								 
							
						 
						
							
							
								
								Improve reliability of script state saving by covering various saving  
							
							... 
							
							
							
							and loading scenarios which resulted in loss of continuity on item ids 
							
						 
						
							2012-02-02 01:52:17 +00:00  
				
					
						
							
							
								 
						
							
							
								0ce9ad4a56 
								
							
								 
							
						 
						
							
							
								
								Add event RegionHeartbeatEnd for modules interested in coordinating activity with region heartbeats  
							
							
							
						 
						
							2012-02-01 17:01:28 -08:00  
				
					
						
							
							
								 
						
							
							
								c10193c72b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-01 16:25:35 -08:00  
				
					
						
							
							
								 
						
							
							
								003bd9f1b3 
								
							
								 
							
						 
						
							
							
								
								Small optimization to last commit  
							
							
							
						 
						
							2012-02-01 10:05:04 +00:00  
				
					
						
							
							
								 
						
							
							
								cc1476fc36 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2012-02-01 09:45:42 +00:00  
				
					
						
							
							
								 
						
							
							
								241ddd031f 
								
							
								 
							
						 
						
							
							
								
								Fix copy/paste errors  
							
							
							
						 
						
							2012-02-01 09:45:15 +00:00  
				
					
						
							
							
								 
						
							
							
								fcc1fa2c32 
								
							
								 
							
						 
						
							
							
								
								Straighten out some attachment mess. Don't save attachment states for HG  
							
							... 
							
							
							
							visitors at all. On Leaving a sim, save only the changed ones. Don't save
all scripted stuff when leaving a sim. 
							
						 
						
							2012-02-01 09:36:14 +00:00  
				
					
						
							
							
								 
						
							
							
								ab89adfaef 
								
							
								 
							
						 
						
							
							
								
								Implement "show object uuid <uuid>" console command.  
							
							... 
							
							
							
							This will show details about a part with the given uuid if it's found. 
							
						 
						
							2012-01-31 23:03:39 +00:00  
				
					
						
							
							
								 
						
							
							
								9bd02b5da1 
								
							
								 
							
						 
						
							
							
								
								Move object delete commands into a commands region module, in preparation for adding similar show commands.  
							
							
							
						 
						
							2012-01-31 21:57:45 +00:00  
				
					
						
							
							
								 
						
							
							
								10b9348071 
								
							
								 
							
						 
						
							
							
								
								Remove scene object null check on SceneGraph.AddSceneObject().  Complain explicitly if there's an attempt to add any object with a zero UUID.  
							
							... 
							
							
							
							Callers themselves need to check that they're not attempting to add a null scene object. 
							
						 
						
							2012-01-31 20:30:30 +00:00  
				
					
						
							
							
								 
						
							
							
								f3780b9eae 
								
							
								 
							
						 
						
							
							
								
								Add torture tests to test adding 10,000, 100,000 and 200,000 single prim scene objects.  
							
							... 
							
							
							
							These can be run using the "nant torture" target.  They are not part of "nant test" due to their long-run future nature.
Such tests are designed to do some testing of extreme situations and give some feedback on memory usage, etc.
However, data can be inconsistent due to different machine circumstances and virtual machine actions.
This area is under development. 
							
						 
						
							2012-01-31 19:56:37 +00:00  
				
					
						
							
							
								 
						
							
							
								9d93c4808e 
								
							
								 
							
						 
						
							
							
								
								lock SceneObjectGroupsByFullID in SceneGraph.ForEachSOG() to stop failure if SceneObjectGroupsByFullID is updated elsewhere at the same time.  
							
							
							
						 
						
							2012-01-30 19:21:58 +00:00  
				
					
						
							
							
								 
						
							
							
								2ef9fd05fa 
								
							
								 
							
						 
						
							
							
								
								Add an overloaded SceneObjectPart.UpdateTextureEntry(Primitive.TextureEntry texEntry) for region modules  
							
							
							
						 
						
							2012-01-28 02:45:13 +00:00  
				
					
						
							
							
								 
						
							
							
								154ba0124a 
								
							
								 
							
						 
						
							
							
								
								Add experimental --publish option to "save oar" so that OARs reloaded to the same grid don't have the publisher as owner.  
							
							
							
						 
						
							2012-01-28 02:21:41 +00:00  
				
					
						
							
							
								 
						
							
							
								deeb7287a2 
								
							
								 
							
						 
						
							
							
								
								Comment out xfer section in Scene.UpdateTaskInventory() which was causing spurious errors and "script saved" messages when script properties were changed.  
							
							... 
							
							
							
							Viewers since at least Linden Lab 1.23 use the script upload capability to save script changes.
It's unknown whether the commented out code was working for very old viewers or not.
Code is commented out to reduce complexity and so that useful error messages don't need to be removed.
If there is a substantial population using extremely old viewers that can't upgrade to a newer version 1 viewer (e.g. 1.23) or similar TPV then this can be revisited. 
							
						 
						
							2012-01-28 00:39:53 +00:00  
				
					
						
							
							
								 
						
							
							
								da720ce9be 
								
							
								 
							
						 
						
							
							
								
								Support rejecting a teleport if a user is banned in all parcels that have  
							
							... 
							
							
							
							spawn points 
							
						 
						
							2012-01-26 10:21:45 +00:00  
				
					
						
							
							
								 
						
							
							
								093469c33c 
								
							
								 
							
						 
						
							
							
								
								Add basic TestAddScript() regression test  
							
							
							
						 
						
							2012-01-26 01:16:03 +00:00  
				
					
						
							
							
								 
						
							
							
								55c6cbabfd 
								
							
								 
							
						 
						
							
							
								
								refactor: change RezScriptFromAgentInventory(), RezNewScript() and AddInventoryItem() to accept an agent id rather than a full IClientAPI.  
							
							... 
							
							
							
							This stops some code having to make spurious client == null checks and reduces regression test complexity. 
							
						 
						
							2012-01-26 00:10:37 +00:00  
				
					
						
							
							
								 
						
							
							
								2de3a1b9da 
								
							
								 
							
						 
						
							
							
								
								refactor: decompose most of RezScript() into RezScriptFromAgentInventory(), RezNewScript() and rename one RezScript() to RezScriptFromPrim()  
							
							
							
						 
						
							2012-01-25 23:22:07 +00:00  
				
					
						
							
							
								 
						
							
							
								3d1f43046d 
								
							
								 
							
						 
						
							
							
								
								Removed unused delegates in SceneGraph: ObjectDuplicateDelegate, ObjectCreateDelegate, ObjectDeleteDelegate  
							
							
							
						 
						
							2012-01-24 17:05:53 -08:00  
				
					
						
							
							
								 
						
							
							
								488fe0ae9c 
								
							
								 
							
						 
						
							
							
								
								Removed unused events in SceneGraph: OnObjectCreate, OnObjectRemove, OnObjectDuplicate  
							
							
							
						 
						
							2012-01-24 13:41:26 -08:00  
				
					
						
							
							
								 
						
							
							
								855d3a3ba5 
								
							
								 
							
						 
						
							
							
								
								Teleport routing, part 1  
							
							
							
						 
						
							2012-01-24 04:06:37 +00:00  
				
					
						
							
							
								 
						
							
							
								e41f23dead 
								
							
								 
							
						 
						
							
							
								
								Trigger event when prims are scheduled for an update. This gives modules early access to changed parameters.  
							
							
							
						 
						
							2012-01-19 03:06:35 -08:00  
				
					
						
							
							
								 
						
							
							
								5ced49aaa8 
								
							
								 
							
						 
						
							
							
								
								Cleaned up Color and Text parameters in SOP and made LocalFlags public for module access.  
							
							
							
						 
						
							2012-01-19 03:03:22 -08:00  
				
					
						
							
							
								 
						
							
							
								2c6272d11a 
								
							
								 
							
						 
						
							
							
								
								Add a version of GetGroupByPrim to Scene which accepts UUID instead of localID  
							
							
							
						 
						
							2012-01-19 03:01:37 -08:00  
				
					
						
							
							
								 
						
							
							
								59a0c50d48 
								
							
								 
							
						 
						
							
							
								
								Comment out noisy log lines I accidentally included in the nant build target adjustment commit.  
							
							... 
							
							
							
							Left in the method doc. 
							
						 
						
							2012-01-16 23:04:08 +00:00  
				
					
						
							
							
								 
						
							
							
								82ad9d4e04 
								
							
								 
							
						 
						
							
							
								
								Remove monocov and other obsolete nant build targets.  
							
							... 
							
							
							
							monocov was a code coverage attempt 3 years ago which no longer works.
other removed targets have been commented out or unused for a very long time 
							
						 
						
							2012-01-16 22:58:58 +00:00  
				
					
						
							
							
								 
						
							
							
								e1a2c44ebe 
								
							
								 
							
						 
						
							
							
								
								Cleaned up the LookAt code in SOP and SOG. Added support for incrementally  
							
							... 
							
							
							
							rotating physical objects. This does not use physics. Currently the rate
of change is determined as 1 / (PI * Strength). 
							
						 
						
							2012-01-13 14:48:56 -08:00  
				
					
						
							
							
								 
						
							
							
								8bdd80abfa 
								
							
								 
							
						 
						
							
							
								
								HG: normalize all externalized user ULRs to be the Home URL, i.e. the location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.  
							
							
							
						 
						
							2012-01-12 09:56:35 -08:00  
				
					
						
							
							
								 
						
							
							
								38db874755 
								
							
								 
							
						 
						
							
							
								
								If deserializing a scene object fails during IAR load then ignore the object rather than halting the IAR load with an exception.  
							
							
							
						 
						
							2012-01-11 14:33:26 +00:00  
				
					
						
							
							
								 
						
							
							
								ce44f56af9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-10 11:11:08 -08:00  
				
					
						
							
							
								 
						
							
							
								7b84942f86 
								
							
								 
							
						 
						
							
							
								
								HG landing points: this hopefully fixes some confusion that was making HG avies always land in 0,0  
							
							
							
						 
						
							2012-01-10 11:10:47 -08:00  
				
					
						
							
							
								 
						
							
							
								3deb52d399 
								
							
								 
							
						 
						
							
							
								
								Teleport Debugging  
							
							... 
							
							
							
							Move setting from ini to existing facitilies - thanks justincc
	toggle with console command: debug teleport 
							
						 
						
							2012-01-10 13:41:35 -05:00  
				
					
						
							
							
								 
						
							
							
								707c8c6f2b 
								
							
								 
							
						 
						
							
							
								
								Add some run-time debugging support  
							
							... 
							
							
							
							Add configuration option - DEBUG to enable debugging methods. This is temporary for helping users testing teleport routing be able to report back the data with the test cases. We can remove when finished with this, or leave it if it proves to be useful.
	Users: set DEBUG = true in OpenSim.ini to get more information from teleport routing. The default is false. It presently prints the TeleportFlags value. 
							
						 
						
							2012-01-09 18:19:55 -05:00  
				
					
						
							
							
								 
						
							
							
								b3a12167d6 
								
							
								 
							
						 
						
							
							
								
								Use our TeleportFlags  
							
							... 
							
							
							
							Switch to our TeleportFlags enum instead of LibOMV because we need to define a type for HG Logins. Also moved some debugging in ScenePresence into a function to make it simpler to enable/disable. 
							
						 
						
							2012-01-09 17:54:35 -05:00  
				
					
						
							
							
								 
						
							
							
								95345521f0 
								
							
								 
							
						 
						
							
							
								
								TP Routing debug  
							
							... 
							
							
							
							Fix test to checking against bitfield instead of int 
							
						 
						
							2012-01-09 17:04:34 -05:00  
				
					
						
							
							
								 
						
							
							
								3640afdd95 
								
							
								 
							
						 
						
							
							
								
								Fix teleport routing for incoming HG+Owner  
							
							... 
							
							
							
							Incoming HG owner/estate manager, etc. is routed according to the rules defined for teleports within the local grid. Left some commented debugging code inside so we can test other cases. Will remove when tings are settled in. 
							
						 
						
							2012-01-09 14:31:22 -05:00  
				
					
						
							
							
								 
						
							
							
								43145c7f67 
								
							
								 
							
						 
						
							
							
								
								Debugging HG teleport routing  
							
							... 
							
							
							
							Add some temporary debugging to the teleport routing to get a better view of what happens when HG jumps are made. 
							
						 
						
							2012-01-09 13:07:02 -05:00  
				
					
						
							
							
								 
						
							
							
								34c42cdab0 
								
							
								 
							
						 
						
							
							
								
								Fix HG teleport routing  
							
							... 
							
							
							
							Needed to breakout the ViaHGLogin check to it's own section. For some reason it would not factor in when combined with the other teleport flag types. 
							
						 
						
							2012-01-09 01:37:28 -05:00  
				
					
						
							
							
								 
						
							
							
								0e855fea7c 
								
							
								 
							
						 
						
							
							
								
								Fix a build break  
							
							
							
						 
						
							2012-01-09 01:05:19 +00:00  
				
					
						
							
							
								 
						
							
							
								1ebd79e413 
								
							
								 
							
						 
						
							
							
								
								Add the HG case to landing point checks  
							
							
							
						 
						
							2012-01-09 00:54:59 +00:00  
				
					
						
							
							
								 
						
							
							
								44cde8d5c6 
								
							
								 
							
						 
						
							
							
								
								Update teleport routing to match Avination  
							
							
							
						 
						
							2012-01-08 23:36:49 +00:00  
				
					
						
							
							
								 
						
							
							
								266167f5a3 
								
							
								 
							
						 
						
							
							
								
								Fix teleport routing  
							
							... 
							
							
							
							Route non-owner avatars according to land settings 
							
						 
						
							2012-01-08 17:41:47 -05:00  
				
					
						
							
							
								 
						
							
							
								ba163ab05b 
								
							
								 
							
						 
						
							
							
								
								Add method doc to SPA.Falling and use automatic private get property  
							
							
							
						 
						
							2012-01-07 00:29:55 +00:00  
				
					
						
							
							
								 
						
							
							
								c5c079f6aa 
								
							
								 
							
						 
						
							
							
								
								Fix bug where tapping home to stop falling would stop any avatar movement other than falling again.  
							
							... 
							
							
							
							Addresses http://opensimulator.org/mantis/view.php?id=5839  
							
						 
						
							2012-01-07 00:17:40 +00:00  
				
					
						
							
							
								 
						
							
							
								f8c15d38a6 
								
							
								 
							
						 
						
							
							
								
								If dragging a script that is no copy from prim inventory into agent  
							
							... 
							
							
							
							inventory, stop it first in scene. If deleting from prims, move to trash
rather then making it poof. 
							
						 
						
							2012-01-06 17:43:35 +00:00  
				
					
						
							
							
								 
						
							
							
								2c401b7359 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2012-01-05 08:12:34 +00:00  
				
					
						
							
							
								 
						
							
							
								97ba3c9346 
								
							
								 
							
						 
						
							
							
								
								Small fix to GetWorldPosition to get closer to Avination sit behavior  
							
							
							
						 
						
							2012-01-05 08:11:52 +00:00  
				
					
						
							
							
								 
						
							
							
								fc391d4b10 
								
							
								 
							
						 
						
							
							
								
								Added EventManager.OnRegionStarted which is triggered when Heartbeat is started.  
							
							
							
						 
						
							2012-01-04 12:01:18 -08:00  
				
					
						
							
							
								 
						
							
							
								ecf9824b63 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-03 16:52:53 -08:00  
				
					
						
							
							
								 
						
							
							
								0ab2289cdc 
								
							
								 
							
						 
						
							
							
								
								Access to these static methods to serialize objects are useful outside of serializer  
							
							
							
						 
						
							2012-01-03 16:52:08 -08:00  
				
					
						
							
							
								 
						
							
							
								983b49c0c8 
								
							
								 
							
						 
						
							
							
								
								commented out "Prevented flyoff" log message for now as this becomes problematic with bot testing.  
							
							... 
							
							
							
							Please uncomment if still needed. 
							
						 
						
							2012-01-03 18:25:31 +00:00  
				
					
						
							
							
								 
						
							
							
								56dbcae402 
								
							
								 
							
						 
						
							
							
								
								Bug fix in map tiles in standalone: the map has been blank since commit  01ae916bad r/17324 (Nov.18, justincc). But the root cause comes from commit  02e54c57c4 Author: Oren Hurvitz Date: 7/22/2011  
							
							... 
							
							
							
							This is a nasty situation. The map tile UUID is, in principle, stored authoritatively in RegionSettings. However, it also needs to be stored in the Grid Service because that's how other sims can retrieve it to send it in Map Blocks to non-V3 viewers. So every time the tile image changes, that change needs to propagate to the Grid Service, and this is done via RegisterRegion (ugh!). Interestingly, this problem didn't affect grids because by default AllowRemoteDelete is false, so the prior images aren't being deleted from the asset servers -- but they were not being correctly updated in the map either, the map was stuck with old images. 
							
						 
						
							2011-12-30 21:32:28 -08:00  
				
					
						
							
							
								 
						
							
							
								f394cb2e8f 
								
							
								 
							
						 
						
							
							
								
								fix the UsesPhysics flag to reference the physics flag rather than the temponrez flag  
							
							
							
						 
						
							2011-12-22 16:21:32 -08:00  
				
					
						
							
							
								 
						
							
							
								7ccd8f8f1d 
								
							
								 
							
						 
						
							
							
								
								rename Scene.m_physicalPrim to PhysicalPrims since its public and access external as a property  
							
							
							
						 
						
							2011-12-22 19:57:50 +00:00  
				
					
						
							
							
								 
						
							
							
								f7dbdba447 
								
							
								 
							
						 
						
							
							
								
								Remove unused m_physicalPrim parameter from SOG.ApplyPhysics()  
							
							
							
						 
						
							2011-12-22 19:52:09 +00:00  
				
					
						
							
							
								 
						
							
							
								48113f0fc8 
								
							
								 
							
						 
						
							
							
								
								Make it possible to force all prims to be phantom via the collidable_prim boolean setting in the OpenSim.ini config [Startup] section.  
							
							... 
							
							
							
							Naturally, default is true.
When set to false, "phantom" flags on prims can be set as usual but all prims remain phantom.
This setting is for test purposes.
This switch does not affect the collision of avatars with the terrain. 
							
						 
						
							2011-12-22 19:44:52 +00:00  
				
					
						
							
							
								 
						
							
							
								7f527814d5 
								
							
								 
							
						 
						
							
							
								
								And a typo fix  
							
							
							
						 
						
							2011-12-22 16:57:49 +00:00  
				
					
						
							
							
								 
						
							
							
								6412349dec 
								
							
								 
							
						 
						
							
							
								
								Add a few comments, correct a merge artefact  
							
							
							
						 
						
							2011-12-22 16:51:51 +00:00  
				
					
						
							
							
								 
						
							
							
								2347593dac 
								
							
								 
							
						 
						
							
							
								
								Harmonizing SP with Avination  
							
							
							
						 
						
							2011-12-22 16:48:52 +00:00  
				
					
						
							
							
								 
						
							
							
								219ec7ef20 
								
							
								 
							
						 
						
							
							
								
								Fixing a bug introduced yesterday. This put the precondition test inside CheckForBorderCrossing the right way.  
							
							
							
						 
						
							2011-12-22 08:18:03 -08:00  
				
					
						
							
							
								 
						
							
							
								bb0c6a498b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-12-21 15:17:44 -08:00  
				
					
						
							
							
								 
						
							
							
								ddff2f246c 
								
							
								 
							
						 
						
							
							
								
								Moved an external test into the method that uses those preconditions.  
							
							
							
						 
						
							2011-12-21 15:17:26 -08:00  
				
					
						
							
							
								 
						
							
							
								fa0a71253f 
								
							
								 
							
						 
						
							
							
								
								Though the viewer warns about receiving this, not sending appears to break baked texture caching when crossing region boundaries.  
							
							... 
							
							
							
							Needs further investigation.
Revert "Stop sending the viewer its own AvatarAppearance packet."
This reverts commit 92039f295d 
							
						 
						
							2011-12-20 18:54:15 +00:00  
				
					
						
							
							
								 
						
							
							
								dd69c9fd20 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-12-20 09:53:05 -08:00  
				
					
						
							
							
								 
						
							
							
								87a2d8d51b 
								
							
								 
							
						 
						
							
							
								
								Move HandleObjectGroupUpdate() from GroupsModule to Scene.PacketHandlers.cs as this is updating SOG/SOP.GroupID, which is arguably generic.  
							
							
							
						 
						
							2011-12-19 23:03:45 +00:00  
				
					
						
							
							
								 
						
							
							
								92039f295d 
								
							
								 
							
						 
						
							
							
								
								Stop sending the viewer its own AvatarAppearance packet.  
							
							... 
							
							
							
							The viewer warns in the log if it receives this.
Stopping this doesn't appear to have adverse effects on viewer 1 or viewer 3 - the viewer gets its own appearance from body parts/clothes and self-baked textures. 
							
						 
						
							2011-12-19 20:13:48 +00:00  
				
					
						
							
							
								 
						
							
							
								0b91ec8dd2 
								
							
								 
							
						 
						
							
							
								
								Migrate detailed "appearance show" report generation up to AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive).  
							
							... 
							
							
							
							Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25.
Adjust some method doc
Minor changes to some logging messages. 
							
						 
						
							2011-12-19 18:58:05 +00:00  
				
					
						
							
							
								 
						
							
							
								f9137c923b 
								
							
								 
							
						 
						
							
							
								
								Fix bug where objects could not be set to a new group if the group had been created in that client session, or if no other action has been performed on the object.  
							
							... 
							
							
							
							There were two problems here:
1) On object group update, we looked for the group is the IClientAPI group cache rather than in the groups service.  This fails to groups created newly in that session
2) On object group update, we weren't setting the HasGroupChanged flag.  This meant that the change was not persisted unless some other action set this flag.
This commit fixes these issues and hopefully addresses http://opensimulator.org/mantis/view.php?id=5588 
This commit also moves HandleObjectGroupUpdate() to the GroupsModule from the Scene.PacketHandlers.cs file 
							
						 
						
							2011-12-17 02:23:24 +00:00  
				
					
						
							
							
								 
						
							
							
								964ec57ffe 
								
							
								 
							
						 
						
							
							
								
								Changed the async approach on close child agents. This may improve crossings a little bit.  
							
							
							
						 
						
							2011-12-16 17:24:50 -08:00  
				
					
						
							
							
								 
						
							
							
								1bf05fbb1f 
								
							
								 
							
						 
						
							
							
								
								refactor: simplify methods in Scene.PacketHandlers.cs by using GetGroupByPrim() rather than retrieving GetEntities() and inspecting the entire list  
							
							
							
						 
						
							2011-12-17 00:11:17 +00:00  
				
					
						
							
							
								 
						
							
							
								a3a17e929e 
								
							
								 
							
						 
						
							
							
								
								Stop generating client flags when we send out full object updates.  
							
							... 
							
							
							
							These were entirely unused. 
							
						 
						
							2011-12-16 23:20:12 +00:00  
				
					
						
							
							
								 
						
							
							
								5c4056660f 
								
							
								 
							
						 
						
							
							
								
								Don't pass on ChaneWaterHeight event from EventManager is new water height is less than 0  
							
							... 
							
							
							
							This is to stop bad values and subsequent viewer crashes.
Thanks to Michelle Argus for this patch. 
							
						 
						
							2011-12-16 21:16:01 +00:00  
				
					
						
							
							
								 
						
							
							
								3bf699ad36 
								
							
								 
							
						 
						
							
							
								
								No functional changes. Changed the prefix of that log message [CONNECTION BEGIN] to [SCENE] because that's where the message happens.  
							
							... 
							
							
							
							Also changed the instantiation of a vector object to be done only once instead of every time we receive a position update. 
							
						 
						
							2011-12-16 08:59:33 -08:00  
				
					
						
							
							
								 
						
							
							
								c0ba99e5ad 
								
							
								 
							
						 
						
							
							
								
								Stop having to call SetHeight again in ScenePresence.AddToPhysicalScene() when we've already passed size information to the avatar at PhysicsScene.AddAvatar()  
							
							... 
							
							
							
							Eliminate some copypasta for height setting in OdeCharacter 
							
						 
						
							2011-12-15 22:29:36 +00:00  
				
					
						
							
							
								 
						
							
							
								937c06db54 
								
							
								 
							
						 
						
							
							
								
								Code cleanup related to ScenePresence.PhysicsActor and OdeScene/OdeCharacter  
							
							... 
							
							
							
							Stop hiding RemoveAvatar failure, add log messages when characters are removed through defects or re-added unexpectedly.
Add commented out log lines for future use.
Use automatic property for PhysicsActor for better code readability and simplicity 
							
						 
						
							2011-12-15 21:57:22 +00:00  
				
					
						
							
							
								 
						
							
							
								f43e5f92fd 
								
							
								 
							
						 
						
							
							
								
								Just adding a comment to SendFullUpdatToClient  
							
							
							
						 
						
							2011-12-13 23:34:59 -08:00  
				
					
						
							
							
								 
						
							
							
								39736e52d8 
								
							
								 
							
						 
						
							
							
								
								Reorder clearing of upate schedule on SOP to before sending updates. Fix potential race condition.  
							
							
							
						 
						
							2011-12-13 21:37:17 -08:00  
				
					
						
							
							
								 
						
							
							
								c34ab0ee66 
								
							
								 
							
						 
						
							
							
								
								Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and IsColliding  
							
							
							
						 
						
							2011-12-12 02:43:38 -08:00  
				
					
						
							
							
								 
						
							
							
								13b1c8c173 
								
							
								 
							
						 
						
							
							
								
								Do some clean up Scene.cs log messages.  
							
							... 
							
							
							
							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. 
							
						 
						
							2011-12-09 23:21:54 +00:00  
				
					
						
							
							
								 
						
							
							
								af3cd00048 
								
							
								 
							
						 
						
							
							
								
								Get rid of IScene.PresenceChildStatus() which always had to execute a lookup in favour of IClientAPI.ISceneAgent.IsChildAgent instead.  
							
							
							
						 
						
							2011-12-09 23:07:53 +00:00  
				
					
						
							
							
								 
						
							
							
								fc27806e90 
								
							
								 
							
						 
						
							
							
								
								remove some unused fields in ScenePresence  
							
							
							
						 
						
							2011-12-09 22:52:54 +00:00  
				
					
						
							
							
								 
						
							
							
								94c242f792 
								
							
								 
							
						 
						
							
							
								
								Move client id check in Scene.Inventory.cs:UpdateInventoryItemAsset so that 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. 
							
						 
						
							2011-12-09 22:36:51 +00:00  
				
					
						
							
							
								 
						
							
							
								0e265889dd 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().  
							
							... 
							
							
							
							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 
							
						 
						
							2011-12-08 19:25:24 +00:00  
				
					
						
							
							
								 
						
							
							
								55de189752 
								
							
								 
							
						 
						
							
							
								
								minor: remove some mono compiler warnings  
							
							
							
						 
						
							2011-12-08 18:56:07 +00:00  
				
					
						
							
							
								 
						
							
							
								54360dd20e 
								
							
								 
							
						 
						
							
							
								
								When a client connects to a scene, send other avatar appearance data asynchronously to reduce hold up in the IN UDP packet processing loop.  
							
							... 
							
							
							
							This is already being done for the initial object data send. 
							
						 
						
							2011-12-08 18:39:56 +00:00  
				
					
						
							
							
								 
						
							
							
								f61e54892f 
								
							
								 
							
						 
						
							
							
								
								On a new client circuit, send the initial reply ack to let the client know 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 
							
						 
						
							2011-12-08 18:34:23 +00:00  
				
					
						
							
							
								 
						
							
							
								355cde464a 
								
							
								 
							
						 
						
							
							
								
								Simplify Scene.AddNewClient()  
							
							... 
							
							
							
							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. 
							
						 
						
							2011-12-08 16:10:47 +00:00  
				
					
						
							
							
								 
						
							
							
								eda770e978 
								
							
								 
							
						 
						
							
							
								
								Remove unused SceneManager.TryGetAvatarsScene()  
							
							... 
							
							
							
							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 
							
						 
						
							2011-12-07 21:17:13 +00:00  
				
					
						
							
							
								 
						
							
							
								3d95015686 
								
							
								 
							
						 
						
							
							
								
								On an Exception in Scene.RemoveClient(), always remove the client (and SP) structure so that logout on unexpired packets isn't retriggered, causing the same exception  
							
							
							
						 
						
							2011-12-07 18:43:48 +00:00  
				
					
						
							
							
								 
						
							
							
								415b7b7ec4 
								
							
								 
							
						 
						
							
							
								
								Implement XMLRPCAdmin command admin_teleport_agent.  
							
							... 
							
							
							
							This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position. 
							
						 
						
							2011-12-07 17:31:57 +00:00  
				
					
						
							
							
								 
						
							
							
								af9ccfa15c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-12-05 20:50:44 +00:00  
				
					
						
							
							
								 
						
							
							
								4567555c49 
								
							
								 
							
						 
						
							
							
								
								Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead 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. 
							
						 
						
							2011-12-05 20:44:20 +00:00  
				
					
						
							
							
								 
						
							
							
								66f4ce354f 
								
							
								 
							
						 
						
							
							
								
								Fix CHANGED_TEXTURE and CHANGED_COLOR.  
							
							
							
						 
						
							2011-12-05 19:01:14 +00:00  
				
					
						
							
							
								 
						
							
							
								a82aea53f8 
								
							
								 
							
						 
						
							
							
								
								Split up test SceneHelpers to provide an AddChildScenePresence() call  
							
							
							
						 
						
							2011-12-03 19:32:59 +00:00  
				
					
						
							
							
								 
						
							
							
								a4d82895be 
								
							
								 
							
						 
						
							
							
								
								Remove T012_TestAddNeighbourRegion() and T013_TestRemoveNeighbourRegion() since they don't do anything useful.  
							
							
							
						 
						
							2011-12-03 19:14:37 +00:00  
				
					
						
							
							
								 
						
							
							
								3852f05e6e 
								
							
								 
							
						 
						
							
							
								
								Extend TestCreateChildScenePresence to make assertions both at CreateAgent stage and then at Scene.AddClient()  
							
							
							
						 
						
							2011-12-03 19:10:32 +00:00  
				
					
						
							
							
								 
						
							
							
								4919c60560 
								
							
								 
							
						 
						
							
							
								
								Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()  
							
							... 
							
							
							
							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. 
							
						 
						
							2011-12-03 18:59:54 +00:00  
				
					
						
							
							
								 
						
							
							
								c934901a05 
								
							
								 
							
						 
						
							
							
								
								Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions  
							
							
							
						 
						
							2011-12-03 16:11:47 +00:00  
				
					
						
							
							
								 
						
							
							
								aac3f2d04e 
								
							
								 
							
						 
						
							
							
								
								Add agent circuit number checks to TestCloseAgent()  
							
							
							
						 
						
							2011-12-03 16:04:11 +00:00  
				
					
						
							
							
								 
						
							
							
								aba42d8543 
								
							
								 
							
						 
						
							
							
								
								Correct SOP.GetNumberOfSides() to return 8 for meshes rather than 7  
							
							... 
							
							
							
							We are returning the actual number of 'sides', not the maximum index number.
Also minor format corrections. 
							
						 
						
							2011-12-03 15:54:06 +00:00  
				
					
						
							
							
								 
						
							
							
								e75bcd4c59 
								
							
								 
							
						 
						
							
							
								
								Workaround for mesh to correct the number of faces in GetNumberOfSides(). 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> 
							
						 
						
							2011-12-03 15:49:19 +00:00  
				
					
						
							
							
								 
						
							
							
								585fc5e79d 
								
							
								 
							
						 
						
							
							
								
								Update SP.PhysicsCollisionUpdate() doc.  
							
							... 
							
							
							
							It might be inefficient, but there are collisions every frame if the avatar is walking/standing on the ground or a prim surface 
							
						 
						
							2011-12-03 02:51:17 +00:00  
				
					
						
							
							
								 
						
							
							
								b66fe3e9ff 
								
							
								 
							
						 
						
							
							
								
								Add method doc to SP.PhysicsCollisionUpdate() to make it clear that it's called continuously even where there are no collisions  
							
							
							
						 
						
							2011-12-03 02:45:02 +00:00  
				
					
						
							
							
								 
						
							
							
								a009871827 
								
							
								 
							
						 
						
							
							
								
								Add basic TestFlyingAnimation() regression test  
							
							
							
						 
						
							2011-12-03 02:39:21 +00:00  
				
					
						
							
							
								 
						
							
							
								feef1dd732 
								
							
								 
							
						 
						
							
							
								
								Stop calling Animator.UpdateMovementAnimations() at the end of HandleAgentUpdate().  
							
							... 
							
							
							
							There's no point doing this if it's being called via PhysicsCollisionUpdate 
							
						 
						
							2011-12-03 02:05:11 +00:00