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  
				
					
						
							
							
								 
						
							
							
								130b1c0665 
								
							
								 
							
						 
						
							
							
								
								Revert my two quick fixes for the lag issue and put in the real fix, which  
							
							... 
							
							
							
							is to only write to the database if data was changed. I was writing to the db
on every step of every avatar. Sure to give us lag, that. 
							
						 
						
							2012-02-05 20:47:02 +00:00  
				
					
						
							
							
								 
						
							
							
								a5fcdde179 
								
							
								 
							
						 
						
							
							
								
								Revert "Remove checks on ban list expiry on every move. To be re-added on parcel"  
							
							... 
							
							
							
							This reverts commit 35f14a262d 
							
						 
						
							2012-02-05 20:12:45 +00:00  
				
					
						
							
							
								 
						
							
							
								0904772a6f 
								
							
								 
							
						 
						
							
							
								
								Revert "Check ban list for a particular parcel only when an avatar moves into it."  
							
							... 
							
							
							
							This reverts commit 8923ad755d 
							
						 
						
							2012-02-05 20:12:35 +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  
				
					
						
							
							
								 
						
							
							
								8923ad755d 
								
							
								 
							
						 
						
							
							
								
								Check ban list for a particular parcel only when an avatar moves into it.  
							
							... 
							
							
							
							This restores functionality remove in the last commit without reintroducing
the performance penalty. 
							
						 
						
							2012-02-05 04:03:32 +00:00  
				
					
						
							
							
								 
						
							
							
								35f14a262d 
								
							
								 
							
						 
						
							
							
								
								Remove checks on ban list expiry on every move. To be re-added on parcel  
							
							... 
							
							
							
							boundary crossing only as soon as I'm properly awake. This should fix
recent performance issues 
							
						 
						
							2012-02-05 03:44:15 +00: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  
				
					
						
							
							
								 
						
							
							
								43b4e4cfc3 
								
							
								 
							
						 
						
							
							
								
								Quiet the map module logging  
							
							
							
						 
						
							2012-02-04 19:08:52 -05:00  
				
					
						
							
							
								 
						
							
							
								edc11a1d39 
								
							
								 
							
						 
						
							
							
								
								Add missing RCERR_UNKNOWN and RCERR_SIM_PERF_LOW LSL constants that would eventually be used by llCastRay(), though OpenSim does not use these yet.  
							
							
							
						 
						
							2012-02-04 01:04:00 +00:00  
				
					
						
							
							
								 
						
							
							
								09d6521361 
								
							
								 
							
						 
						
							
							
								
								Correct RC_* LSL constants used by llCastRay().  
							
							... 
							
							
							
							Many thanks to WhiteStar for doing the research on this. 
							
						 
						
							2012-02-04 01:00:11 +00: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  
				
					
						
							
							
								 
						
							
							
								bd9d7484f0 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://snoopy@opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-04 00:39:58 +01:00  
				
					
						
							
							
								 
						
							
							
								4f8f44d9c3 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-02-03 15:21:37 -08:00  
				
					
						
							
							
								 
						
							
							
								ea19e50919 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							... 
							
							
							
							Conflicts:
	OpenSim/Region/Framework/Scenes/SceneObjectPart.cs 
							
						 
						
							2012-02-03 15:21:07 -08:00  
				
					
						
							
							
								 
						
							
							
								0742630d81 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/src/opensim  
							
							
							
						 
						
							2012-02-03 18:20:26 -05: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  
				
					
						
							
							
								 
						
							
							
								ce34b359ad 
								
							
								 
							
						 
						
							
							
								
								Extend m_avatars lock in NpcModule.CreateNPC over both creation of NPC scene presence and population of m_avatars.  
							
							... 
							
							
							
							This is required to stop a race where the SensorRepeat module can detect an NPC avatar before m_avatars is populated.
Extending the lock is the easiest to understand solution rather than getting complicated with null checks.
Hopefully resolves http://opensimulator.org/mantis/view.php?id=5872  
							
						 
						
							2012-02-03 23:04:26 +00:00  
				
					
						
							
							
								 
						
							
							
								5c545d1d2e 
								
							
								 
							
						 
						
							
							
								
								Fix: Covenant changed time not set  http://opensimulator.org/mantis/view.php?id=5869  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2012-02-03 18:02:51 -05:00  
				
					
						
							
							
								 
						
							
							
								83ef13a79a 
								
							
								 
							
						 
						
							
							
								
								Changed save oar and save iar parameter -p|--profile to -h|--home, including corresponding RemoteAdmin parameter  
							
							
							
						 
						
							2012-02-03 23:53:18 +01:00  
				
					
						
							
							
								 
						
							
							
								1a18948935 
								
							
								 
							
						 
						
							
							
								
								Corrected console help texts for "save iar"  
							
							
							
						 
						
							2012-02-03 23:04:18 +01: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  
				
					
						
							
							
								 
						
							
							
								76a658324c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2012-02-03 00:07:23 +00:00  
				
					
						
							
							
								 
						
							
							
								447a66d660 
								
							
								 
							
						 
						
							
							
								
								Replace ParcelAccessEntry with a new struct, LandAccessEntry, which more  
							
							... 
							
							
							
							accurately reflects the data sent by the viewer. Add times bans and the
expiration of timed bans.
Warning: Contains a Migration (and nuts) 
							
						 
						
							2012-02-02 23:40:56 +00:00  
				
					
						
							
							
								 
						
							
							
								54d473e200 
								
							
								 
							
						 
						
							
							
								
								D'oh - we want to call llGetLinkNumberOfSides() in the LSL_Stub, not llGetLinkNumber().  
							
							
							
						 
						
							2012-02-02 23:35:16 +00:00  
				
					
						
							
							
								 
						
							
							
								264c83aec4 
								
							
								 
							
						 
						
							
							
								
								Add llGetLinkNumberOfSides to LSL_Stub and ILSL_Api  
							
							... 
							
							
							
							It already existed in LSL_Api but it also needs to exist in these two other places for a script to be able to see it.
Hopefully resolves http://opensimulator.org/mantis/view.php?id=5489  
							
						 
						
							2012-02-02 22:48:36 +00: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  
				
					
						
							
							
								 
						
							
							
								c08d6df7e1 
								
							
								 
							
						 
						
							
							
								
								Prevent a changed attachment that has been saved from being saved again.  
							
							
							
						 
						
							2012-02-01 09:38:20 +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  
				
					
						
							
							
								 
						
							
							
								3d7b5e5e93 
								
							
								 
							
						 
						
							
							
								
								HG: This hopefully fixes the HG teleports back home to OSGrid. Looks like Uri.ToString() drops the port when it's port 80.  
							
							
							
						 
						
							2012-01-31 22:00:59 -08:00  
				
					
						
							
							
								 
						
							
							
								99e71222f0 
								
							
								 
							
						 
						
							
							
								
								Lay out script status in property per row format, since getting too long for console lines.  
							
							
							
						 
						
							2012-02-01 00:27:42 +00:00  
				
					
						
							
							
								 
						
							
							
								e3680f216e 
								
							
								 
							
						 
						
							
							
								
								Add count of events queued for a particular script in "scripts show" console command  
							
							
							
						 
						
							2012-02-01 00:17:02 +00:00  
				
					
						
							
							
								 
						
							
							
								8b3da1bff4 
								
							
								 
							
						 
						
							
							
								
								Make script console commands only show for selected region.  
							
							
							
						 
						
							2012-02-01 00:10:07 +00:00  
				
					
						
							
							
								 
						
							
							
								437de6743c 
								
							
								 
							
						 
						
							
							
								
								Implement "xengine status" console command to show various xengine stats  
							
							
							
						 
						
							2012-02-01 00:07:06 +00:00  
				
					
						
							
							
								 
						
							
							
								f028dca711 
								
							
								 
							
						 
						
							
							
								
								Add "show part uuid" and "show part name" console commands.  
							
							... 
							
							
							
							These commands will display part/prim details for a given uuid or name
The "show object uuid" and "show object name" commands will now only display details for objects (i.e. not child parts in a linkset).
This is for consistency with the "delete object" commands which only delete objects, not parts. 
							
						 
						
							2012-01-31 23:35:13 +00:00  
				
					
						
							
							
								 
						
							
							
								996cc6097e 
								
							
								 
							
						 
						
							
							
								
								Implement "show object name <name>" console command to show details of an object with the given name  
							
							
							
						 
						
							2012-01-31 23:21:02 +00:00  
				
					
						
							
							
								 
						
							
							
								ac7cded080 
								
							
								 
							
						 
						
							
							
								
								Get rid of the "no objects found" feedback for now - this doesn't work well if a command is executed over multiple scenes.  
							
							
							
						 
						
							2012-01-31 23:06:48 +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  
				
					
						
							
							
								 
						
							
							
								647b326edc 
								
							
								 
							
						 
						
							
							
								
								Add more user feedback if an object isn't found for which delete was requested.  
							
							
							
						 
						
							2012-01-31 22:27:05 +00:00  
				
					
						
							
							
								 
						
							
							
								77b032549e 
								
							
								 
							
						 
						
							
							
								
								Add the name of a deleted object to the console output  
							
							
							
						 
						
							2012-01-31 22:22:32 +00:00  
				
					
						
							
							
								 
						
							
							
								e3e38e34c5 
								
							
								 
							
						 
						
							
							
								
								If a particular region is selected in the console, only try to delete objects in that region, rather than in every region on the simulator  
							
							... 
							
							
							
							The old wrong behaviour was in place before the command was extracted to a module. 
							
						 
						
							2012-01-31 22:21:10 +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  
				
					
						
							
							
								 
						
							
							
								2f84d5397b 
								
							
								 
							
						 
						
							
							
								
								minor: remove mono compiler warning  
							
							
							
						 
						
							2012-01-31 21:14:09 +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  
				
					
						
							
							
								 
						
							
							
								a98a146c50 
								
							
								 
							
						 
						
							
							
								
								Fix:llSetText - limited text to a maximum of 254 chars  
							
							... 
							
							
							
							mantis: http://opensimulator.org/mantis/view.php?id=5867 
Signed-off-by: nebadon <michael@osgrid.org> 
							
						 
						
							2012-01-31 10:17:38 -07:00  
				
					
						
							
							
								 
						
							
							
								d2dfa4cfe7 
								
							
								 
							
						 
						
							
							
								
								Make parcel sale overlays work. No auction support.  
							
							
							
						 
						
							2012-01-31 03:09:44 +00:00  
				
					
						
							
							
								 
						
							
							
								fe0975dc24 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2012-01-30 21:39:36 +00:00  
				
					
						
							
							
								 
						
							
							
								2b84b6d8b1 
								
							
								 
							
						 
						
							
							
								
								Use the requested sim's map, not our own  
							
							
							
						 
						
							2012-01-30 21:39:12 +00:00  
				
					
						
							
							
								 
						
							
							
								dbc039783b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-30 21:34:40 +00:00  
				
					
						
							
							
								 
						
							
							
								53c3faac5d 
								
							
								 
							
						 
						
							
							
								
								Patch in the rest of the maptile stuff  
							
							
							
						 
						
							2012-01-30 21:24:21 +00:00  
				
					
						
							
							
								 
						
							
							
								bde2ff5e78 
								
							
								 
							
						 
						
							
							
								
								Next step for world map overlays  
							
							
							
						 
						
							2012-01-30 20:11:47 +00:00  
				
					
						
							
							
								 
						
							
							
								df9c35bc0f 
								
							
								 
							
						 
						
							
							
								
								Some plumbing for map overlays  
							
							
							
						 
						
							2012-01-30 19:46:55 +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  
				
					
						
							
							
								 
						
							
							
								54e6b2402c 
								
							
								 
							
						 
						
							
							
								
								Revert "Pickup map overlay tile from RegionSettings.ParcelImageID"  
							
							... 
							
							
							
							This reverts commit 00d1c88c59 
							
						 
						
							2012-01-30 12:39:08 -05:00  
				
					
						
							
							
								 
						
							
							
								00d1c88c59 
								
							
								 
							
						 
						
							
							
								
								Pickup map overlay tile from RegionSettings.ParcelImageID  
							
							
							
						 
						
							2012-01-30 11:49:22 -05:00  
				
					
						
							
							
								 
						
							
							
								5e60afe5ed 
								
							
								 
							
						 
						
							
							
								
								Fix llEdgeOfWorld functionality - see mantis  http://opensimulator.org/mantis/view.php?id=5865  
							
							... 
							
							
							
							Signed-off-by: nebadon <michael@osgrid.org> 
							
						 
						
							2012-01-29 14:41:47 -07:00  
				
					
						
							
							
								 
						
							
							
								e8b688b61f 
								
							
								 
							
						 
						
							
							
								
								Fix:Get embedded objects in notecard  http://opensimulator.org/mantis/view.php?id=2607  
							
							... 
							
							
							
							Signed-off-by: nebadon <michael@osgrid.org> 
							
						 
						
							2012-01-29 12:40:43 -07:00  
				
					
						
							
							
								 
						
							
							
								f7c237c0e1 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/var/repo/opensim into mapwork  
							
							
							
						 
						
							2012-01-28 11:35:28 -05:00  
				
					
						
							
							
								 
						
							
							
								ae057a7589 
								
							
								 
							
						 
						
							
							
								
								Adding our parcel's generated id to map packets  
							
							
							
						 
						
							2012-01-28 10:36:39 -05:00  
				
					
						
							
							
								 
						
							
							
								1a20b60d82 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-28 08:47:25 -05:00  
				
					
						
							
							
								 
						
							
							
								2e31f12cf4 
								
							
								 
							
						 
						
							
							
								
								Send CHANGED_TELEPORT during local TP again - partially revert  cf73afec35 
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2012-01-28 08:43:58 -05: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  
				
					
						
							
							
								 
						
							
							
								e391d6390c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-28 00:44:11 +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  
				
					
						
							
							
								 
						
							
							
								7352aea9ac 
								
							
								 
							
						 
						
							
							
								
								Remove IClientAPI from the money module. It was only used to pass in the  
							
							... 
							
							
							
							agent id anyway 
							
						 
						
							2012-01-28 00:18:12 +00:00  
				
					
						
							
							
								 
						
							
							
								7837c611fb 
								
							
								 
							
						 
						
							
							
								
								Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().  
							
							... 
							
							
							
							This allows NPCs to be sensed as agents by LSL sensors rather than as a specific NPC type (which is currently an OpenSimulator-only extension).
Wiki doc on this and other recent NPC functions will follow soon 
							
						 
						
							2012-01-28 00:00:12 +00:00  
				
					
						
							
							
								 
						
							
							
								31b87ff07b 
								
							
								 
							
						 
						
							
							
								
								Increment LPS script stat for OSSL functions that were not already doing this  
							
							
							
						 
						
							2012-01-27 23:24:49 +00:00  
				
					
						
							
							
								 
						
							
							
								7c1d075a5a 
								
							
								 
							
						 
						
							
							
								
								Implement osIsNpc(key npc):integer.  This return TRUE if the given key belongs to an NPC in the region.  FALSE if not or if the NPC module isn't present.  
							
							
							
						 
						
							2012-01-27 23:17:13 +00:00  
				
					
						
							
							
								 
						
							
							
								abf0dd4250 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-27 23:14:34 +00:00  
				
					
						
							
							
								 
						
							
							
								9939f94f08 
								
							
								 
							
						 
						
							
							
								
								Implement osNpcGetOwner(key npc):key.  This returns the owner for an 'owned' NPC, the npc's own key for an 'unowned' NPC and NULL_KEY is the input key was not an npc.  
							
							... 
							
							
							
							llGetOwnerKey() could also be extended but this does not allow one to distinguish between an unowned NPC and some other result (e.g. 'no such object' if NULL_KEY is the return.
Also, any future extensions to LSL functions by Linden Lab are unpredictable and OpenSim-specific extensions could clash. 
							
						 
						
							2012-01-27 23:05:48 +00:00  
				
					
						
							
							
								 
						
							
							
								6da82d9805 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-26 16:29:39 -05:00  
				
					
						
							
							
								 
						
							
							
								616373db16 
								
							
								 
							
						 
						
							
							
								
								llManageEstateAccess implementation  http://wiki.secondlife.com/wiki/LlManageEstateAccess  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2012-01-26 16:15:23 -05: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  
				
					
						
							
							
								 
						
							
							
								a6abecf5fa 
								
							
								 
							
						 
						
							
							
								
								Change references from sop to sog and add protection from null ref  
							
							... 
							
							
							
							I had code made additions to the map module that was based on the earlier work that I did before Melanie made improvements. Updating the new code to incorporate the same changes. 
							
						 
						
							2012-01-26 00:33:34 -05:00  
				
					
						
							
							
								 
						
							
							
								093469c33c 
								
							
								 
							
						 
						
							
							
								
								Add basic TestAddScript() regression test  
							
							
							
						 
						
							2012-01-26 01:16:03 +00:00  
				
					
						
							
							
								 
						
							
							
								13d9b64b1d 
								
							
								 
							
						 
						
							
							
								
								Re-enable error logging associated with assembly and script loading failure in ScriptInstance.  
							
							... 
							
							
							
							Swallowing exceptions just leads to more mysterious failures later on. 
							
						 
						
							2012-01-26 00:28:51 +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  
				
					
						
							
							
								 
						
							
							
								8e5502fdc2 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-25 23:24:44 +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  
				
					
						
							
							
								 
						
							
							
								d053625663 
								
							
								 
							
						 
						
							
							
								
								Update save oar and save iar help responses to reflect new -h|--home  
							
							... 
							
							
							
							switches which replace -p|--profile ie: "save oar
--home=http://hg.osgrid.org:80  region.oar" 
							
						 
						
							2012-01-25 15:59:07 -07:00  
				
					
						
							
							
								 
						
							
							
								e9de7e7107 
								
							
								 
							
						 
						
							
							
								
								Update BulletSim.dll with some interface changes and tuning (see opensim-libs). Change BSScene to use new interface.  
							
							
							
						 
						
							2012-01-25 14:40:38 -08:00  
				
					
						
							
							
								 
						
							
							
								2e7c1bcfd9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-25 21:26:34 +00:00  
				
					
						
							
							
								 
						
							
							
								8f53c768f5 
								
							
								 
							
						 
						
							
							
								
								llGetParcelMusicURL implementation  http://wiki.secondlife.com/wiki/LlGetParcelMusicURL  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2012-01-25 15:48:38 -05:00  
				
					
						
							
							
								 
						
							
							
								82c3d0cf89 
								
							
								 
							
						 
						
							
							
								
								minor: stop the WebStatsModule logging UPDATE or INSERT every time it updates bin/LocalUserStatistics.db  
							
							
							
						 
						
							2012-01-25 20:36:51 +00:00  
				
					
						
							
							
								 
						
							
							
								e20cf3789b 
								
							
								 
							
						 
						
							
							
								
								Serialize calls to ODE Collide() function across OdeScene instances to prevent ODE crashes on simulators running more than one region.  
							
							... 
							
							
							
							It turns out that calls to Collide() are not thread-safe even for objects in different ODE physics worlds due to ODE static caches.
For simulators running multiple regions, not serializing calls from different scene loops will sooner or later cause OpenSim to crash with a native stack trace referencing OBBCollider.
This affects the default OPCODE collider but not GIMPACT.  However, GIMPACT fails for other reasons under some current simulator loads.
ODE provides a thread local storage option, but as of ODE r1755 (and r1840) DLLs compiled with this crash OpenSim immediately. 
							
						 
						
							2012-01-25 19:31:50 +00:00  
				
					
						
							
							
								 
						
							
							
								7444f3bfad 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							... 
							
							
							
							Conflicts:
	OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs 
							
						 
						
							2012-01-25 15:02:54 +00:00  
				
					
						
							
							
								 
						
							
							
								f84b69cad1 
								
							
								 
							
						 
						
							
							
								
								Change the WorldMapModule to use SOG rather than SOP for the telehub ans  
							
							... 
							
							
							
							cover a potential nullref 
							
						 
						
							2012-01-25 15:00:06 +00:00  
				
					
						
							
							
								 
						
							
							
								959bcfa7f8 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/src/opensim  
							
							
							
						 
						
							2012-01-24 21:35:12 -05:00  
				
					
						
							
							
								 
						
							
							
								7c514fe155 
								
							
								 
							
						 
						
							
							
								
								Telehub map items displayed  
							
							
							
						 
						
							2012-01-24 21:33:11 -05:00  
				
					
						
							
							
								 
						
							
							
								3d1f43046d 
								
							
								 
							
						 
						
							
							
								
								Removed unused delegates in SceneGraph: ObjectDuplicateDelegate, ObjectCreateDelegate, ObjectDeleteDelegate  
							
							
							
						 
						
							2012-01-24 17:05:53 -08:00  
				
					
						
							
							
								 
						
							
							
								2d0412d366 
								
							
								 
							
						 
						
							
							
								
								Make errors reported by OpenSim when it halts because it can't find certain config sections or files a bit more user friendly.  
							
							
							
						 
						
							2012-01-24 22:35:55 +00:00  
				
					
						
							
							
								 
						
							
							
								3ae6345f1b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/src/opensim  
							
							
							
						 
						
							2012-01-24 17:14:08 -05:00  
				
					
						
							
							
								 
						
							
							
								dc329202ef 
								
							
								 
							
						 
						
							
							
								
								Put Telehubs on the map  
							
							
							
						 
						
							2012-01-24 17:11:35 -05:00  
				
					
						
							
							
								 
						
							
							
								5e445aaf7b 
								
							
								 
							
						 
						
							
							
								
								Fix "Abnormal client thread terminations" stat in period CONNECTION STATISTICS to count the number of times clients are disconnected due to ack timeouts.  
							
							... 
							
							
							
							This has been broken for a long period and would only ever show 0. 
							
						 
						
							2012-01-24 22:09:13 +00:00  
				
					
						
							
							
								 
						
							
							
								488fe0ae9c 
								
							
								 
							
						 
						
							
							
								
								Removed unused events in SceneGraph: OnObjectCreate, OnObjectRemove, OnObjectDuplicate  
							
							
							
						 
						
							2012-01-24 13:41:26 -08:00  
				
					
						
							
							
								 
						
							
							
								7e76397a26 
								
							
								 
							
						 
						
							
							
								
								minor: correct text and usage for "image queues show" reigon console command.  
							
							
							
						 
						
							2012-01-24 20:54:35 +00:00  
				
					
						
							
							
								 
						
							
							
								a704d444f2 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-24 20:36:16 +00:00  
				
					
						
							
							
								 
						
							
							
								8b035dc3c7 
								
							
								 
							
						 
						
							
							
								
								Restrict accessible of ODECharacter Shell and Body.  Add method doc and some error log lines.  
							
							
							
						 
						
							2012-01-24 18:46:24 +00:00  
				
					
						
							
							
								 
						
							
							
								855d3a3ba5 
								
							
								 
							
						 
						
							
							
								
								Teleport routing, part 1  
							
							
							
						 
						
							2012-01-24 04:06:37 +00:00  
				
					
						
							
							
								 
						
							
							
								a4977bbe19 
								
							
								 
							
						 
						
							
							
								
								Simplify and streamline telehub editing code. Verify rotations and fix  
							
							... 
							
							
							
							spwan point positioning on rotated telehubs. 
							
						 
						
							2012-01-24 02:36:35 +00:00  
				
					
						
							
							
								 
						
							
							
								0d2e02efb1 
								
							
								 
							
						 
						
							
							
								
								Reverse the spawn point distance vector  
							
							
							
						 
						
							2012-01-24 01:30:41 +00:00  
				
					
						
							
							
								 
						
							
							
								c0e1784e86 
								
							
								 
							
						 
						
							
							
								
								Correct a coordinate to make the viewer like it  
							
							
							
						 
						
							2012-01-24 01:18:13 +00:00  
				
					
						
							
							
								 
						
							
							
								87799c1f3d 
								
							
								 
							
						 
						
							
							
								
								Change Telehubs to store only the data that is really needed and not  
							
							... 
							
							
							
							additional redundant information. 
							
						 
						
							2012-01-24 00:32:10 +00:00  
				
					
						
							
							
								 
						
							
							
								6a85abbd14 
								
							
								 
							
						 
						
							
							
								
								Add update to Telehub position and rotation before adding SpawnPoints  
							
							
							
						 
						
							2012-01-23 14:53:25 -05:00  
				
					
						
							
							
								 
						
							
							
								9cfc43005d 
								
							
								 
							
						 
						
							
							
								
								Cleanup  
							
							
							
						 
						
							2012-01-23 10:28:18 -05:00  
				
					
						
							
							
								 
						
							
							
								39c9b656c8 
								
							
								 
							
						 
						
							
							
								
								Cleanup unused parts, add some error handling  
							
							
							
						 
						
							2012-01-23 09:42:15 -05:00  
				
					
						
							
							
								 
						
							
							
								68365c20c0 
								
							
								 
							
						 
						
							
							
								
								Move Telehub tables and data from EstateSettings to RegionSettings.  
							
							... 
							
							
							
							This is damage control es EstateSettings is not the place this can be put.
EstateSettings is nt unique to a region and therefore would introduce
a hard limit of one telehub per estate, completely shutting off the
option of having SL style telehubs, e.g. one per region. Whole
estate teleport routing can still be implemented id desiresd, this
way all options are open while the other way most options get closed
off. 
							
						 
						
							2012-01-22 11:36:04 +00:00  
				
					
						
							
							
								 
						
							
							
								32d58d6e3e 
								
							
								 
							
						 
						
							
							
								
								Telehub Support:  
							
							... 
							
							
							
							Telehub settings now persist to the database and are saved across sim restarts. So-far this only works on MySQL. this is a work in progress, teleport routing is not yet implemented. 
							
						 
						
							2012-01-21 23:26:27 -05:00  
				
					
						
							
							
								 
						
							
							
								590f707c42 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-20 23:54:29 -05:00  
				
					
						
							
							
								 
						
							
							
								b6f3de5028 
								
							
								 
							
						 
						
							
							
								
								Telehub Support:  
							
							... 
							
							
							
							Support for viewer side of telehub management. Can manupulate Telehubs and SpawnPoints from the viewer estate managemnt tools. This is a work in progress and does not yet persist or affect teleport routing. 
							
						 
						
							2012-01-20 23:50:37 -05:00  
				
					
						
							
							
								 
						
							
							
								ea72428c9d 
								
							
								 
							
						 
						
							
							
								
								Allow a viewer UDP image request retry to trigger another asset fetch if an existing fetch hasn't responded before a timeout.  
							
							... 
							
							
							
							This is to stop a high priority image/texture request from blocking the entire download queue if its asset fetch got dropped for some reason. 
							
						 
						
							2012-01-19 23:09:16 +00:00  
				
					
						
							
							
								 
						
							
							
								d38e2c0c91 
								
							
								 
							
						 
						
							
							
								
								Add image not in database test for LLImageManager  
							
							
							
						 
						
							2012-01-19 21:57:12 +00:00  
				
					
						
							
							
								 
						
							
							
								503faaea62 
								
							
								 
							
						 
						
							
							
								
								refactor: separate out common parts of LLImageManagerTests  
							
							
							
						 
						
							2012-01-19 21:23:40 +00:00  
				
					
						
							
							
								 
						
							
							
								381f74276b 
								
							
								 
							
						 
						
							
							
								
								Add LLImageManager regression test for discard case  
							
							
							
						 
						
							2012-01-19 21:14:09 +00:00  
				
					
						
							
							
								 
						
							
							
								c92a9a6640 
								
							
								 
							
						 
						
							
							
								
								Add "image queues clear <first-name> <last-name>" console command  
							
							... 
							
							
							
							This allows a way to manually clear pending image queue requests for debug purposes 
							
						 
						
							2012-01-19 19:49:06 +00:00  
				
					
						
							
							
								 
						
							
							
								d75899f2d1 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-19 19:47:18 +00:00  
				
					
						
							
							
								 
						
							
							
								8f871cca10 
								
							
								 
							
						 
						
							
							
								
								Add osGetGridHomeURI function  
							
							... 
							
							
							
							Add osGetHomeURI function to the family of osGetGrid* functions. Returns the SRV_HomeURI setting from the [LoginService] configuration. 
							
						 
						
							2012-01-19 14:21:12 -05:00  
				
					
						
							
							
								 
						
							
							
								9356963bd3 
								
							
								 
							
						 
						
							
							
								
								Add basic request and send image regression tests for LLImageManager  
							
							
							
						 
						
							2012-01-19 19:00:11 +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  
				
					
						
							
							
								 
						
							
							
								eea726d74e 
								
							
								 
							
						 
						
							
							
								
								RegionReady:  
							
							... 
							
							
							
							Back out some of the oar monitoring for the time being. Need to find  a better way to get feedback. Will re-visit this soon. 
							
						 
						
							2012-01-18 20:30:57 -05:00  
				
					
						
							
							
								 
						
							
							
								ba7d8cedec 
								
							
								 
							
						 
						
							
							
								
								Add function osGetGridCustom  
							
							... 
							
							
							
							Add function osGetGridCustom to take an argument for the GridInfo kpv to retrieve from the GridInfoService 
							
						 
						
							2012-01-17 22:38:36 -05:00  
				
					
						
							
							
								 
						
							
							
								9ed9720861 
								
							
								 
							
						 
						
							
							
								
								Update osGetGrid**** functions  
							
							... 
							
							
							
							The osGetGrid**** functions will now get the grid settings from the GridInfoService. Set the GridInfoURI in your ./bin/config-include/GridCommon.ini [GridInfo] section. 
							
						 
						
							2012-01-17 22:07:40 -05:00  
				
					
						
							
							
								 
						
							
							
								e13a17cc0c 
								
							
								 
							
						 
						
							
							
								
								Allow retrival of multiple user records in one operation, analog to presence  
							
							
							
						 
						
							2012-01-16 23:09:24 +00: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  
				
					
						
							
							
								 
						
							
							
								2e4fbe6b17 
								
							
								 
							
						 
						
							
							
								
								protect the region ready alerts for loading oarfiles if no post URI is set  
							
							
							
						 
						
							2012-01-14 23:43:21 -08:00  
				
					
						
							
							
								 
						
							
							
								43173f1b0d 
								
							
								 
							
						 
						
							
							
								
								commented out redundant land owner checks for osTeleportAgent there is  
							
							... 
							
							
							
							no need for these checks just use Allow_osTeleportAgent = PARCEL_OWNER
also increased function to severe threat level to make it harder to
accidently enable it for everyone. 
							
						 
						
							2012-01-14 18:36:46 -07:00  
				
					
						
							
							
								 
						
							
							
								ec299bfa87 
								
							
								 
							
						 
						
							
							
								
								Allow SmtpClients and other SSL users to work with our cert handler installed  
							
							
							
						 
						
							2012-01-14 06:03:27 +00:00  
				
					
						
							
							
								 
						
							
							
								82f0e19349 
								
							
								 
							
						 
						
							
							
								
								Extend scripts show command to accept a single item UUID parameter to display one script's status  
							
							... 
							
							
							
							Usage is now scripts show [<script-item-uuid>] 
							
						 
						
							2012-01-14 00:44:19 +00:00  
				
					
						
							
							
								 
						
							
							
								b5bb559cc0 
								
							
								 
							
						 
						
							
							
								
								Register the UrlModule for script engine events OnScriptRemoved and OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script.  
							
							... 
							
							
							
							Doing this in every script is unnecessary since the event trigger is parameterized by the item id.
All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException.
Registration moved to UrlModule so that the handler is registered for all script engine implementations.
This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references. 
							
						 
						
							2012-01-14 00:23:11 +00:00  
				
					
						
							
							
								 
						
							
							
								a30a02e7ae 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-13 14:51:11 -08: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  
				
					
						
							
							
								 
						
							
							
								cde80125ad 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/src/opensim  
							
							
							
						 
						
							2012-01-13 17:16:20 -05:00  
				
					
						
							
							
								 
						
							
							
								02d6b033d0 
								
							
								 
							
						 
						
							
							
								
								Fix improper code formatting introduced in  6214e6a217 
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2012-01-13 17:10:48 -05:00  
				
					
						
							
							
								 
						
							
							
								adea92f8b7 
								
							
								 
							
						 
						
							
							
								
								Fix llRotLookAt and llLookAt for non-physical objects. Per conversation  
							
							... 
							
							
							
							with Melanie and Nebadon, SL behavior seems to be that non physical
objects snap to the request rotation. 
							
						 
						
							2012-01-13 11:37:17 -08:00  
				
					
						
							
							
								 
						
							
							
								57ba9ef5ad 
								
							
								 
							
						 
						
							
							
								
								Update RegionReadyModule  
							
							... 
							
							
							
							Fix triggering of alerts when rezzing first script to an empty region, add login disable when loading oars. 
							
						 
						
							2012-01-13 11:35:44 -05:00  
				
					
						
							
							
								 
						
							
							
								c5594e839e 
								
							
								 
							
						 
						
							
							
								
								Undo some prior work  
							
							... 
							
							
							
							Move some added fuctions out of core into the addon module to keep things clean 
							
						 
						
							2012-01-12 21:19:31 -05:00  
				
					
						
							
							
								 
						
							
							
								acbff305f5 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/var/repo/opensim  
							
							
							
						 
						
							2012-01-12 21:06:27 -05:00  
				
					
						
							
							
								 
						
							
							
								d40ec1c346 
								
							
								 
							
						 
						
							
							
								
								Move some interfaces to a more apropriate place  
							
							
							
						 
						
							2012-01-12 20:49:50 -05:00  
				
					
						
							
							
								 
						
							
							
								3b59af2225 
								
							
								 
							
						 
						
							
							
								
								Change the default osNpcCreate() to create an 'owned' npc rather than an 'unowned' one.  
							
							... 
							
							
							
							An owned NPC is one that only the original creator can manipulate and delete.
An unowned NPC is one that anybody with access to the osNpc* methods and knowledge of the avatar id can manipulate.
This is to correct an oversight I made in the original reimplementation where I mistakenly assumed that avatar IDs could be treated as private.
I am not anticipating that many people were deliberately making use of unowned npcs due to their insecure nature.
If you do need an unowned NPC please call the new overloaded osCreateNpc() function with the option OS_NPC_NOT_OWNED. 
							
						 
						
							2012-01-13 00:03:39 +00:00  
				
					
						
							
							
								 
						
							
							
								6e7154d55c 
								
							
								 
							
						 
						
							
							
								
								Removing osNpcCreateOwned().  Please use osNpcCreate(string user, string name, vector position, string notecard, int options) instead with option OS_NPC_CREATOR_OWNED  
							
							... 
							
							
							
							Please note that correct option name is OS_NPC_CREATOR_OWNED not OS_NPC_CREATE_OWNED as mistakenly put in a previous commit. 
							
						 
						
							2012-01-13 00:00:18 +00:00  
				
					
						
							
							
								 
						
							
							
								47377f17c6 
								
							
								 
							
						 
						
							
							
								
								Add missing assert to confirm owner delete succeeded to the end of TestOsNpcRemoveOwned()  
							
							
							
						 
						
							2012-01-12 23:46:43 +00:00  
				
					
						
							
							
								 
						
							
							
								beab155434 
								
							
								 
							
						 
						
							
							
								
								Add api level test for removing an owned npc  
							
							
							
						 
						
							2012-01-12 22:35:11 +00:00  
				
					
						
							
							
								 
						
							
							
								caa207f59f 
								
							
								 
							
						 
						
							
							
								
								Add ossl level test for removing an unowned npc  
							
							
							
						 
						
							2012-01-12 21:03:54 +00:00  
				
					
						
							
							
								 
						
							
							
								1ac5aa6808 
								
							
								 
							
						 
						
							
							
								
								Add remove test for unowned avatars  
							
							
							
						 
						
							2012-01-12 20:47:19 +00:00  
				
					
						
							
							
								 
						
							
							
								c4972e7734 
								
							
								 
							
						 
						
							
							
								
								Add osNpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, int options) variant.  
							
							... 
							
							
							
							This will be documented soon.  Options can currently be
  OS_NPC_CREATE_OWNED - creates a 'creator owned' avatar that will only respond to osNpc* functions made by scripts owned by the npc creator
  OS_NPC_NOT_OWNED    - creates an avatar which will respond to any osNpc* functions that a caller has permission to make (through the usual OSSL permission mechanisms).
options is being added to provide better scope for future extensibility without having to add more functions
The original non-options osNpcCreate() function will continue to exist. 
							
						 
						
							2012-01-12 19:37:30 +00:00  
				
					
						
							
							
								 
						
							
							
								d27dd3714f 
								
							
								 
							
						 
						
							
							
								
								Allow all NPCs to show up on sensors as all osNpc* script methods now check for ownership permission before executing.  
							
							... 
							
							
							
							As per #opensim-dev irc discussion. 
							
						 
						
							2012-01-12 19:19:34 +00:00  
				
					
						
							
							
								 
						
							
							
								ba3491c76e 
								
							
								 
							
						 
						
							
							
								
								Add permissions checks for owned avatars to all other osNpc* functions.  
							
							... 
							
							
							
							This is being done outside the npc module since the check is meaningless for region module callers, who can fake any id that they like. 
							
						 
						
							2012-01-12 19:06:46 +00:00  
				
					
						
							
							
								 
						
							
							
								0a1d61950b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-12 19:03:26 +00:00  
				
					
						
							
							
								 
						
							
							
								cadd645076 
								
							
								 
							
						 
						
							
							
								
								Renamed one var and deleted commented code. No functional changes.  
							
							
							
						 
						
							2012-01-12 10:22:52 -08:00  
				
					
						
							
							
								 
						
							
							
								b47c0d7e51 
								
							
								 
							
						 
						
							
							
								
								refactor: Move existing npc owner checks to NPCModule.CheckPermissions() methods and expose on interface for external calls.  
							
							
							
						 
						
							2012-01-12 18:14:19 +00: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  
				
					
						
							
							
								 
						
							
							
								6214e6a217 
								
							
								 
							
						 
						
							
							
								
								Allow update of stored entries within User Management Module-this is needed for proper work of HG friends.  
							
							... 
							
							
							
							See http://opensimulator.org/mantis/view.php?id=5847  
							
						 
						
							2012-01-12 17:51:13 +00: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  
				
					
						
							
							
								 
						
							
							
								5f7e392c7c 
								
							
								 
							
						 
						
							
							
								
								Add a check to see if an asset exists before recreating it while  
							
							... 
							
							
							
							loading an archive. This does add an extra roundtrip to the asset
server if loading new assets but it protects against overwriting
(and potentially corrupting) existing assets. 
							
						 
						
							2012-01-10 16:26:01 -08:00  
				
					
						
							
							
								 
						
							
							
								53fb20880c 
								
							
								 
							
						 
						
							
							
								
								minor: Fix wrong column length in image queues report  
							
							
							
						 
						
							2012-01-10 22:02:35 +00:00  
				
					
						
							
							
								 
						
							
							
								5002f06d24 
								
							
								 
							
						 
						
							
							
								
								rename "show image queue" to "show image queues" in line with other udp info commands.  
							
							... 
							
							
							
							Eliminate redundant one line methods 
							
						 
						
							2012-01-10 21:36:35 +00:00  
				
					
						
							
							
								 
						
							
							
								ef074deb52 
								
							
								 
							
						 
						
							
							
								
								Add "show image queue <first-name> <last-name>" region console command  
							
							... 
							
							
							
							This is so that we can inspect the image download queue (texture download via udp) for debugging purposes. 
							
						 
						
							2012-01-10 21:30:12 +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  
				
					
						
							
							
								 
						
							
							
								18497cef73 
								
							
								 
							
						 
						
							
							
								
								Add avatar names to appearance log messages  
							
							
							
						 
						
							2012-01-10 18:54:20 +00:00  
				
					
						
							
							
								 
						
							
							
								a3bb1a81de 
								
							
								 
							
						 
						
							
							
								
								correct very minor typo in "debug scene" help  
							
							
							
						 
						
							2012-01-10 18:47:30 +00:00  
				
					
						
							
							
								 
						
							
							
								66783398d0 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-10 13:43:42 -05:00  
				
					
						
							
							
								 
						
							
							
								d67e9916b8 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-10 18:42:37 +00: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  
				
					
						
							
							
								 
						
							
							
								d67e8291c8 
								
							
								 
							
						 
						
							
							
								
								Add "app find <uuid-or-start-of-uuid>" command to find the appearance using a particular baked texture, if any.  
							
							... 
							
							
							
							This is for debugging to relate texture console entries back to particular users on the simulator end. 
							
						 
						
							2012-01-10 18:41:07 +00:00  
				
					
						
							
							
								 
						
							
							
								a22d0dcab9 
								
							
								 
							
						 
						
							
							
								
								HG Friends: fixed bug introduced by  571efeddb2 (r/17672)  
							
							
							
						 
						
							2012-01-10 09:58:53 -08: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  
				
					
						
							
							
								 
						
							
							
								fb16d49511 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/src/opensim  
							
							
							
						 
						
							2012-01-08 17:56:03 -05:00  
				
					
						
							
							
								 
						
							
							
								266167f5a3 
								
							
								 
							
						 
						
							
							
								
								Fix teleport routing  
							
							... 
							
							
							
							Route non-owner avatars according to land settings 
							
						 
						
							2012-01-08 17:41:47 -05:00  
				
					
						
							
							
								 
						
							
							
								32eb7ddc37 
								
							
								 
							
						 
						
							
							
								
								Fix threat level setting on osNpcPlayAnimation  
							
							
							
						 
						
							2012-01-07 18:09:53 +00:00  
				
					
						
							
							
								 
						
							
							
								6f19e231b6 
								
							
								 
							
						 
						
							
							
								
								Don't try to save a NPCs attachment states on NPC delete  
							
							
							
						 
						
							2012-01-07 18:09:45 +00:00  
				
					
						
							
							
								 
						
							
							
								58cb7cd084 
								
							
								 
							
						 
						
							
							
								
								fix a typo "osNpcCreated" to "osNpcCreate" in OSSL threat level check  
							
							
							
						 
						
							2012-01-06 23:07:48 -07: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  
				
					
						
							
							
								 
						
							
							
								679d155a39 
								
							
								 
							
						 
						
							
							
								
								Fix some syntax issues  
							
							
							
						 
						
							2012-01-06 23:08:18 +00:00  
				
					
						
							
							
								 
						
							
							
								9668992493 
								
							
								 
							
						 
						
							
							
								
								Add osNpcPlayAnimation and osNpcStopAnimation which respect ownership as well  
							
							
							
						 
						
							2012-01-06 22:59:50 +00:00  
				
					
						
							
							
								 
						
							
							
								7518b075b7 
								
							
								 
							
						 
						
							
							
								
								Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.  
							
							
							
						 
						
							2012-01-06 22:35:06 +00:00  
				
					
						
							
							
								 
						
							
							
								ff5a83d192 
								
							
								 
							
						 
						
							
							
								
								Fixed llAngleBetween() to allow denormal rotations  
							
							
							
						 
						
							2012-01-06 21:14:42 +00:00  
				
					
						
							
							
								 
						
							
							
								8c445dac67 
								
							
								 
							
						 
						
							
							
								
								Add script instruction count back to llRot2Euler.  Other minor formatting/doc changes.  
							
							
							
						 
						
							2012-01-06 21:12:22 +00:00  
				
					
						
							
							
								 
						
							
							
								eb9bf71726 
								
							
								 
							
						 
						
							
							
								
								Replaced llRot2Euler function.  
							
							... 
							
							
							
							The original function suffered from unexpected results due to rounding
errors. An error of only 1 or 2 ulps would cause the code to not detect
a singularity at Y rotation +/- PI/2 and take the non-singularity code
path. The replacement code does not suffer from wildly inaccurate
results at the +/- PI/2 singularity. The check in the code for the
singularity isn't strictly needed, but gives more consistent results
At the singularity, the X and Z rotations add. The if check simply
forces the X rotation to be zero so the entirety of the X+Z rotation is
carried by Z.
Additionally, the test code has been updated to include test cases that
caused the old code to fail. The test algorithm is also updated to
perform a more meaningful test. The original code checked if the values
against expected values. This could fail at +/- PI rotations since a
rotation around an axis by PI causes the identical effect as a rotation
by -PI. The new test code checks that the returned angles can be used
to recreate a quaternion that causes the same rotation. 
							
						 
						
							2012-01-06 21:08:54 +00:00  
				
					
						
							
							
								 
						
							
							
								7661a0b2a9 
								
							
								 
							
						 
						
							
							
								
								Implement the FetchInventory2 capability.  This accompanies the existing FetchInventoryDescendents2 capability.  
							
							... 
							
							
							
							Not yet enabled by default.  You can enable this by setting Cap_FetchInventory2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini
Enabling both FetchInventory2 and FetchInventoryDescendents2 improves the situation with properly fetching attachments and hud objects
Probably because viewers are never expecting the odd situation where FetchInventoryDescendents2 is present but not FetchInventory2
However, for some reason attachments and hud objects occasionally fail to appear, though their status is correct in inventory
For attachments, focussing on the avatar makes them appear.  Hud objects have to be reattached. 
							
						 
						
							2012-01-06 21:07:34 +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  
				
					
						
							
							
								 
						
							
							
								fbb2a7e90d 
								
							
								 
							
						 
						
							
							
								
								Add ThreatLevel.NoAccess to OSSL. This allows to enable OSSL without enabling  
							
							... 
							
							
							
							any methods, even those without threat, automatically. It is for use with
setups wanting to allow only specific methods to specific users. 
							
						 
						
							2012-01-06 17:37:22 +00:00  
				
					
						
							
							
								 
						
							
							
								b86e7715a8 
								
							
								 
							
						 
						
							
							
								
								Improve "j2k decode" command to tell us how many layers and components were decoded, instead of just success/failure  
							
							
							
						 
						
							2012-01-05 22:54:33 +00:00  
				
					
						
							
							
								 
						
							
							
								5ea9740f1b 
								
							
								 
							
						 
						
							
							
								
								Add a "j2k decode" region console command that allows a manual request for a JPEG2000 decode of an asset  
							
							... 
							
							
							
							For debugging purposes. 
							
						 
						
							2012-01-05 22:40:49 +00:00  
				
					
						
							
							
								 
						
							
							
								da0fc3c8f5 
								
							
								 
							
						 
						
							
							
								
								Make "show asset" command available simulator side.  Actually make the service command be "show asset" instead of "show digest" this time.  
							
							... 
							
							
							
							Last time I accidnetally just changed the usage message. 
							
						 
						
							2012-01-05 21:11:32 +00:00  
				
					
						
							
							
								 
						
							
							
								7319ba62dd 
								
							
								 
							
						 
						
							
							
								
								Move simulator asset info commands to an optional module from the connector.  Make them conform with service side commands.  
							
							... 
							
							
							
							This stops them appearing twice when Hypergrid is enabled. 
							
						 
						
							2012-01-05 20:51:49 +00:00  
				
					
						
							
							
								 
						
							
							
								50e459d265 
								
							
								 
							
						 
						
							
							
								
								recomment log messages I accidentally left uncommented  
							
							
							
						 
						
							2012-01-05 19:44:06 +00:00  
				
					
						
							
							
								 
						
							
							
								c201b54b85 
								
							
								 
							
						 
						
							
							
								
								Improve "app rebake" command to return a better message if no uploaded texture ids were available for the rebake request  
							
							
							
						 
						
							2012-01-05 19:40:54 +00:00  
				
					
						
							
							
								 
						
							
							
								da6c816204 
								
							
								 
							
						 
						
							
							
								
								Commenting out DataSnapShot message "Registering service discovery capability" for now.  
							
							... 
							
							
							
							Please uncomment if/when needed. 
							
						 
						
							2012-01-05 17:10:38 +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  
				
					
						
							
							
								 
						
							
							
								8fb70a2058 
								
							
								 
							
						 
						
							
							
								
								Add "appearance rebake" command to ask a specific viewer to rebake textures from the server end.  
							
							... 
							
							
							
							This is not as useful as it sounds, since you can only request rebakes for texture IDs already received.
In other words, if the viewer has never sent the server this information (which happens quite often) then it will have no effect.
Nonetheless, this is useful for diagnostic/debugging purposes. 
							
						 
						
							2012-01-04 22:45:07 +00:00  
				
					
						
							
							
								 
						
							
							
								0634c38505 
								
							
								 
							
						 
						
							
							
								
								Separate out rebake request code from cache validation code AvatarFactoryModule.  
							
							... 
							
							
							
							This allows some logic simplification and allows an external caller to manually request rebakes even if textures are uploaded (future command). 
							
						 
						
							2012-01-04 22:22:46 +00:00  
				
					
						
							
							
								 
						
							
							
								7e6c84c334 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-04 21:41:28 +00:00  
				
					
						
							
							
								 
						
							
							
								3a64522267 
								
							
								 
							
						 
						
							
							
								
								Minor formatting changes and commented out log lines for future debugging of image manager (udp texture fetch).  No significant functional changes.  
							
							
							
						 
						
							2012-01-04 21:40:15 +00:00  
				
					
						
							
							
								 
						
							
							
								3a2ac0e2ee 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-04 12:01:32 -08:00  
				
					
						
							
							
								 
						
							
							
								fc391d4b10 
								
							
								 
							
						 
						
							
							
								
								Added EventManager.OnRegionStarted which is triggered when Heartbeat is started.  
							
							
							
						 
						
							2012-01-04 12:01:18 -08:00  
				
					
						
							
							
								 
						
							
							
								aa625da6a6 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-04 19:53:48 +00:00  
				
					
						
							
							
								 
						
							
							
								82df5de5cf 
								
							
								 
							
						 
						
							
							
								
								Remove the pointless LLClientView.m_imageManager null check.  
							
							... 
							
							
							
							Despite the code comments we never actually null it. 
							
						 
						
							2012-01-04 16:15:05 +00: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  
				
					
						
							
							
								 
						
							
							
								e78a3913e0 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2012-01-03 12:22:13 -05:00  
				
					
						
							
							
								 
						
							
							
								2c8e72217e 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'new_modules'  
							
							
							
						 
						
							2012-01-03 12:20:49 -05:00  
				
					
						
							
							
								 
						
							
							
								6941058824 
								
							
								 
							
						 
						
							
							
								
								Profile Updates  
							
							... 
							
							
							
							Update basic profile to use the replaceable interface, making configuration less error-prone. Add support to query avatar's home user account and profile service for regions usng the updated OpenProfileModule with Hypergrid. 
							
						 
						
							2012-01-03 11:10:23 -05:00  
				
					
						
							
							
								 
						
							
							
								fac8c25851 
								
							
								 
							
						 
						
							
							
								
								Reduce accessibility of some J2KImage/LLImageManager properties and methods to reduce potential code complexity and make code reading easier.  
							
							
							
						 
						
							2012-01-02 21:31:42 +00:00  
				
					
						
							
							
								 
						
							
							
								014a86c26b 
								
							
								 
							
						 
						
							
							
								
								Adding commented out log messages and some minor formatting for future bug hunting.  No functional changes.  
							
							
							
						 
						
							2012-01-02 19:46:30 +00:00  
				
					
						
							
							
								 
						
							
							
								87374274b9 
								
							
								 
							
						 
						
							
							
								
								Fix for failed http request status  
							
							... 
							
							
							
							Thanks "sendapatch" for fixes to llHTTPRequest status reporting. 
							
						 
						
							2012-01-01 23:44:46 -05: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  
				
					
						
							
							
								 
						
							
							
								571efeddb2 
								
							
								 
							
						 
						
							
							
								
								Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.  
							
							
							
						 
						
							2011-12-29 16:12:06 -08:00  
				
					
						
							
							
								 
						
							
							
								98ab3dffa3 
								
							
								 
							
						 
						
							
							
								
								Deleted two obsolete files in Inventory modules.  
							
							
							
						 
						
							2011-12-29 15:33:04 -08:00  
				
					
						
							
							
								 
						
							
							
								ef4d989f37 
								
							
								 
							
						 
						
							
							
								
								Deleted unused methods from HGAssetBroker  
							
							
							
						 
						
							2011-12-29 15:21:56 -08:00  
				
					
						
							
							
								 
						
							
							
								b756077269 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-12-29 12:18:22 -08:00  
				
					
						
							
							
								 
						
							
							
								70e36ee2b4 
								
							
								 
							
						 
						
							
							
								
								HG: more adjustments for making HG Simian work. Added server_uri as new key on get_agent_home in UAS.  
							
							
							
						 
						
							2011-12-29 12:17:58 -08:00  
				
					
						
							
							
								 
						
							
							
								5b52440e61 
								
							
								 
							
						 
						
							
							
								
								Introduce a LightShare kill packet ans send it when needed. Currently only  
							
							... 
							
							
							
							understood by AVN v0.3 
							
						 
						
							2011-12-28 09:24:02 +00:00  
				
					
						
							
							
								 
						
							
							
								b6cfe15c7c 
								
							
								 
							
						 
						
							
							
								
								HG: more / love for Xmas  
							
							
							
						 
						
							2011-12-24 07:44:26 -08:00  
				
					
						
							
							
								 
						
							
							
								f9a1fd5748 
								
							
								 
							
						 
						
							
							
								
								HG: one more adjustment with trailing /s  
							
							
							
						 
						
							2011-12-23 15:08:13 -08:00  
				
					
						
							
							
								 
						
							
							
								c6ce464dbc 
								
							
								 
							
						 
						
							
							
								
								remove the old region crossing handler  
							
							
							
						 
						
							2011-12-23 10:13:32 -08:00  
				
					
						
							
							
								 
						
							
							
								456c89a7a3 
								
							
								 
							
						 
						
							
							
								
								Fixes some problems with objects that attempt to cross a region boundary  
							
							... 
							
							
							
							into a region that does not exist. This is particularly problematic for
physical objects where the velocity continues to move them out of the
region causing an infinite number of failed region crossings. The patch
forces an object that fails a crossing to be non-physical and moves it
back into the starting region. 
							
						 
						
							2011-12-22 16:59:51 -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  
				
					
						
							
							
								 
						
							
							
								790ca65c84 
								
							
								 
							
						 
						
							
							
								
								Align default ODE_STEPSIZE with that already used through OpenSimDefaults.ini  
							
							
							
						 
						
							2011-12-22 20:22:15 +00: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  
				
					
						
							
							
								 
						
							
							
								469955889e 
								
							
								 
							
						 
						
							
							
								
								Region crossings redone: (1) removed WaitForCallback. Now that we are passing the entire agent with attachs in one big message we don't necessarily need to wait for confirmation. The callback sometimes is problematic and it adds delay to the process. (2) Z velocity sent to the viewer = 0. This is an heuristic; the Z velocity usually is negative, and it makes the viewer move the avie down. This only matters while the agent is in transit and therefore not being physically simulated by neither region. As soon as the receiving region receives CompleteMovement from the viewer, the position and velocity get corrected.  
							
							
							
						 
						
							2011-12-22 09:30:06 -08: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  
				
					
						
							
							
								 
						
							
							
								41b02a7208 
								
							
								 
							
						 
						
							
							
								
								Remove unused SetAcceleration and add set on Acceleration parameter  
							
							
							
						 
						
							2011-12-20 14:45:32 -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  
				
					
						
							
							
								 
						
							
							
								25cbba9bca 
								
							
								 
							
						 
						
							
							
								
								Fixed bug of avie going under the terrain when crossing regions in certain directions. This was a 1-off bug: the terrain was being placed in 127, 127 resulting in a bounding box if -2, 256. I placed it in 128, 128 resulting in a bounding box of -1, 257.  
							
							
							
						 
						
							2011-12-20 09:43:39 -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  
				
					
						
							
							
								 
						
							
							
								2899de1a5c 
								
							
								 
							
						 
						
							
							
								
								Stop unnecessarily sending the TextureEntry in client avatar updates.  
							
							... 
							
							
							
							As far as I know, viewers don't use this mechanism to recieve new TextureEntry data for avatars.  This is done via the AvatarAppearance packet instead.
Tested this back to viewer 1.23.
Replacing with Utils.EmptyBytes since converting the texture entry to bytes on each AvatarUpdate (or which there are many) is not cost-free. 
							
						 
						
							2011-12-19 19:19:05 +00:00  
				
					
						
							
							
								 
						
							
							
								e8fbeeba5f 
								
							
								 
							
						 
						
							
							
								
								Fix race condition where the appearance update timer could be stopped just after another thread had started it on QueueAppearanceSave() or *Send()  
							
							... 
							
							
							
							However, the window for this race is very small, and the next queued appearance save or send would restart the timer anyway. 
							
						 
						
							2011-12-19 19:08:24 +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  
				
					
						
							
							
								 
						
							
							
								4d065f0453 
								
							
								 
							
						 
						
							
							
								
								Provide user feedback on execution of "backup" region console command  
							
							
							
						 
						
							2011-12-17 02:42:43 +00:00  
				
					
						
							
							
								 
						
							
							
								684482352c 
								
							
								 
							
						 
						
							
							
								
								Fix bug where objects couldn't be set back to the "none" group.  
							
							... 
							
							
							
							This is handled by treating UUID.Zero as a special case.
Currently, asking for the "none" group returns nothing because XMLRPC groups, at least, is not properly handling this case.
It may be better in the future to have GroupsModule return an appropriate GroupsData structure instead or require the underlying services to behave appropriately.
This is a further component of http://opensimulator.org/mantis/view.php?id=5588  
							
						 
						
							2011-12-17 02:35:08 +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  
				
					
						
							
							
								 
						
							
							
								7f019cc196 
								
							
								 
							
						 
						
							
							
								
								If a startup simulator script is present, run it after the normal region selection code rather than before.  
							
							... 
							
							
							
							This allows the script to change the selected region without having it immediately undone.
Thanks to Garmin Kawaguichi for this patch. 
							
						 
						
							2011-12-17 00:27:19 +00: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  
				
					
						
							
							
								 
						
							
							
								5d79f857b0 
								
							
								 
							
						 
						
							
							
								
								Comment out accidentally left in "Adding physics prim" log message  
							
							
							
						 
						
							2011-12-16 20:54:28 +00:00  
				
					
						
							
							
								 
						
							
							
								a9b39d6e5d 
								
							
								 
							
						 
						
							
							
								
								Tunnel [GroupsModule] DebugEnabled setting down into XmlRpcGroupsServicesConnectorModule so that we can record cache misses  
							
							
							
						 
						
							2011-12-16 20:53:50 +00:00  
				
					
						
							
							
								 
						
							
							
								8300bb651e 
								
							
								 
							
						 
						
							
							
								
								Sends the consistent child agent position upon creation of the child agent in other regions, as opposed to <128, 128, 70>  
							
							
							
						 
						
							2011-12-16 09:33:22 -08: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  
				
					
						
							
							
								 
						
							
							
								7e4a2d69d5 
								
							
								 
							
						 
						
							
							
								
								HG minor bug fix and marked one method obsolete in UAS.  
							
							
							
						 
						
							2011-12-16 08:48:29 -08:00  
				
					
						
							
							
								 
						
							
							
								8013c0d2f5 
								
							
								 
							
						 
						
							
							
								
								Stop pointlessly setting the m_colliderarr[] to false in the ODECharacter constructor  
							
							
							
						 
						
							2011-12-15 22:33:14 +00: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  
				
					
						
							
							
								 
						
							
							
								99570d8ebb 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-12-15 21:59:01 +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  
				
					
						
							
							
								 
						
							
							
								58ba81ae4e 
								
							
								 
							
						 
						
							
							
								
								minor fix to MegaRegions, typo spotted by Ubit!  
							
							
							
						 
						
							2011-12-15 10:49:15 -07:00  
				
					
						
							
							
								 
						
							
							
								6f2d80cc93 
								
							
								 
							
						 
						
							
							
								
								minor: add some currently commented log lines for use in debugging  
							
							
							
						 
						
							2011-12-14 21:27:47 +00:00  
				
					
						
							
							
								 
						
							
							
								e830a77860 
								
							
								 
							
						 
						
							
							
								
								Simplify some manipulation of _taintedActors in OdeScene  
							
							
							
						 
						
							2011-12-14 18:33:44 +00:00  
				
					
						
							
							
								 
						
							
							
								a110a7bd6a 
								
							
								 
							
						 
						
							
							
								
								Eliminate _taintedPrimsH and _taintedPrimsL (and _taintedPrimLock) in favour of just a _taintedPrims HashSet.  
							
							... 
							
							
							
							There's no point maintaining a list because any pending taint operations are all carried out in the same call anyway. 
							
						 
						
							2011-12-14 18:03:25 +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  
				
					
						
							
							
								 
						
							
							
								b242ceda1e 
								
							
								 
							
						 
						
							
							
								
								In AvatarFactoryModule.SetApperance(), perform ValidateBakedTextureCache() in the same thread rather than on another one.  
							
							... 
							
							
							
							The caller is already an async thread from LLClientView so this doesn't hold up the client.
However, launching on a separate thread does remove the effect of m_setAppearanceLock
This was potentially allowing two different SetAppearance threads to interfere with each other, though this probably rarely happens, if at all. 
							
						 
						
							2011-12-13 20:42:39 +00:00  
				
					
						
							
							
								 
						
							
							
								4dfd2c7d47 
								
							
								 
							
						 
						
							
							
								
								minor: remove pointless comment from OdeScene.cs  
							
							
							
						 
						
							2011-12-12 19:31:50 +00:00  
				
					
						
							
							
								 
						
							
							
								c34ab0ee66 
								
							
								 
							
						 
						
							
							
								
								Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and IsColliding  
							
							
							
						 
						
							2011-12-12 02:43:38 -08:00  
				
					
						
							
							
								 
						
							
							
								8ae824ff09 
								
							
								 
							
						 
						
							
							
								
								Mantis 5816: osParseJSON Decoding Problems  
							
							... 
							
							
							
							osParseJSON uses hand-crafted decoding that has two issues
* does not seem to handle top-level JSON lists
* does not seem to handle unicode text
thanks otakup0pe! 
							
						 
						
							2011-12-11 23:25:12 -07:00  
				
					
						
							
							
								 
						
							
							
								3a91085ac2 
								
							
								 
							
						 
						
							
							
								
								Implement handler for TeleportCancel inbound packet  
							
							
							
						 
						
							2011-12-10 15:17:34 +00:00  
				
					
						
							
							
								 
						
							
							
								e88ad5aab9 
								
							
								 
							
						 
						
							
							
								
								minor: remove a mono compiler warning  
							
							
							
						 
						
							2011-12-09 23:55:54 +00:00  
				
					
						
							
							
								 
						
							
							
								5f276c3212 
								
							
								 
							
						 
						
							
							
								
								Print out one log message for every missing baked texture, rather than two.  
							
							
							
						 
						
							2011-12-09 23:54:39 +00: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  
				
					
						
							
							
								 
						
							
							
								cb0da425d5 
								
							
								 
							
						 
						
							
							
								
								Fix "fix-phantoms" help message.  Thanks Garmin Kawaguichi.  
							
							
							
						 
						
							2011-12-09 22:41:39 +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  
				
					
						
							
							
								 
						
							
							
								4e9f50b878 
								
							
								 
							
						 
						
							
							
								
								Add commented log lines to FetchInventoryDescendents2 path for future use.  
							
							... 
							
							
							
							Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost 
							
						 
						
							2011-12-09 22:32:28 +00:00  
				
					
						
							
							
								 
						
							
							
								50eebb5cba 
								
							
								 
							
						 
						
							
							
								
								Don't reply with an ack packet if the client is not authorized.  
							
							
							
						 
						
							2011-12-08 22:00:59 +00:00  
				
					
						
							
							
								 
						
							
							
								32d0ef89c6 
								
							
								 
							
						 
						
							
							
								
								Extend TestAddClient() to check that the first packet received is an ack packet  
							
							
							
						 
						
							2011-12-08 21:45:02 +00:00  
				
					
						
							
							
								 
						
							
							
								14e407aff3 
								
							
								 
							
						 
						
							
							
								
								Add OpenSim.Region.ClientStack.LindenUDP.Tests.dll back into the test suite  
							
							
							
						 
						
							2011-12-08 20:55:38 +00:00  
				
					
						
							
							
								 
						
							
							
								bc13855e64 
								
							
								 
							
						 
						
							
							
								
								Reactivate BasicCircuitTests.TestAddClient()  
							
							... 
							
							
							
							This checks that the initial UseCircuitCode packet is handled correctly for a normal client login. 
							
						 
						
							2011-12-08 20:52:34 +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  
				
					
						
							
							
								 
						
							
							
								2b02d3dc84 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-12-07 17:33:06 +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  
				
					
						
							
							
								 
						
							
							
								33c6067098 
								
							
								 
							
						 
						
							
							
								
								Trigger a Jenkins build  
							
							
							
						 
						
							2011-12-07 11:21:50 -05:00  
				
					
						
							
							
								 
						
							
							
								e6272b8d56 
								
							
								 
							
						 
						
							
							
								
								Stop also adding an ordinary http handler when we set up a poll http handler.  
							
							... 
							
							
							
							It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path. 
							
						 
						
							2011-12-07 12:28:42 +00:00  
				
					
						
							
							
								 
						
							
							
								8e542cfa03 
								
							
								 
							
						 
						
							
							
								
								Stop accidentally setting up the UploadTexture caps handler with the same url for all users  
							
							... 
							
							
							
							This meant that if a user exited the region, the UploadTexture handler would be effectively removed for everyone, causing subsequent failures.
This hopefully resolves the recent UploadTexture LLSD problems
This was a regression in 5640f2e (Thu Dec 1 23:24:15 2011 +0000) 
							
						 
						
							2011-12-06 21:42:56 +00:00  
				
					
						
							
							
								 
						
							
							
								136a6a6e0f 
								
							
								 
							
						 
						
							
							
								
								Make "show appearance" a synonym for "appearance show"  
							
							
							
						 
						
							2011-12-06 18:36:11 +00:00  
				
					
						
							
							
								 
						
							
							
								b9a461c5ad 
								
							
								 
							
						 
						
							
							
								
								In "appearance show", if a particular avatar is specified, print out texture UUID for each bake type and whether the simulator can find it.  
							
							
							
						 
						
							2011-12-06 18:32:27 +00:00  
				
					
						
							
							
								 
						
							
							
								ec4f217af8 
								
							
								 
							
						 
						
							
							
								
								Actually send the avatar data if an individual avatar is specified, rather than accidentally doing nothing  
							
							
							
						 
						
							2011-12-06 18:06:29 +00:00  
				
					
						
							
							
								 
						
							
							
								1b9eb52850 
								
							
								 
							
						 
						
							
							
								
								Allow "appearance show" command to take an optional avatar name  
							
							
							
						 
						
							2011-12-06 18:03:16 +00:00  
				
					
						
							
							
								 
						
							
							
								4be85eeaa5 
								
							
								 
							
						 
						
							
							
								
								Make it possible to manually send appearance information via the "appearance send" command for a chosen avatar as well as all  
							
							
							
						 
						
							2011-12-06 16:42:44 +00:00  
				
					
						
							
							
								 
						
							
							
								d33d12ba83 
								
							
								 
							
						 
						
							
							
								
								Provide feedback as to which avatars are resending appearance informion on "appearance send" console command  
							
							
							
						 
						
							2011-12-06 16:07:24 +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  
				
					
						
							
							
								 
						
							
							
								f08aad8a40 
								
							
								 
							
						 
						
							
							
								
								For now, disable mechanism to limit avatar animation updates since this causes avatars to never reach the correct animation after some actions.  
							
							... 
							
							
							
							This reverts to situation where animation updates are made each frame on SP.PhysicsCollisionUpdate (though a packet is only sent if the anim actually changes).
m_updateCount was not being update on various avatar state changes, causing the correct animations to never be sent.
Always setting in HandleAgentUpdate() is not enough since the avatar is continually sending AgentUpdate packets.
One would need to identify all the conditions under which animations need to play out and set m_updateCount appropriately in SP.HandleAgentUpdate() 
							
						 
						
							2011-12-03 01:47:12 +00:00  
				
					
						
							
							
								 
						
							
							
								0ca8491bbe 
								
							
								 
							
						 
						
							
							
								
								refactor: Use just ScenePresenceAnimator.CurrentMovementAnimation rather than duplicating it with m_movementAnimation  
							
							
							
						 
						
							2011-12-03 00:40:08 +00:00  
				
					
						
							
							
								 
						
							
							
								5bbfb082dd 
								
							
								 
							
						 
						
							
							
								
								Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than asking for a new determination  
							
							
							
						 
						
							2011-12-03 00:33:24 +00:00  
				
					
						
							
							
								 
						
							
							
								8185ce8b4a 
								
							
								 
							
						 
						
							
							
								
								Do a cagent.Anims != null check in SP.CopyFrom()  
							
							
							
						 
						
							2011-12-03 00:30:13 +00:00  
				
					
						
							
							
								 
						
							
							
								5ba8ca5662 
								
							
								 
							
						 
						
							
							
								
								Rename ScenePresenceAnimator.GetMovementAnimation() -> DetermineMovementAnimation() for better code readability  
							
							
							
						 
						
							2011-12-03 00:27:21 +00:00  
				
					
						
							
							
								 
						
							
							
								96c191f4fd 
								
							
								 
							
						 
						
							
							
								
								Stop SP.HandleAgentUpdate() and PhysicsCollisionUpdate() from being processed if we're dealing with a child ScenePresence.  
							
							... 
							
							
							
							Neither of these can have any effect on child agents
Now leaving warning about trying to set animation on a child agent active.  Might temporarily pop up now and again. 
							
						 
						
							2011-12-03 00:09:18 +00:00  
				
					
						
							
							
								 
						
							
							
								054ebe8878 
								
							
								 
							
						 
						
							
							
								
								Stop some places where we're trying to reset animations in child agents where such requests are ignored.  
							
							
							
						 
						
							2011-12-02 23:56:01 +00:00  
				
					
						
							
							
								 
						
							
							
								2a6597f61e 
								
							
								 
							
						 
						
							
							
								
								Remove pointless Animator.TrySetMovementAnimation("STAND") in ScenePresnece constructor.  
							
							... 
							
							
							
							Comment was right - it is indeed useless since SP always starts off as child and TrySetMovementAnimation screens out child SP 
							
						 
						
							2011-12-02 22:14:47 +00:00  
				
					
						
							
							
								 
						
							
							
								5460f2e035 
								
							
								 
							
						 
						
							
							
								
								refactor: Separate the upload baked texture handler out from BunchOfCaps  
							
							
							
						 
						
							2011-12-01 23:24:15 +00:00  
				
					
						
							
							
								 
						
							
							
								2a9c9ae340 
								
							
								 
							
						 
						
							
							
								
								Provide more user feedback when "debug http" is set  
							
							
							
						 
						
							2011-11-29 21:53:15 +00:00  
				
					
						
							
							
								 
						
							
							
								fa63054c4f 
								
							
								 
							
						 
						
							
							
								
								On "show caps", stop excluding the seed cap but do exclude it elsewhere  
							
							
							
						 
						
							2011-11-29 20:37:03 +00:00  
				
					
						
							
							
								 
						
							
							
								658d02b5e9 
								
							
								 
							
						 
						
							
							
								
								Improve some of the debug help messages  
							
							
							
						 
						
							2011-11-29 16:56:31 +00:00  
				
					
						
							
							
								 
						
							
							
								a17f93ff44 
								
							
								 
							
						 
						
							
							
								
								minor: remove mono compile warning, a Vector3 can never be null since it's a struct  
							
							
							
						 
						
							2011-11-29 16:31:10 +00:00  
				
					
						
							
							
								 
						
							
							
								d3a46b03bf 
								
							
								 
							
						 
						
							
							
								
								tabulate "show caps" output for easier readability  
							
							
							
						 
						
							2011-11-29 16:29:11 +00:00  
				
					
						
							
							
								 
						
							
							
								ff0d020007 
								
							
								 
							
						 
						
							
							
								
								Correct mistake in "debug eq" help  
							
							
							
						 
						
							2011-11-29 16:18:14 +00:00  
				
					
						
							
							
								 
						
							
							
								b6b0bc7b32 
								
							
								 
							
						 
						
							
							
								
								Add "debug http" command for currently simple extra debug logging of non-event queue inbound http requests to a simulator  
							
							
							
						 
						
							2011-11-29 16:15:52 +00:00  
				
					
						
							
							
								 
						
							
							
								19c10c892a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-11-26 17:20:20 -05:00  
				
					
						
							
							
								 
						
							
							
								ea0fc7b12c 
								
							
								 
							
						 
						
							
							
								
								Add missing property to llGetLinkPrimitiveParams  
							
							
							
						 
						
							2011-11-26 17:06:28 -05:00  
				
					
						
							
							
								 
						
							
							
								4efd9a3b7b 
								
							
								 
							
						 
						
							
							
								
								When removing an LSL sensor for a script (e.g. through llResetScript() or state change), don't also remove sensors for other scripts in the same prim.  
							
							... 
							
							
							
							Hopefully fixes http://opensimulator.org/mantis/view.php?id=4448  and http://opensimulator.org/mantis/view.php?id=4452  
							
						 
						
							2011-11-26 01:55:36 +00:00  
				
					
						
							
							
								 
						
							
							
								86cc00aaa8 
								
							
								 
							
						 
						
							
							
								
								minor: formatting changes in Scene.PacketHandlers.cs  
							
							
							
						 
						
							2011-11-26 01:52:12 +00:00  
				
					
						
							
							
								 
						
							
							
								46e1bcb6b6 
								
							
								 
							
						 
						
							
							
								
								minor: remove mono compiler warning  
							
							
							
						 
						
							2011-11-26 01:40:46 +00:00  
				
					
						
							
							
								 
						
							
							
								bafea2282a 
								
							
								 
							
						 
						
							
							
								
								Rip out unused Scene.HandleFetchInventoryDescendentsCAPS().  
							
							... 
							
							
							
							This has been handled by WebFetchInvDescHandler.Fetch() for some time. 
							
						 
						
							2011-11-26 01:39:23 +00:00  
				
					
						
							
							
								 
						
							
							
								11c19b0d2e 
								
							
								 
							
						 
						
							
							
								
								Use the same web fetch handler for every request from every avatar, since it contains no instance code  
							
							
							
						 
						
							2011-11-26 00:29:01 +00:00  
				
					
						
							
							
								 
						
							
							
								95a686dbf5 
								
							
								 
							
						 
						
							
							
								
								Fix config so that you can have both WebFetchInventoryDescendents and FetchInvnetoryDescendents2 caps active at once  
							
							
							
						 
						
							2011-11-25 23:45:29 +00:00  
				
					
						
							
							
								 
						
							
							
								5b4fe23f7f 
								
							
								 
							
						 
						
							
							
								
								Resolve error where an unknown asset type would cause the fetch inventory descendents cap to fail.  
							
							... 
							
							
							
							Introduced just a few commits ago in 0688861 
							
						 
						
							2011-11-25 23:43:57 +00:00  
				
					
						
							
							
								 
						
							
							
								676d32974a 
								
							
								 
							
						 
						
							
							
								
								Implement the FetchInventoryDescendents2 capability using the same code as WebFetchInventoryDescendents.  
							
							... 
							
							
							
							Enabling this by setting Cap_FetchInventoryDescendents2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini downloads inventory via http rather than udp in later viewers. 
							
						 
						
							2011-11-25 22:46:42 +00:00  
				
					
						
							
							
								 
						
							
							
								b785f204ce 
								
							
								 
							
						 
						
							
							
								
								remove some mono compiler warnings  
							
							
							
						 
						
							2011-11-25 22:19:57 +00:00  
				
					
						
							
							
								 
						
							
							
								0688861aa7 
								
							
								 
							
						 
						
							
							
								
								Use the more extensive Utils.AssetTypeToString()/InventoryTypeToString() conversion rather than the arrays in TaskInventoryItem  
							
							
							
						 
						
							2011-11-25 22:15:29 +00:00  
				
					
						
							
							
								 
						
							
							
								8c82ff16ad 
								
							
								 
							
						 
						
							
							
								
								Fix WebFetchInventoryDescendents cap to use Utils.AssetTypeTostring/InventoryTypeToString to convert types to strings  
							
							... 
							
							
							
							These cover a wider range of types. 
							
						 
						
							2011-11-25 21:54:31 +00:00  
				
					
						
							
							
								 
						
							
							
								8e32ce85a7 
								
							
								 
							
						 
						
							
							
								
								Remove bizarre call to PhysicsScene.Simulate(0) in Scene.GetNearestAllowedPosition()  
							
							... 
							
							
							
							At least on ODE, this wasn't doing any harm but there wasn't any point to it either 
							
						 
						
							2011-11-24 22:45:29 +00:00  
				
					
						
							
							
								 
						
							
							
								a58f5b2f66 
								
							
								 
							
						 
						
							
							
								
								When setting packet level logging via "debug packet", apply to all clients, not just root ones.  
							
							... 
							
							
							
							Also adds scene name and client type (root|child) to logged information. 
							
						 
						
							2011-11-24 22:08:34 +00:00  
				
					
						
							
							
								 
						
							
							
								0a60e9537f 
								
							
								 
							
						 
						
							
							
								
								comment out a noisy log line I accidentally left in from the last commit  
							
							
							
						 
						
							2011-11-24 21:30:40 +00:00  
				
					
						
							
							
								 
						
							
							
								63c137820b 
								
							
								 
							
						 
						
							
							
								
								Stop passing a request handler to the initial caps.RegisterHandler in EventQueueGetModule since this is immediatley replaced by a poll server handler.  
							
							... 
							
							
							
							This allows us to comment out a bunch of code and simplify the codebase and readability. 
							
						 
						
							2011-11-24 21:27:35 +00:00  
				
					
						
							
							
								 
						
							
							
								0174e326e3 
								
							
								 
							
						 
						
							
							
								
								Add a "debug eq" console command for debugging.  
							
							... 
							
							
							
							This will log outgoing event queue message names if turned on. 
							
						 
						
							2011-11-24 20:27:11 +00:00  
				
					
						
							
							
								 
						
							
							
								decabe1181 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-11-24 20:22:17 +00:00  
				
					
						
							
							
								 
						
							
							
								bdcfd6afee 
								
							
								 
							
						 
						
							
							
								
								Add disabled CrossBehaviour to pCampBot, which is designed to cross test bots between neighbouring regions.  
							
							... 
							
							
							
							Not yet enabled since there is a bug where the initial cross will work but all subsequent movements on the receiving simulator appear to fail. 
							
						 
						
							2011-11-24 17:35:33 +00:00  
				
					
						
							
							
								 
						
							
							
								5485e3da46 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-11-23 16:11:17 -08:00  
				
					
						
							
							
								 
						
							
							
								0cb33a5398 
								
							
								 
							
						 
						
							
							
								
								Line endings  
							
							
							
						 
						
							2011-11-23 16:09:11 -08:00  
				
					
						
							
							
								 
						
							
							
								0738fc43e4 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-11-23 10:50:29 -05:00  
				
					
						
							
							
								 
						
							
							
								d4e3a7fe81 
								
							
								 
							
						 
						
							
							
								
								Shell Environment Variables in config  
							
							... 
							
							
							
							Adding updated Nini and support to use shell environment variables in OpenSimulator configuration.
  Nini @ https://github.com/BlueWall/Nini-Dev  
							
						 
						
							2011-11-23 10:11:47 -05:00  
				
					
						
							
							
								 
						
							
							
								b56410285b 
								
							
								 
							
						 
						
							
							
								
								Log error if we attempt to add/remove an OdeCharacter from the _characters list inappropriately  
							
							
							
						 
						
							2011-11-22 22:46:25 +00:00  
				
					
						
							
							
								 
						
							
							
								ace4324e75 
								
							
								 
							
						 
						
							
							
								
								Stop removing actor from the hash maps in OdeScene.RemoveCharacter() since this is now being down in OdeCharacter.DestroyOdeStructures()  
							
							
							
						 
						
							2011-11-22 22:37:06 +00:00  
				
					
						
							
							
								 
						
							
							
								af90b52731 
								
							
								 
							
						 
						
							
							
								
								Comment out uncalled OdeScene.UnCombine()  
							
							
							
						 
						
							2011-11-22 22:28:46 +00:00  
				
					
						
							
							
								 
						
							
							
								fcb066cb5f 
								
							
								 
							
						 
						
							
							
								
								Comment out unimplemented and uncalled RegionCombinerModule.UnCombineRegion()  
							
							
							
						 
						
							2011-11-22 22:23:52 +00:00  
				
					
						
							
							
								 
						
							
							
								d639f7fdf3 
								
							
								 
							
						 
						
							
							
								
								minor: remove mono compiler warning  
							
							
							
						 
						
							2011-11-22 22:16:09 +00:00  
				
					
						
							
							
								 
						
							
							
								b0fe0464af 
								
							
								 
							
						 
						
							
							
								
								Stop an exception being thrown and a teleport/border cross failing if the desintation sim has no active script engines.  
							
							... 
							
							
							
							This involves getting IScene.RequestModuleInterfaces() to return an empty array (as was stated in the method doc) rather than an array containing one null entry.
Callers adjusted to stop checking for the list reference being null (which never happened anyway) 
							
						 
						
							2011-11-22 22:13:57 +00:00  
				
					
						
							
							
								 
						
							
							
								daf99f8c0a 
								
							
								 
							
						 
						
							
							
								
								slightly simplify OdeScene.Simulate() by removing bool processtaints, since we can inspect count of taint lists instead.  
							
							... 
							
							
							
							also groups OdeCharacter.CreateOdeStructures() and DestroyOdeStructures() together 
							
						 
						
							2011-11-22 21:51:00 +00:00  
				
					
						
							
							
								 
						
							
							
								c4e4a29478 
								
							
								 
							
						 
						
							
							
								
								Slightly improve "Unable to space collide" logging message, though I don't think I've ever seen this.  
							
							
							
						 
						
							2011-11-21 21:31:26 +00:00  
				
					
						
							
							
								 
						
							
							
								4ddff7eb0f 
								
							
								 
							
						 
						
							
							
								
								Get rid of OdeCharacter != null checks since OdeScene._characters can never contain a null character.  
							
							... 
							
							
							
							Ignoring the ancient code glyphs not to do this.... 
							
						 
						
							2011-11-21 21:29:56 +00:00  
				
					
						
							
							
								 
						
							
							
								82dc7886fc 
								
							
								 
							
						 
						
							
							
								
								remove unnecessary OdeScene._activeprims locking.  Code is single-threaded  
							
							
							
						 
						
							2011-11-21 21:15:15 +00:00  
				
					
						
							
							
								 
						
							
							
								7480f2fd0e 
								
							
								 
							
						 
						
							
							
								
								Restore defects list.  In hindsight, the reason for this is becuase we can't remove the character whilst iterating over the list.  
							
							... 
							
							
							
							This commit also removes locking on OdeScene._characters since code is single threaded 
							
						 
						
							2011-11-21 21:04:24 +00:00  
				
					
						
							
							
								 
						
							
							
								546259b2ff 
								
							
								 
							
						 
						
							
							
								
								simplify operation of OdeScene._perloopContact  
							
							
							
						 
						
							2011-11-21 20:30:37 +00:00  
				
					
						
							
							
								 
						
							
							
								25d9001de1 
								
							
								 
							
						 
						
							
							
								
								don't bother locking OdeScene._perloopContact in single threaded code  
							
							
							
						 
						
							2011-11-21 20:17:36 +00:00  
				
					
						
							
							
								 
						
							
							
								e33b0fa35b 
								
							
								 
							
						 
						
							
							
								
								don't lock OdeScene.contacts since only ever accessed by a single thread  
							
							
							
						 
						
							2011-11-21 20:12:04 +00:00  
				
					
						
							
							
								 
						
							
							
								e67ba0ad06 
								
							
								 
							
						 
						
							
							
								
								rename ODECharacter.AvatarGeomAndBodyCreation() -> CreateOdeStructures() to match existing DestroyOdeStructures()  
							
							
							
						 
						
							2011-11-21 20:01:34 +00:00  
				
					
						
							
							
								 
						
							
							
								063f0f5d97 
								
							
								 
							
						 
						
							
							
								
								refactor: Eliminate one line ODECharacter.doForce() method for code clarity  
							
							
							
						 
						
							2011-11-21 19:58:37 +00:00  
				
					
						
							
							
								 
						
							
							
								225b925f4e 
								
							
								 
							
						 
						
							
							
								
								Comment out calls to OdeScene.waitForSpaceUnlock() since that method does nothing right now  
							
							
							
						 
						
							2011-11-21 19:48:31 +00:00  
				
					
						
							
							
								 
						
							
							
								54789706f4 
								
							
								 
							
						 
						
							
							
								
								Reduce complexity of OdeScene.Simulate() by fully removing bad characters at point of detection rather than later on.  
							
							
							
						 
						
							2011-11-21 19:45:22 +00:00  
				
					
						
							
							
								 
						
							
							
								3becda919e 
								
							
								 
							
						 
						
							
							
								
								move geom/actor map maintenance into DestroyODEStructures()/AvatarGeomAndBodyCreation().  
							
							... 
							
							
							
							This saves us having to do it separately when a character capsule size is changed 
							
						 
						
							2011-11-21 19:31:29 +00:00  
				
					
						
							
							
								 
						
							
							
								4faac1f090 
								
							
								 
							
						 
						
							
							
								
								When changing avatar size in ODE, remove the old actor from the name and actor maps  
							
							
							
						 
						
							2011-11-21 19:06:53 +00:00  
				
					
						
							
							
								 
						
							
							
								898904d83d 
								
							
								 
							
						 
						
							
							
								
								When an ODECharacter is removed (e.g. when an avatar leaves a scene), remove the actor reference in OdeScene.actor_name_map rather than leaving it dangling.  
							
							... 
							
							
							
							This also largely centralizes adds/removes in OdeScene.AddCharacter()/RemoveCharacter() 
							
						 
						
							2011-11-21 18:27:41 +00:00  
				
					
						
							
							
								 
						
							
							
								cead87005b 
								
							
								 
							
						 
						
							
							
								
								Have ODECharacter and ODEPrim both use PhysicsActor.Name instead of maintaining their own properties  
							
							
							
						 
						
							2011-11-21 18:06:04 +00:00  
				
					
						
							
							
								 
						
							
							
								4fdcfd79e4 
								
							
								 
							
						 
						
							
							
								
								Actually remove PhysicsActor.SOPDescription this time  
							
							
							
						 
						
							2011-11-21 17:55:54 +00:00  
				
					
						
							
							
								 
						
							
							
								39c1ae2408 
								
							
								 
							
						 
						
							
							
								
								Chain SOP constructors together rather than having copy/paste code  
							
							
							
						 
						
							2011-11-21 17:55:10 +00:00  
				
					
						
							
							
								 
						
							
							
								58a1147870 
								
							
								 
							
						 
						
							
							
								
								refactor: Make SOP.Description an automatic property  
							
							
							
						 
						
							2011-11-21 17:51:38 +00:00  
				
					
						
							
							
								 
						
							
							
								e0887944a0 
								
							
								 
							
						 
						
							
							
								
								Remove unused PhysicsActor.SOPDescription  
							
							
							
						 
						
							2011-11-21 17:47:30 +00:00  
				
					
						
							
							
								 
						
							
							
								4485007fce 
								
							
								 
							
						 
						
							
							
								
								Instead of generating a new list for bad characters on every physics pass, keep reusing the same list.  
							
							
							
						 
						
							2011-11-21 17:04:54 +00:00  
				
					
						
							
							
								 
						
							
							
								2206e2fc96 
								
							
								 
							
						 
						
							
							
								
								Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for SendCreateChildAgent" message  
							
							... 
							
							
							
							This is misleading since a simulator will call this method before successfully trying remote regions.
Also comments out spammy "[SIMULATION]: Stream handler called" AgentHandlers messages for now. 
							
						 
						
							2011-11-19 01:32:21 +00:00  
				
					
						
							
							
								 
						
							
							
								726ca72c47 
								
							
								 
							
						 
						
							
							
								
								minor: Make HelloNeighbour messages more informative  
							
							
							
						 
						
							2011-11-19 01:27:06 +00:00  
				
					
						
							
							
								 
						
							
							
								10a23a823e 
								
							
								 
							
						 
						
							
							
								
								Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent 57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages  
							
							... 
							
							
							
							These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them.
Also finally get the deregister grid service message working properly 
							
						 
						
							2011-11-19 01:16:07 +00:00  
				
					
						
							
							
								 
						
							
							
								01ae916bad 
								
							
								 
							
						 
						
							
							
								
								Don't register a region twice on both official registration and maptile regeneration.  
							
							... 
							
							
							
							Maptile storage appears orthogonal to region registration 
							
						 
						
							2011-11-19 00:07:34 +00:00  
				
					
						
							
							
								 
						
							
							
								9c928e9dc6 
								
							
								 
							
						 
						
							
							
								
								For TerrainModule.SaveToFile(), don't bother throwing the exception onwards after printing out the error, since this method is invoked by users.  
							
							... 
							
							
							
							Still throwing the exception on the stream method since this invoked programatically 
							
						 
						
							2011-11-17 22:15:46 +00:00  
				
					
						
							
							
								 
						
							
							
								352672eaf2 
								
							
								 
							
						 
						
							
							
								
								Make "terrain save" more friendly by telling the user if we have saved and putting out a useful complaint message if we haven't for some reason  
							
							
							
						 
						
							2011-11-17 22:13:32 +00:00  
				
					
						
							
							
								 
						
							
							
								cacc028835 
								
							
								 
							
						 
						
							
							
								
								If the entire simulator is shutting down then don't bother to unload the scripts from the appdomain in XEngine.  
							
							... 
							
							
							
							All the other actions (script state save, etc.) still occur.
This makes shutdown where there are many scripts vastly quicker. 
							
						 
						
							2011-11-17 21:03:08 +00:00  
				
					
						
							
							
								 
						
							
							
								b6d83e9c0f 
								
							
								 
							
						 
						
							
							
								
								Stop OdePrim and OdeCharacter insanely overriding set LocalID to set their own private m_localID property but leaving get to return the then unset PhysicsActor.LocalId!  
							
							... 
							
							
							
							Instead, just have both subclasses use the PhysicsActor.LocalID property.
This restores collision functionality that fell away in 45c7789 
							
						 
						
							2011-11-16 23:01:59 +00:00  
				
					
						
							
							
								 
						
							
							
								bd01c4a5cb 
								
							
								 
							
						 
						
							
							
								
								Call public ForEach instead of using m_entities directly. No semantic changes, just cleanup  
							
							
							
						 
						
							2011-11-16 02:33:56 -08:00  
				
					
						
							
							
								 
						
							
							
								baa65d4a15 
								
							
								 
							
						 
						
							
							
								
								In AddNewClient, iterator over copy of entities rather than copying under read lock  
							
							
							
						 
						
							2011-11-15 17:09:17 -08:00  
				
					
						
							
							
								 
						
							
							
								e21949deaf 
								
							
								 
							
						 
						
							
							
								
								Comment out the vebose logging on HGFriendsModule.  
							
							... 
							
							
							
							Recent issues in http://opensimulator.org/mantis/view.php?id=5794  were not related to HG friends 
							
						 
						
							2011-11-16 00:26:54 +00:00  
				
					
						
							
							
								 
						
							
							
								9488b235d1 
								
							
								 
							
						 
						
							
							
								
								Fix the build break  
							
							
							
						 
						
							2011-11-16 00:10:55 +00:00  
				
					
						
							
							
								 
						
							
							
								33b1e385ec 
								
							
								 
							
						 
						
							
							
								
								Look up a homeURL only when it's not null, in addition to not being string.Empty  
							
							
							
						 
						
							2011-11-16 00:01:21 +00:00  
				
					
						
							
							
								 
						
							
							
								92dff85afb 
								
							
								 
							
						 
						
							
							
								
								Enable log message to tell us what type of url is being requested from a user's homeurl  
							
							
							
						 
						
							2011-11-15 23:38:24 +00:00  
				
					
						
							
							
								 
						
							
							
								31ffd5450b 
								
							
								 
							
						 
						
							
							
								
								Make tracked per scene thread names conform to the majorirty format.  
							
							... 
							
							
							
							This is <thread-name> (<region-name>) 
							
						 
						
							2011-11-15 23:34:28 +00:00  
				
					
						
							
							
								 
						
							
							
								aea547cd11 
								
							
								 
							
						 
						
							
							
								
								fix build break on UserManagementModule.  
							
							... 
							
							
							
							This also adds time since started to "show threads".  Unfortunately these two changes got mixed in. 
							
						 
						
							2011-11-15 23:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								5b9fe4497d 
								
							
								 
							
						 
						
							
							
								
								Do proper locking of UserManagementModule.m_UserCache when getting.  
							
							... 
							
							
							
							This might help with
[USER AGENT CONNECTOR]: new connector to  ()
[USER AGENT CONNECTOR]: Unable to contact remote server  for GetServerURLs
[USER AGENT CONNECTOR]: Malformed Uri : Argument cannot be null.
Parameter name: uriString 
							
						 
						
							2011-11-15 23:12:41 +00:00  
				
					
						
							
							
								 
						
							
							
								122304317c 
								
							
								 
							
						 
						
							
							
								
								temporarily increasing logging in HGFriendsModule for debugging  
							
							
							
						 
						
							2011-11-15 22:14:31 +00:00  
				
					
						
							
							
								 
						
							
							
								828e4a5b09 
								
							
								 
							
						 
						
							
							
								
								Add comments about trying to avoid synchronous work off the EventManager.OnMakeRootAgent event since this is on the critical path for transfer of avatars from one region to another.  
							
							
							
						 
						
							2011-11-15 20:26:42 +00:00  
				
					
						
							
							
								 
						
							
							
								e16d7fe1da 
								
							
								 
							
						 
						
							
							
								
								Instead of having scene add/remove collision events directly to the OdeScene collision event dictionary, marshall them via a change dictionary first.  
							
							... 
							
							
							
							This is to avoid a complicated tri-thread deadlock on region crossing for avatars with attachments, where
1) XEngine starting up scripts can lock XEngine.m_Scripts and then try to lock OdeScene._collisionEventPrim while starting up a script due to avatar border crossing
2) An existing collision event will lock OdeScene._collisionEventPrim and then try to lock SP.m_attachments while trying to send the collision event to attachments
3) The avatar still entering the region will lock SP.m_attachments and then try to lock m_Scripts to start more attachment scripts. 
							
						 
						
							2011-11-15 20:02:09 +00:00  
				
					
						
							
							
								 
						
							
							
								45c7789b54 
								
							
								 
							
						 
						
							
							
								
								use a more efficient dictionary in OdeScene._collisionEventPrim rather than a list  
							
							
							
						 
						
							2011-11-15 19:42:33 +00:00  
				
					
						
							
							
								 
						
							
							
								a3c5f76942 
								
							
								 
							
						 
						
							
							
								
								Removed unused and mostly commented out SceneCommunicationService methods  
							
							... 
							
							
							
							As far as I can see, the SCS is only now used for informing neighbours of up/down status and possibly sending child agent updates and close requests 
							
						 
						
							2011-11-15 18:16:43 +00:00  
				
					
						
							
							
								 
						
							
							
								20f26eeb17 
								
							
								 
							
						 
						
							
							
								
								Remove unused RegionCommsListener/IRegionCommsListener.  
							
							... 
							
							
							
							All this is now being handled through IEntityTransferModule and SimulationService instead, and has been for some time. 
							
						 
						
							2011-11-15 17:38:55 +00:00  
				
					
						
							
							
								 
						
							
							
								64784bc0cf 
								
							
								 
							
						 
						
							
							
								
								remove SceneCommunicationService.OnAvatarCrossingIntoRegion.  This stuff is not being used any more - it's now IEntityTransferModule and SimulationService instead  
							
							
							
						 
						
							2011-11-15 17:30:58 +00:00  
				
					
						
							
							
								 
						
							
							
								430821d837 
								
							
								 
							
						 
						
							
							
								
								Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> RecacheFriends() to reflect their intended function  
							
							
							
						 
						
							2011-11-15 16:12:35 +00:00  
				
					
						
							
							
								 
						
							
							
								2b5b4ac167 
								
							
								 
							
						 
						
							
							
								
								refactor: rename m_NeedsListOfFriends => m_NeedsListOfOnlineFriends to better reflect its actual function  
							
							
							
						 
						
							2011-11-15 16:05:08 +00:00  
				
					
						
							
							
								 
						
							
							
								50803dfe2c 
								
							
								 
							
						 
						
							
							
								
								For clients that are entering a simulator from initial login, stop executing FriendsModule.FetchFriendslist() asychronously.  
							
							... 
							
							
							
							Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated.
Changing this to synchronous may improve issues where a user does not see friends as online even though they are.
I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required.  Locking the cache isn't sufficient. 
							
						 
						
							2011-11-15 15:57:53 +00:00  
				
					
						
							
							
								 
						
							
							
								8d0aaa359f 
								
							
								 
							
						 
						
							
							
								
								refactor: Don't create a new UUID for passing uuids to client - UUIDs are structs are so not passed by reference (and they're immutable!)  
							
							
							
						 
						
							2011-11-15 15:05:10 +00:00  
				
					
						
							
							
								 
						
							
							
								89632f3ea8 
								
							
								 
							
						 
						
							
							
								
								Add test for removing a friendship.  
							
							
							
						 
						
							2011-11-14 20:56:56 +00:00  
				
					
						
							
							
								 
						
							
							
								ed19284d85 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'remove-scene-viewer'  
							
							
							
						 
						
							2011-11-14 12:37:48 -08:00  
				
					
						
							
							
								 
						
							
							
								e5ff7f389b 
								
							
								 
							
						 
						
							
							
								
								Improved method doc for AddFriend() - it actually does set up a two-way relationship.  
							
							... 
							
							
							
							Rename IFriendsModule.AddFriend() to AddFriendship() 
							
						 
						
							2011-11-14 20:31:16 +00:00  
				
					
						
							
							
								 
						
							
							
								a64def8b73 
								
							
								 
							
						 
						
							
							
								
								minor: remove some mono compiler warnings  
							
							
							
						 
						
							2011-11-14 18:16:14 +00:00  
				
					
						
							
							
								 
						
							
							
								348d15707d 
								
							
								 
							
						 
						
							
							
								
								Add test for adding a friend whilst online  
							
							
							
						 
						
							2011-11-14 18:08:02 +00:00  
				
					
						
							
							
								 
						
							
							
								de895ee54a 
								
							
								 
							
						 
						
							
							
								
								Add very simple FriendsModuleTests.TestNoFriends()  
							
							
							
						 
						
							2011-11-14 17:18:51 +00:00  
				
					
						
							
							
								 
						
							
							
								ff36a1bc7b 
								
							
								 
							
						 
						
							
							
								
								If a friends identifier which is too short is given to HGFriendsModule.GetOnlineFriends() then spit out a warning rather than failing on the String.Substring().  
							
							... 
							
							
							
							This is to progress http://opensimulator.org/mantis/view.php?id=5789  
							
						 
						
							2011-11-14 16:06:06 +00:00  
				
					
						
							
							
								 
						
							
							
								49ec85ae15 
								
							
								 
							
						 
						
							
							
								
								Do a ScenePresence null check in HGMessageTransferModule.SendIMToScene() to stop a NullReferenceException being thrown if an HG IM is sent to a simulator running multiple regions  
							
							... 
							
							
							
							This is an attempt to address http://opensimulator.org/mantis/view.php?id=5791  
							
						 
						
							2011-11-14 15:24:02 +00:00  
				
					
						
							
							
								 
						
							
							
								5fd1749150 
								
							
								 
							
						 
						
							
							
								
								Remove SceneViewer from ScenePresence to reduce quadruple queueing of  
							
							... 
							
							
							
							prim update to only triple queuing. Existing method was:
1. Schedule prim for update, adding to scene update list
2. Update on SOGs during heartbeat queues update onto each SceneViewer
3. Update on SPs during heartbeat queues update onto each IClientAPI
4. ProcessEntityUpdates queues updates into UDP send stack
Now the SceneViewer has been eliminated so updates are scheduled at any
time and then put onto the IClientAPI priority queues immediately during
SceneGraph.UpdateObjectGroups. 
							
						 
						
							2011-11-11 17:16:52 -08:00  
				
					
						
							
							
								 
						
							
							
								6adaf1be74 
								
							
								 
							
						 
						
							
							
								
								extract common ScenePresence setup code into Init() method for ScenePresenceSitTests  
							
							
							
						 
						
							2011-11-11 23:36:35 +00:00  
				
					
						
							
							
								 
						
							
							
								84ad23234b 
								
							
								 
							
						 
						
							
							
								
								add SP.PhysicsActor checks to other sit/stand tests  
							
							
							
						 
						
							2011-11-11 23:33:55 +00:00  
				
					
						
							
							
								 
						
							
							
								acaf6937c5 
								
							
								 
							
						 
						
							
							
								
								add sit and stand on ground test  
							
							
							
						 
						
							2011-11-11 23:32:43 +00:00  
				
					
						
							
							
								 
						
							
							
								a3052e40ad 
								
							
								 
							
						 
						
							
							
								
								extract ground sit code into SP.HandleAgentSitOnGround() for consistency with other sitting code.  
							
							
							
						 
						
							2011-11-11 23:28:32 +00:00  
				
					
						
							
							
								 
						
							
							
								6ce3daff94 
								
							
								 
							
						 
						
							
							
								
								Pick up the intended ConsolePrompt from [Startup] instead of console_prompt.  
							
							... 
							
							
							
							Addresses http://opensimulator.org/mantis/view.php?id=5786  
							
						 
						
							2011-11-11 23:15:53 +00:00  
				
					
						
							
							
								 
						
							
							
								2a2cdaa211 
								
							
								 
							
						 
						
							
							
								
								As with prim sitting avatars, make an avatar phantom when it sits on the ground and solid again when it stands.  
							
							... 
							
							
							
							This is to avoid http://opensimulator.org/mantis/view.php?id=5783  when a collision with a ground sitting avatar causes that avatar to automatically stand and sometimes not be able to move
A better solution may be to keep gound sitting avatars solid but remove their collision status.  However, this requires some physics code work. 
							
						 
						
							2011-11-11 23:10:43 +00:00  
				
					
						
							
							
								 
						
							
							
								ce8441132e 
								
							
								 
							
						 
						
							
							
								
								Restore sending of OutPacket() for object kills removed in commit  c7dd7b1.  
							
							... 
							
							
							
							OutPacket() must be called within the m_killRecord lock.  Otherwise the following event sequence is possible
1) LLClientView.ProcessEntityUpdates() passes the kill record check for a particular part suspends before OutPacket()
2) Another thread calls LLClientView.SendKillObject() to delete the same part and modifies the kill record
3) The same thread places the kill packet on the Task queue.
4) The earlier thread resumes and places the update packet on the Task queue after the kill packet.
This results in a ghost part in the sim that only goes away after client relog.
This commit also removes the unnecessary m_entityUpdates.SyncRoot locking in SendKillObject. 
							
						 
						
							2011-11-11 22:37:57 +00:00  
				
					
						
							
							
								 
						
							
							
								2a7f4e0602 
								
							
								 
							
						 
						
							
							
								
								remove unncessary IClientAPI parameter from SP.SendSitResponse()  
							
							
							
						 
						
							2011-11-11 21:53:00 +00:00  
				
					
						
							
							
								 
						
							
							
								b1cb4f5b04 
								
							
								 
							
						 
						
							
							
								
								As per mailing list last week, remove facility that would automatically move the avatar if prim with no sit target was out of sitting range.  
							
							... 
							
							
							
							Now, no movement occurs.
Note that you can still sit on a prim with an explicit sit target from any distance, as was the case before. 
							
						 
						
							2011-11-11 21:42:58 +00:00  
				
					
						
							
							
								 
						
							
							
								a658bddbcd 
								
							
								 
							
						 
						
							
							
								
								Bump warp sit distance up to 10 meters, as discussed on opensim-dev mailing list last week.  
							
							... 
							
							
							
							This means that if the avatar is within 10 meters of the selected target, it sits on it immediately without walking.
Existing autopilot outside this range will be disabled in a later commit 
							
						 
						
							2011-11-11 19:59:12 +00:00  
				
					
						
							
							
								 
						
							
							
								8f4955f6a9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-11-11 19:40:31 +00:00  
				
					
						
							
							
								 
						
							
							
								dc200d7bb5 
								
							
								 
							
						 
						
							
							
								
								Add new ScenePresenceSitTests with a single sit/stand test  
							
							
							
						 
						
							2011-11-11 19:38:36 +00:00  
				
					
						
							
							
								 
						
							
							
								10e664eedc 
								
							
								 
							
						 
						
							
							
								
								Fix compile error from an earlier commit  
							
							
							
						 
						
							2011-11-10 17:37:33 -08:00  
				
					
						
							
							
								 
						
							
							
								7432ca6daf 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-11-10 17:21:49 -08:00  
				
					
						
							
							
								 
						
							
							
								96c59156a7 
								
							
								 
							
						 
						
							
							
								
								In SOP, replaced many references to private members with the public properties  
							
							
							
						 
						
							2011-11-10 17:21:37 -08:00  
				
					
						
							
							
								 
						
							
							
								a5838cf0a6 
								
							
								 
							
						 
						
							
							
								
								Prevent linking objects while they are deeded. On unlinking deeded objects,  
							
							... 
							
							
							
							set LastOwnerID properly so the parts cannot be transferred, circumventing
no trans perms 
							
						 
						
							2011-11-11 00:28:12 +00:00  
				
					
						
							
							
								 
						
							
							
								2bd4eaeb19 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2011-11-10 23:43:29 +00:00  
				
					
						
							
							
								 
						
							
							
								0daece6f2b 
								
							
								 
							
						 
						
							
							
								
								Fix turn left and turn right properly. Works for both built-ins and LSL AOs  
							
							
							
						 
						
							2011-11-10 23:42:48 +00:00  
				
					
						
							
							
								 
						
							
							
								8fbaa10ade 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-11-10 15:23:16 -08:00  
				
					
						
							
							
								 
						
							
							
								9359293b11 
								
							
								 
							
						 
						
							
							
								
								Cleaned UpdatePermissions calls on SOP and SOG to eliminate redundant properties packet sends and so one part is not telling a different part what to do. That should be up to the SOG to manage permissions on its parts and notify clients when one of them changes.  
							
							
							
						 
						
							2011-11-10 15:20:21 -08:00  
				
					
						
							
							
								 
						
							
							
								f5abae5ac6 
								
							
								 
							
						 
						
							
							
								
								Implement nudging support for strafing motion  
							
							
							
						 
						
							2011-11-10 23:03:05 +00:00  
				
					
						
							
							
								 
						
							
							
								c0d280d948 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-11-10 22:58:24 +00:00  
				
					
						
							
							
								 
						
							
							
								2d4ac6288d 
								
							
								 
							
						 
						
							
							
								
								Alter commit  3758306 to allow region name to be substituted within a region console prompt  
							
							... 
							
							
							
							This is to allow broader subsitution in the future.  Currently, the only substitions are \R (for region name) and \\ (for a single backslash)
e.g. "Region (\R) " is the current and continuing default prompt
This renames custom_prompt in [Startup] to ConsolePrompt 
							
						 
						
							2011-11-10 22:56:13 +00:00  
				
					
						
							
							
								 
						
							
							
								f3fea81936 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-11-10 14:09:53 -08:00  
				
					
						
							
							
								 
						
							
							
								18c625bda6 
								
							
								 
							
						 
						
							
							
								
								When updating SOG, a physics taint should not override a full update with a terse update  
							
							
							
						 
						
							2011-11-10 14:09:35 -08:00  
				
					
						
							
							
								 
						
							
							
								b990914ec4 
								
							
								 
							
						 
						
							
							
								
								convert tabs from commit  3758306 to spaces  
							
							
							
						 
						
							2011-11-10 21:04:12 +00:00  
				
					
						
							
							
								 
						
							
							
								444b345cdf 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2011-11-10 20:54:44 +00:00  
				
					
						
							
							
								 
						
							
							
								48d2300b8a 
								
							
								 
							
						 
						
							
							
								
								Fix misaligned sit animation on scripted sit caused by the default sit  
							
							... 
							
							
							
							animation being run after the scripted one. 
							
						 
						
							2011-11-10 20:54:15 +00:00  
				
					
						
							
							
								 
						
							
							
								37583063ee 
								
							
								 
							
						 
						
							
							
								
								Allow custom setting for the console prompt  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-11-10 06:56:32 -05:00  
				
					
						
							
							
								 
						
							
							
								4f6915bad5 
								
							
								 
							
						 
						
							
							
								
								minor: Correct misleading method doc on SOG.UpdateRootRotation()  
							
							
							
						 
						
							2011-11-09 21:49:08 +00:00  
				
					
						
							
							
								 
						
							
							
								39b967e214 
								
							
								 
							
						 
						
							
							
								
								Correct test failure in sit position check of TestSitAndStandWithNoTarget()  
							
							... 
							
							
							
							Curiously, a Vector3.ToString() will not display the last two places of the float.  In this case, the failure of
the assertion would confusingly report Expected: <0, 0, 0.8454993> But was:  <0, 0, 0.8454993> when actual Z figure is 0.845499337
Should fully address http://opensimulator.org/mantis/view.php?id=5779  
							
						 
						
							2011-11-07 22:53:52 +00:00  
				
					
						
							
							
								 
						
							
							
								6d92d65140 
								
							
								 
							
						 
						
							
							
								
								That such a trivial change can be so difficult to get right. Fix it this time.  
							
							
							
						 
						
							2011-11-07 02:40:35 +00:00  
				
					
						
							
							
								 
						
							
							
								e775b3fc47 
								
							
								 
							
						 
						
							
							
								
								Fix build break  
							
							
							
						 
						
							2011-11-07 02:03:17 +00:00  
				
					
						
							
							
								 
						
							
							
								67780b00f0 
								
							
								 
							
						 
						
							
							
								
								Fix up failing test to compensate for changed sit target offset  
							
							
							
						 
						
							2011-11-06 21:47:12 +00:00  
				
					
						
							
							
								 
						
							
							
								559e6e52f5 
								
							
								 
							
						 
						
							
							
								
								Make the AsyncSceneObjectDeleter send a list of kills. This will make large  
							
							... 
							
							
							
							marquee-selected deletions of single prims or small link sets nearly
instantaneous 
							
						 
						
							2011-11-06 20:43:49 +00:00  
				
					
						
							
							
								 
						
							
							
								c7dd7b13a2 
								
							
								 
							
						 
						
							
							
								
								Convert SendKillObject to take a list of uint rather than sending one  
							
							... 
							
							
							
							packet per prim. More to come as we change to make use of this. 
							
						 
						
							2011-11-06 20:38:07 +00:00  
				
					
						
							
							
								 
						
							
							
								fa992a020c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2011-11-06 20:00:47 +00:00  
				
					
						
							
							
								 
						
							
							
								0bf757e42b 
								
							
								 
							
						 
						
							
							
								
								Allow HG and other scene presences not linked to a user account to function.  
							
							
							
						 
						
							2011-11-06 20:00:03 +00:00  
				
					
						
							
							
								 
						
							
							
								927561383e 
								
							
								 
							
						 
						
							
							
								
								HUD attachments: Removes some more messages sent to wrong clients.  
							
							
							
						 
						
							2011-11-06 17:43:39 +01:00  
				
					
						
							
							
								 
						
							
							
								bd10d14bbd 
								
							
								 
							
						 
						
							
							
								
								Fix build break  
							
							
							
						 
						
							2011-11-05 23:12:00 +00:00  
				
					
						
							
							
								 
						
							
							
								bbbcdaa462 
								
							
								 
							
						 
						
							
							
								
								Remove spammy autopilot debug  
							
							
							
						 
						
							2011-11-05 22:54:47 +00:00  
				
					
						
							
							
								 
						
							
							
								01b6a4b62e 
								
							
								 
							
						 
						
							
							
								
								Remove some left over debug and reverse experimental reordering of ifs  
							
							
							
						 
						
							2011-11-05 22:46:45 +00:00  
				
					
						
							
							
								 
						
							
							
								4d3926694d 
								
							
								 
							
						 
						
							
							
								
								Remove enableprejump config option and associated code as this is now  
							
							... 
							
							
							
							fully functional and cannot be disabled because that would break timings. 
							
						 
						
							2011-11-05 22:43:45 +00:00  
				
					
						
							
							
								 
						
							
							
								71388fc02a 
								
							
								 
							
						 
						
							
							
								
								Porting the ScenePresenceAnimator from Avination. Jump and fall anims now work  
							
							... 
							
							
							
							properly. 
							
						 
						
							2011-11-05 22:41:00 +00:00  
				
					
						
							
							
								 
						
							
							
								ac3254a5f5 
								
							
								 
							
						 
						
							
							
								
								Change puvlic m_ variable to a getter property  
							
							
							
						 
						
							2011-11-05 21:43:35 +00:00  
				
					
						
							
							
								 
						
							
							
								2dc452b4a7 
								
							
								 
							
						 
						
							
							
								
								ScenePresence part of the Avination animator fixes.  
							
							
							
						 
						
							2011-11-05 21:41:16 +00:00  
				
					
						
							
							
								 
						
							
							
								b6df9e9fe4 
								
							
								 
							
						 
						
							
							
								
								Chnaging the sit target adjustment to a more precise approximation of SL. Some small  
							
							... 
							
							
							
							fixes ported from Avination. Some white space fixes. 
							
						 
						
							2011-11-05 21:24:36 +00:00  
				
					
						
							
							
								 
						
							
							
								e182cc198d 
								
							
								 
							
						 
						
							
							
								
								Fix avatar height, removes the hip offset hack  
							
							... 
							
							
							
							Author: Mana Janus <mana@mjm-labs.com> 
							
						 
						
							2011-11-05 02:56:52 -07:00  
				
					
						
							
							
								 
						
							
							
								e3885625a0 
								
							
								 
							
						 
						
							
							
								
								Don't rotate child prims, if only the root prim is rotated.  
							
							
							
						 
						
							2011-11-05 02:26:25 -07:00  
				
					
						
							
							
								 
						
							
							
								cfce2529ad 
								
							
								 
							
						 
						
							
							
								
								refactor: In sit code, compare against Vector3.Zero and Quaternion.Identity instead of individual components of a vector/quat  
							
							
							
						 
						
							2011-11-05 02:04:48 +00:00  
				
					
						
							
							
								 
						
							
							
								8105794121 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-11-05 01:42:20 +00:00  
				
					
						
							
							
								 
						
							
							
								28c4dc9be4 
								
							
								 
							
						 
						
							
							
								
								Fix NPC sitting for prims without a sit target.  
							
							... 
							
							
							
							This is to partially address http://opensimulator.org/mantis/view.php?id=5769 
We don't need to call SP.HandleAgentSit() again if we are within 10m since the autopilot won't trigger.
By calling it twice, the position of the sitting NPC was wrongly adjusted, ending up near <0,0,0>.
However, this change does mean that NPCs further than 10m away will not attempt to autopilot to the prim, though this code was broken anyway (is actually a different mechanism to normal NPC movmeent).
Hopefully this can be addressed soon. 
							
						 
						
							2011-11-05 01:38:42 +00:00  
				
					
						
							
							
								 
						
							
							
								b199aad037 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2011-11-05 00:11:10 +00:00  
				
					
						
							
							
								 
						
							
							
								c803ed28c3 
								
							
								 
							
						 
						
							
							
								
								Replacing te linking code with the code from Avination. Link sets prims are now  
							
							... 
							
							
							
							numbered properly even when sets are linked to sets. 
							
						 
						
							2011-11-05 00:09:37 +00:00  
				
					
						
							
							
								 
						
							
							
								f7b8c54c24 
								
							
								 
							
						 
						
							
							
								
								Add comment for experimental effect of removing the Thread.Sleep(20) in ODEPrim.changevelocity()  
							
							
							
						 
						
							2011-11-04 23:43:17 +00:00  
				
					
						
							
							
								 
						
							
							
								d7815ace4a 
								
							
								 
							
						 
						
							
							
								
								On standup, trigger the changed link script event after the avatar has been fully changed.  
							
							... 
							
							
							
							This was meant to help with the script in http://opensimulator.org/mantis/view.php?id=5772  but it doesn't work.
Probably the event is fired before the physics actor has been set up again for the stood avatar.
Fixing that would be much more complicated, but processing the event last of all seems like a good idea in any case. 
							
						 
						
							2011-11-04 23:24:22 +00:00  
				
					
						
							
							
								 
						
							
							
								ccca6ba935 
								
							
								 
							
						 
						
							
							
								
								Stop llPushObject() from causing problems by adding force via a taint rather than directly.  
							
							... 
							
							
							
							This isn't a perfect solution since there can be a race between the taint processing and taint setting, as force needs to be reset after processing.
Needs careful locking in the future. 
							
						 
						
							2011-11-04 23:12:01 +00:00  
				
					
						
							
							
								 
						
							
							
								b8d50b10fb 
								
							
								 
							
						 
						
							
							
								
								Rename ForEachAvatar back to ForEachScenePresence. The other changes  
							
							... 
							
							
							
							from previous commit which sort out which iterator is used are left
intact. A discussion is needed as to what constitutes an avatar vs a
ScenePresence. 
							
						 
						
							2011-11-03 17:53:51 -07:00  
				
					
						
							
							
								 
						
							
							
								94dc7d07eb 
								
							
								 
							
						 
						
							
							
								
								Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls to  
							
							... 
							
							
							
							the 3 iteration functions so more of them are using the correct
iteration for the action they are performing. The 3 iterators that seem
to fit all actions within OpenSim at this time are:
ForEachAvatar: Perform an action on all avatars (root presences)
ForEachClient: Perform an action on all clients (root or child clients)
ForEachRootClient: Perform an action on all clients that have an avatar
There are still a dozen places or so calling the old
ForEachScenePresence that will take a little more refactoring to
eliminate. 
							
						 
						
							2011-11-03 17:06:08 -07:00  
				
					
						
							
							
								 
						
							
							
								a62ccb5c4c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-11-03 20:12:10 +00:00  
				
					
						
							
							
								 
						
							
							
								e746840226 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim  
							
							
							
						 
						
							2011-11-02 23:51:48 +00:00  
				
					
						
							
							
								 
						
							
							
								08fcf958c2 
								
							
								 
							
						 
						
							
							
								
								Port the Avination offline messaging system to Core  
							
							
							
						 
						
							2011-11-02 23:50:47 +00:00  
				
					
						
							
							
								 
						
							
							
								a724ebacd7 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-11-02 14:59:34 -07:00  
				
					
						
							
							
								 
						
							
							
								e2c51a977d 
								
							
								 
							
						 
						
							
							
								
								Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.  
							
							... 
							
							
							
							UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are
using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on
SOP consistently now. Also started working toward eliminating those
calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule
from outside SOP in favor of just setting properties on SOP and let SOP
decide if an update should be scheduled. This consolidates the update
policy within SOP and the client rather than everywhere that makes
changes to SOP. Some places forget to call update while others call it
multiple times, "just to be sure".
UpdateFlag and Schedule*Update will both be made private shortly.
UpdateFlag is intended to be transient and internal to SOP so it has
been removed from XML serializer for SOPs. 
							
						 
						
							2011-11-02 14:59:00 -07:00  
				
					
						
							
							
								 
						
							
							
								59232a6ea8 
								
							
								 
							
						 
						
							
							
								
								Change default say distance to 20m from 30m, the same as on the big grid.  This is to improve the migration of scripts that expect a 20m say distance.  
							
							... 
							
							
							
							If you want to keep a 30m say distance then please set this as the say_distance parameter in the [Chat] section of OpenSim.ini. 
							
						 
						
							2011-11-02 20:05:31 +00:00  
				
					
						
							
							
								 
						
							
							
								72923134e9 
								
							
								 
							
						 
						
							
							
								
								Get some hopefully more useful exception information when OpenJPEG.EncodeFromImage() fails in VectorRender and DynamicTexture modules  
							
							
							
						 
						
							2011-11-02 18:40:49 +00:00  
				
					
						
							
							
								 
						
							
							
								03993d0b14 
								
							
								 
							
						 
						
							
							
								
								Fix race condition that would sometimes send or save appearance for the wrong avatar.  
							
							... 
							
							
							
							In AvatarFactoryModule.HandleAppearanceUpdateTimer(), we loop through appearance save and send requests and dispatch via a FireAndForget thread.
If there was more than one request in the save or send queue, then this led to a subtle race condition where the foreach loop would load in the next KeyValuePair before the thread was dispatched.
This gave the thread the wrong avatar ID, leaving some avatar appearance cloudy since appearance data was never sent.
This change loads the fields into local references so that this doesn't happen. 
							
						 
						
							2011-11-02 18:25:03 +00:00  
				
					
						
							
							
								 
						
							
							
								c5fb39e21f 
								
							
								 
							
						 
						
							
							
								
								Restore the recursive calling of PRIM_LINK_TARGET because the version I made  
							
							... 
							
							
							
							breaks LINK_SET et al. 
							
						 
						
							2011-11-02 12:09:18 +00:00  
				
					
						
							
							
								 
						
							
							
								1b9ae3fb51 
								
							
								 
							
						 
						
							
							
								
								Some positioning fixes from AVN trunk  
							
							
							
						 
						
							2011-11-02 12:02:44 +00:00  
				
					
						
							
							
								 
						
							
							
								b9e700b60d 
								
							
								 
							
						 
						
							
							
								
								Streamline PRIM_LINK_TARGET, eliminating a recursion and a failure scenario  
							
							
							
						 
						
							2011-11-02 11:43:16 +00:00  
				
					
						
							
							
								 
						
							
							
								7c8bfac11b 
								
							
								 
							
						 
						
							
							
								
								Removed redundant SceneContents property from Scene. It's the same as SceneGraph property.  
							
							
							
						 
						
							2011-11-01 17:20:12 -07:00  
				
					
						
							
							
								 
						
							
							
								3bead3eb50 
								
							
								 
							
						 
						
							
							
								
								Part 2 of see_into_this_sim_from_neighbor configuration option removal  
							
							
							
						 
						
							2011-11-01 17:11:43 -07:00  
				
					
						
							
							
								 
						
							
							
								4b58d4ff95 
								
							
								 
							
						 
						
							
							
								
								Removed see_into_this_sim_from_neighbor configuration option.  
							
							
							
						 
						
							2011-11-01 16:51:14 -07:00  
				
					
						
							
							
								 
						
							
							
								9456a540c5 
								
							
								 
							
						 
						
							
							
								
								Add "appearance send" command to allow manual sending of appearance.  
							
							
							
						 
						
							2011-11-01 23:23:45 +00:00  
				
					
						
							
							
								 
						
							
							
								3c55f3015f 
								
							
								 
							
						 
						
							
							
								
								Removed unused show commands from Scene.cs and SceneBase.cs. The show modules command in OpenSim.cs now shows both shared modules and region modules.  
							
							
							
						 
						
							2011-10-31 16:42:28 -07:00  
				
					
						
							
							
								 
						
							
							
								d3153f47fa 
								
							
								 
							
						 
						
							
							
								
								Adding green dots to map response should be for root agents only  
							
							
							
						 
						
							2011-10-31 15:20:57 -07:00  
				
					
						
							
							
								 
						
							
							
								14646f2524 
								
							
								 
							
						 
						
							
							
								
								Fix line endings  
							
							
							
						 
						
							2011-10-30 23:43:17 -07:00  
				
					
						
							
							
								 
						
							
							
								a85ff884d9 
								
							
								 
							
						 
						
							
							
								
								Experimental reorder of Heartbeat loop now simulates physics and sends updates to clients prior to sleep. Existing behavior was to sleep BEFORE sending updates. We found this patch reduced latency to clients by 1-2 heartbeat periods.  
							
							
							
						 
						
							2011-10-30 23:39:39 -07:00  
				
					
						
							
							
								 
						
							
							
								6d97545b6b 
								
							
								 
							
						 
						
							
							
								
								Remove the SyncRoot locking from Scene which was only being done around the main physics loop and ScenePresence position and velocity setting  
							
							... 
							
							
							
							This is no longer necessary with ODECharacter taints (ODEPrim was already not taking part in this).  BSCharacter was already tainting. 
							
						 
						
							2011-10-29 02:42:53 +01:00  
				
					
						
							
							
								 
						
							
							
								9fdd1753fa 
								
							
								 
							
						 
						
							
							
								
								Add taint target velocity for ODECharacters as is already done for ODECharacter position and position and velocity for ODEPrims.  
							
							... 
							
							
							
							This is to help stop surprises if the velocity is set in the middle of physics calculations, though this probably isn't a huge problem.
It's more for consistency and for the next step of removing some scene locks 
							
						 
						
							2011-10-29 02:30:33 +01:00  
				
					
						
							
							
								 
						
							
							
								ef8370fb8e 
								
							
								 
							
						 
						
							
							
								
								tidy up OdeCharacter so that we just use OpenMetaverse.Vector3 assignment directly where possible, instead of transferring X, Y and Z components separately  
							
							... 
							
							
							
							some of this is probably a hold over from using ODE.Vector3, which is still necessary in some places. 
							
						 
						
							2011-10-29 02:07:28 +01:00  
				
					
						
							
							
								 
						
							
							
								a5ea9f8830 
								
							
								 
							
						 
						
							
							
								
								Move position set from taint to logically better position at top of ODECharacter.ProcessTaints() though this makes no practical difference  
							
							
							
						 
						
							2011-10-29 01:46:22 +01:00  
				
					
						
							
							
								 
						
							
							
								5ae8de3c00 
								
							
								 
							
						 
						
							
							
								
								Stop setting _position as well as m_taint_position in ODECharacter.Position  
							
							... 
							
							
							
							setting position at the same time as taint appears to undermine the whole purpose of taint
testing doesn't reveal any obvious regressions in doing this 
							
						 
						
							2011-10-29 01:39:48 +01:00  
				
					
						
							
							
								 
						
							
							
								61e97ee4c8 
								
							
								 
							
						 
						
							
							
								
								Remove completely unused SOG.Rotation parameter  
							
							... 
							
							
							
							We always use SOP.Rotation instead 
							
						 
						
							2011-10-29 00:39:01 +01:00  
				
					
						
							
							
								 
						
							
							
								c2da1c4580 
								
							
								 
							
						 
						
							
							
								
								set grp.RootPart.GroupPosition for code consistency (and readability) rather than calling SOP.OffsetForNewRegion  
							
							
							
						 
						
							2011-10-28 23:43:31 +01:00  
				
					
						
							
							
								 
						
							
							
								9bf8c3e7b7 
								
							
								 
							
						 
						
							
							
								
								Add missing doc to rotation/position methods in SOG  
							
							
							
						 
						
							2011-10-28 23:38:57 +01:00  
				
					
						
							
							
								 
						
							
							
								0fe756e42c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-28 23:16:46 +01:00  
				
					
						
							
							
								 
						
							
							
								7b46506822 
								
							
								 
							
						 
						
							
							
								
								fetch SOP.RotationOffset once in UpdateRotation() and compare rather than fetch four separate times.  
							
							... 
							
							
							
							No functional change. 
							
						 
						
							2011-10-28 23:15:51 +01:00  
				
					
						
							
							
								 
						
							
							
								272bf71279 
								
							
								 
							
						 
						
							
							
								
								Removed use of 'is' operator and casting to find the root ScenePresence in MessageTransfer modules and Groups module.  
							
							
							
						 
						
							2011-10-27 02:26:37 -07:00  
				
					
						
							
							
								 
						
							
							
								06577d7299 
								
							
								 
							
						 
						
							
							
								
								Continuation of previous checkin. Found more places where ForEachScenePresence can be changed to ForEachRootScenePresence.  
							
							
							
						 
						
							2011-10-27 01:25:12 -07:00  
				
					
						
							
							
								 
						
							
							
								b98613091c 
								
							
								 
							
						 
						
							
							
								
								Added new ForEachRootScenePresence to Scene since almost every delegate passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.  
							
							
							
						 
						
							2011-10-27 00:42:21 -07:00  
				
					
						
							
							
								 
						
							
							
								40bee97015 
								
							
								 
							
						 
						
							
							
								
								For now, comment out error message on new script engine console commands.  
							
							... 
							
							
							
							This causes false positives if a simulator has more than 1 region and the current region is 'root' since this sends the command separately to each region and each region has its own XEngine 
							
						 
						
							2011-10-27 03:01:27 +01:00  
				
					
						
							
							
								 
						
							
							
								76c50d23f2 
								
							
								 
							
						 
						
							
							
								
								Comment out inventory folder bulk update code on InventoryAccepted message introduced in commit  db91044 on Aug 22 2011  
							
							... 
							
							
							
							This should be unecessary since the folder update is already made at the time of the offer (and moved to trash if not accepted).
This code was also not taking into account the situation where an item was accepted.
Needs more fixing if this results in an aggression elsewhere. 
							
						 
						
							2011-10-27 02:56:08 +01:00  
				
					
						
							
							
								 
						
							
							
								e210d95821 
								
							
								 
							
						 
						
							
							
								
								Don't blow our brains out if LLClientView.BulkInventoryUpdate() is wrongly passed a null node reference.  
							
							... 
							
							
							
							Addresses worst aspect of http://opensimulator.org/mantis/view.php?id=5752  
							
						 
						
							2011-10-27 02:50:58 +01:00  
				
					
						
							
							
								 
						
							
							
								2db6a8ce8f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-27 02:06:59 +01:00  
				
					
						
							
							
								 
						
							
							
								820242bc49 
								
							
								 
							
						 
						
							
							
								
								Fix a bug I introduced yesterday in ODE physics where prim scripts would only receive the very first collision.  
							
							
							
						 
						
							2011-10-27 02:05:59 +01:00  
				
					
						
							
							
								 
						
							
							
								41395d5443 
								
							
								 
							
						 
						
							
							
								
								Added optional owner classes to existing OSSL agent Permissions  
							
							... 
							
							
							
							PARCEL_GROUP, PARCEL_OWNER, ESTATE_MANAGER and REGION_OWNER can be combined with the existing agent uuid option to limit ossl functions to agents and owner classes.
Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-10-26 10:35:50 -04:00  
				
					
						
							
							
								 
						
							
							
								9a28e7a4e0 
								
							
								 
							
						 
						
							
							
								
								Implementation of PRIM_OMEGA, but only for setting  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-10-26 08:41:07 -04:00  
				
					
						
							
							
								 
						
							
							
								059f4b6a3a 
								
							
								 
							
						 
						
							
							
								
								Implementing PRIM_LINK_TARGET, but only for setting params  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-10-26 07:47:44 -04:00  
				
					
						
							
							
								 
						
							
							
								6a74a4c12b 
								
							
								 
							
						 
						
							
							
								
								Clear OdeCharacter CollisionEventUpdate when we subscribe or unsubscribe from collision events  
							
							
							
						 
						
							2011-10-25 22:46:42 +01:00  
				
					
						
							
							
								 
						
							
							
								0f83f87233 
								
							
								 
							
						 
						
							
							
								
								Remove unused fields from CollisionEventUpdate  
							
							
							
						 
						
							2011-10-25 22:39:08 +01:00  
				
					
						
							
							
								 
						
							
							
								c825c9a945 
								
							
								 
							
						 
						
							
							
								
								Get rid of the pointless null checks on collision listeners.  Add warning about synchronicity for PhysicsActor.OnCollisionUpdate event doc  
							
							
							
						 
						
							2011-10-25 22:35:00 +01:00  
				
					
						
							
							
								 
						
							
							
								b9f106f484 
								
							
								 
							
						 
						
							
							
								
								When sending object collision updates, don't null out and recreate the CollisionEventUpdate() if the number of collisions falls to zero.  Reuse the existing one instead.  
							
							
							
						 
						
							2011-10-25 22:28:40 +01:00  
				
					
						
							
							
								 
						
							
							
								5d37f0471e 
								
							
								 
							
						 
						
							
							
								
								For ScenePresence collision events, instead of creating a new CollisionEventsThisFrame every time we need to send some new ones, reuse the existing one instead.  
							
							... 
							
							
							
							This assumes that the listener is using the data synchronously, which is currently the case. 
							
						 
						
							2011-10-25 22:19:17 +01:00  
				
					
						
							
							
								 
						
							
							
								7b6b36cee9 
								
							
								 
							
						 
						
							
							
								
								Fix bug where collision event listeners were not removed once the listener had gone away.  
							
							... 
							
							
							
							This was causing continuous use of temporary memory even when all avatars had left the scene.
Memory does leak but it does cause more calls to the garbage collector, which would pause the scene thread for a very short while during collection. 
							
						 
						
							2011-10-25 21:40:51 +01:00  
				
					
						
							
							
								 
						
							
							
								1fbb379536 
								
							
								 
							
						 
						
							
							
								
								minor: rename a parameter in OdeScene.Simulate() from actor -> prim since it's an OdePrim  
							
							
							
						 
						
							2011-10-25 21:15:37 +01:00  
				
					
						
							
							
								 
						
							
							
								8a0a78cbcc 
								
							
								 
							
						 
						
							
							
								
								Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead of the other way around.  
							
							... 
							
							
							
							This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes.
Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers
Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer
MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this.  This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo) 
							
						 
						
							2011-10-25 20:24:21 +01:00  
				
					
						
							
							
								 
						
							
							
								9ec672c70b 
								
							
								 
							
						 
						
							
							
								
								Fix bugs in EventQueueGetModule.ClientClosed() and BaseHttpServer.RemovePollServerHTTPHandler() that stopped existing code in ClientClosed() from actually tearing down the poll handler  
							
							... 
							
							
							
							Actually doing the tear down appear to have no ill effects with region crossing and teleport. 
							
						 
						
							2011-10-24 23:16:03 +01:00  
				
					
						
							
							
								 
						
							
							
								79d5bc9beb 
								
							
								 
							
						 
						
							
							
								
								separate out future common setup code from EventQueueTests.AddForClient()  
							
							
							
						 
						
							2011-10-24 22:29:13 +01:00  
				
					
						
							
							
								 
						
							
							
								e28e2d24c7 
								
							
								 
							
						 
						
							
							
								
								Add new EventQueueTests with basic test to check that adding a client registers an http poll  
							
							
							
						 
						
							2011-10-24 22:23:41 +01:00  
				
					
						
							
							
								 
						
							
							
								4c9400e646 
								
							
								 
							
						 
						
							
							
								
								Add optional getauthinfo and setauthinfo authentication service calls.  
							
							... 
							
							
							
							These are disabled by default, as before.  Please only turn these on in secure grids, since they allow the same facilities as the existing SetPassword call (also disabled by default)
These facilities can be helpful when integrating external systems, in addition to the existing option of adapting an IAuthenticationService or using WebLoginKey 
							
						 
						
							2011-10-24 21:40:36 +01:00  
				
					
						
							
							
								 
						
							
							
								b868328d51 
								
							
								 
							
						 
						
							
							
								
								Comment out the uuid gatherer lines that I accidentally left in.  
							
							
							
						 
						
							2011-10-23 03:14:32 +01:00  
				
					
						
							
							
								 
						
							
							
								c2272a755f 
								
							
								 
							
						 
						
							
							
								
								Fix missing Busy-Mode Response  
							
							... 
							
							
							
							http://opensimulator.org/mantis/view.php?id=5748  
						
							2011-10-22 13:17:07 -04:00  
				
					
						
							
							
								 
						
							
							
								3fc47275cf 
								
							
								 
							
						 
						
							
							
								
								Add case to Lightshare/Windlight  
							
							... 
							
							
							
							Thanks thomax for a patch to add handling for Sun/Moon pos. 
							
						 
						
							2011-10-22 13:06:34 -04:00  
				
					
						
							
							
								 
						
							
							
								ffdf59a57c 
								
							
								 
							
						 
						
							
							
								
								Get UUIDGatherer to scan notecards in the graph for asset uuids.  
							
							... 
							
							
							
							This is to support npc baked texture saving in oars and iars.
May address http://opensimulator.org/mantis/view.php?id=5743  
							
						 
						
							2011-10-22 02:16:46 +01:00  
				
					
						
							
							
								 
						
							
							
								9b3bbedeea 
								
							
								 
							
						 
						
							
							
								
								refactor: rename some AssetHelpers.CreateAsset() methods to CreateNotecardAsset()  
							
							
							
						 
						
							2011-10-22 00:13:46 +01:00  
				
					
						
							
							
								 
						
							
							
								4241ee5dfa 
								
							
								 
							
						 
						
							
							
								
								very minor removal of old commented out line of code in OdeScene  
							
							
							
						 
						
							2011-10-21 00:04:36 +01:00  
				
					
						
							
							
								 
						
							
							
								30fe66d3ab 
								
							
								 
							
						 
						
							
							
								
								remove unnecessary null check on _collisionEventPrim  
							
							
							
						 
						
							2011-10-20 20:58:29 +01:00  
				
					
						
							
							
								 
						
							
							
								9c43020876 
								
							
								 
							
						 
						
							
							
								
								Get OdeScene to use passed in time step rather than hard-coded 0.089  
							
							... 
							
							
							
							However, I still don't recommend changing MinFrameTime from 0.089, high values do not work well and lower values don't seem to make much difference 
							
						 
						
							2011-10-20 20:48:51 +01:00  
				
					
						
							
							
								 
						
							
							
								6837e44d07 
								
							
								 
							
						 
						
							
							
								
								Pass PhysicsScene.Simulate() only the MinFrameTime rather than the useless Math.Max(SinceLastFrame.TotalSeconds, MinFrameTime)  
							
							... 
							
							
							
							SinceLastFrame was calculating the interval between any sleep that had occurred to pad out the frame time and the start of the next frame.
This would usually be below MinFrameTime but occasionally if the sleep was long it would be above, often due to the time required to update the watchdog.
This doesn't appear to play much practical role right now.
ODE was actually ignoring it entirely.  Bullet might be helped slightly by receiving a non-varying value. 
							
						 
						
							2011-10-20 19:44:59 +01:00  
				
					
						
							
							
								 
						
							
							
								b63ec987b0 
								
							
								 
							
						 
						
							
							
								
								For now, stop passing timeStep into methods where it's not actually used.  
							
							
							
						 
						
							2011-10-20 17:54:32 +01:00  
				
					
						
							
							
								 
						
							
							
								f16d125027 
								
							
								 
							
						 
						
							
							
								
								Change wording on asset requests.  
							
							... 
							
							
							
							Not all 'notified missing' assets are a problem.  Some are invalid references which happen to be buried in other text. 
							
						 
						
							2011-10-19 23:56:17 +01:00  
				
					
						
							
							
								 
						
							
							
								9ab2943abf 
								
							
								 
							
						 
						
							
							
								
								Removed redundant NotInTransit function from ScenePresence. IsInTransit=false does the same thing and NotInTransit was not used anywhere.  
							
							
							
						 
						
							2011-10-19 15:50:09 -07:00  
				
					
						
							
							
								 
						
							
							
								eac29396d9 
								
							
								 
							
						 
						
							
							
								
								Moved HaveNeighbor utility function from ScenePresence to Scene. Fixed line endings from previous commit.  
							
							
							
						 
						
							2011-10-19 15:38:25 -07:00  
				
					
						
							
							
								 
						
							
							
								8b20faf06c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-10-19 14:43:16 -07:00  
				
					
						
							
							
								 
						
							
							
								da794f34a5 
								
							
								 
							
						 
						
							
							
								
								Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of scene presence by client ID.  
							
							
							
						 
						
							2011-10-19 14:41:44 -07:00  
				
					
						
							
							
								 
						
							
							
								601dabb1b7 
								
							
								 
							
						 
						
							
							
								
								Extend scripts stop/start/suspend/resume console commands to allow action on a single script by giving the script item id (which can be found via scripts show).  
							
							... 
							
							
							
							Not an ideal way to do this on a region with many scripts.  Needs refinement later. 
							
						 
						
							2011-10-19 22:30:31 +01:00  
				
					
						
							
							
								 
						
							
							
								32c3faedd6 
								
							
								 
							
						 
						
							
							
								
								Add "scripts stop" and "scripts start" console commands.  
							
							... 
							
							
							
							These will stop all running scripts and start all stopped scripts respectively.
A stopped script does not save any events for later processing. 
							
						 
						
							2011-10-19 21:40:28 +01:00  
				
					
						
							
							
								 
						
							
							
								f836710af5 
								
							
								 
							
						 
						
							
							
								
								minor: improve command help on scripts suspend/resume  
							
							
							
						 
						
							2011-10-19 21:34:55 +01:00  
				
					
						
							
							
								 
						
							
							
								5607fd3af8 
								
							
								 
							
						 
						
							
							
								
								Fix resume scripts.  
							
							... 
							
							
							
							On resume, we need to place requeue the script for event processing if there are any events on the queue.
Also need to do this under m_Script lock in order to avoid a race 
							
						 
						
							2011-10-19 21:30:37 +01:00  
				
					
						
							
							
								 
						
							
							
								3cf7fb4eca 
								
							
								 
							
						 
						
							
							
								
								Add "scripts suspend" and "scripts resume" commands.  
							
							... 
							
							
							
							These aim currently to suspend and resume all scripts.
However, resume isn't currently working due to what looks like a bug in resume functionality itself. 
							
						 
						
							2011-10-19 20:53:24 +01:00  
				
					
						
							
							
								 
						
							
							
								b45219065c 
								
							
								 
							
						 
						
							
							
								
								on log and "show scripts" messages, show script item UUID rather than asset UUID  
							
							... 
							
							
							
							The item ID is the one required for any script manipulation on the command line, so I think it's somewhat more useful to show this bearing in mind the limited space available 
							
						 
						
							2011-10-19 20:26:05 +01:00  
				
					
						
							
							
								 
						
							
							
								116fbe8258 
								
							
								 
							
						 
						
							
							
								
								add current script status to "scripts show" command (running, suspended, etc.)  
							
							
							
						 
						
							2011-10-19 20:24:07 +01:00  
				
					
						
							
							
								 
						
							
							
								ecad9f9fd5 
								
							
								 
							
						 
						
							
							
								
								Add "show scripts" command to show all scripts currently known to the script engine in the current region.  
							
							... 
							
							
							
							Also added synonym of "scripts show" 
							
						 
						
							2011-10-19 20:09:02 +01:00  
				
					
						
							
							
								 
						
							
							
								581885da75 
								
							
								 
							
						 
						
							
							
								
								Temporarily put in log lines to record time taken to set terrain in OdeScene.  
							
							
							
						 
						
							2011-10-18 21:21:15 +01:00  
				
					
						
							
							
								 
						
							
							
								03202ada29 
								
							
								 
							
						 
						
							
							
								
								Store scene identifier passed in to OdeScene for later debug messages  
							
							
							
						 
						
							2011-10-18 21:11:13 +01:00  
				
					
						
							
							
								 
						
							
							
								1d4cd76e8a 
								
							
								 
							
						 
						
							
							
								
								Don't bother taking OdeLock during OdeScene construction, since there can be no contention until the object is constructed.  
							
							
							
						 
						
							2011-10-18 21:03:41 +01:00  
				
					
						
							
							
								 
						
							
							
								f10a824e47 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary lock of OdeLock in OdePrim.changeadd()  
							
							... 
							
							
							
							This taint can only ever be processed from the OdeScene.Simulate() loop, which already locks OdeLock. 
							
						 
						
							2011-10-18 20:58:59 +01:00  
				
					
						
							
							
								 
						
							
							
								5515c45e3b 
								
							
								 
							
						 
						
							
							
								
								minor: method doc to explain a lock of OdeLock  
							
							
							
						 
						
							2011-10-18 20:56:11 +01:00  
				
					
						
							
							
								 
						
							
							
								71d221cdc0 
								
							
								 
							
						 
						
							
							
								
								Remove the unused CollisionLocker from ODE  
							
							... 
							
							
							
							Despite its name, this wasn't actually being used in any collision checking 
							
						 
						
							2011-10-18 17:35:58 +01:00  
				
					
						
							
							
								 
						
							
							
								aeb4ff0274 
								
							
								 
							
						 
						
							
							
								
								Allow an avatar to be explicitly named to the "debug packet" command  
							
							
							
						 
						
							2011-10-17 20:58:23 +01:00  
				
					
						
							
							
								 
						
							
							
								120114e96b 
								
							
								 
							
						 
						
							
							
								
								refactor: Make IClientAPI.DebugPacketFormat a property rather than a setter without a getter  
							
							
							
						 
						
							2011-10-17 20:50:29 +01:00  
				
					
						
							
							
								 
						
							
							
								96ff2c63ed 
								
							
								 
							
						 
						
							
							
								
								Add avatar names to debug packet output  
							
							
							
						 
						
							2011-10-17 20:37:01 +01:00  
				
					
						
							
							
								 
						
							
							
								62a63f834b 
								
							
								 
							
						 
						
							
							
								
								refactor: Use SOP.SitTargetAvatar instead of calling a special GetAvatarOnSitTarget() which returned exactly the same thing  
							
							
							
						 
						
							2011-10-17 02:04:20 +01:00  
				
					
						
							
							
								 
						
							
							
								79c13cd997 
								
							
								 
							
						 
						
							
							
								
								rename OS_NPC_SIT_IMMEDIATE to OS_NPC_SIT_NOW since it's shorter and more understandable  
							
							... 
							
							
							
							This makes something like osNpcSit(npc, llGetKey(), OS_NPC_IMMEDIATE) now become
osNpcSit(npc, llGetKey(), OS_NPC_SIT_NOW);
This is why it's in development :) 
							
						 
						
							2011-10-17 01:57:23 +01:00  
				
					
						
							
							
								 
						
							
							
								de161585c0 
								
							
								 
							
						 
						
							
							
								
								Implement osNpcStand(<npc-id>)  
							
							... 
							
							
							
							Allows you to stand an NPC that has sat. 
							
						 
						
							2011-10-17 01:56:25 +01:00  
				
					
						
							
							
								 
						
							
							
								0c041ce12f 
								
							
								 
							
						 
						
							
							
								
								Implement osNpcSit().  This is still in development so don't trust it  
							
							... 
							
							
							
							Format is osNpcSit(<npc-uuid>, <target-uuid>, OS_NPC_SIT_IMMEDIATE)
e.g. osNpcSit(npc, llGetKey(), OS_NPC_SIT_IMMEDIATE);
At the moment, sit only succeeds if the part has a sit target set.
NPC immediately sits on the target even if miles away - they do not walk up to it.
This method is in development - it may change so please don't trust it yet.
Standing will follow shortly since that's kind of important once you're sitting :) 
							
						 
						
							2011-10-17 01:42:31 +01:00  
				
					
						
							
							
								 
						
							
							
								b9930a6305 
								
							
								 
							
						 
						
							
							
								
								improve method doc on Scene.OtherRegionUp()  
							
							... 
							
							
							
							this is really just to trigger panda. 
							
						 
						
							2011-10-15 03:17:58 +01:00  
				
					
						
							
							
								 
						
							
							
								ddf54b5537 
								
							
								 
							
						 
						
							
							
								
								move see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with the others  
							
							
							
						 
						
							2011-10-15 03:03:05 +01:00  
				
					
						
							
							
								 
						
							
							
								528cc8136e 
								
							
								 
							
						 
						
							
							
								
								fetch physical_prim switch from [Startup] config from inside scene, as is done for most other scene config params  
							
							
							
						 
						
							2011-10-15 02:54:43 +01:00  
				
					
						
							
							
								 
						
							
							
								5ddefc2564 
								
							
								 
							
						 
						
							
							
								
								remove now redundant m_physical_prim flag from SOP.ApplyPhysics()  
							
							
							
						 
						
							2011-10-15 02:47:27 +01:00  
				
					
						
							
							
								 
						
							
							
								3843efe478 
								
							
								 
							
						 
						
							
							
								
								Restore [Startup] physical_prim flag which can stop any prims being subject to physics  
							
							... 
							
							
							
							This had stopped working.  However, at the moment it still allows the physics flag to be set even though this has no effect.  This needs to be fixed.
Default for this flag is true as previously. 
							
						 
						
							2011-10-15 02:42:43 +01:00  
				
					
						
							
							
								 
						
							
							
								f2889d7ce9 
								
							
								 
							
						 
						
							
							
								
								remove redundant PhysActor.IsPhysical call from SOP.UpdatePrimFlags() as its done immediately afterwards in DoPhysicsPropertyUpdate()  
							
							
							
						 
						
							2011-10-15 02:12:46 +01:00  
				
					
						
							
							
								 
						
							
							
								732e937379 
								
							
								 
							
						 
						
							
							
								
								refactor: Remove redundant code in SOP.UpdatePrimFlags()  
							
							
							
						 
						
							2011-10-15 02:07:05 +01:00  
				
					
						
							
							
								 
						
							
							
								c93c9ea072 
								
							
								 
							
						 
						
							
							
								
								factor common code out into SOP.RemoveFromPhysics()  
							
							
							
						 
						
							2011-10-15 02:02:39 +01:00  
				
					
						
							
							
								 
						
							
							
								978fb3d482 
								
							
								 
							
						 
						
							
							
								
								reduce access to ODECharacter methods to make code analysis easier.  Eliminate redundant argument on ProcessTaints()  
							
							
							
						 
						
							2011-10-15 01:41:39 +01:00  
				
					
						
							
							
								 
						
							
							
								9cc2694776 
								
							
								 
							
						 
						
							
							
								
								restrict unnecessary access levels on ODEPrim fields/properties  
							
							
							
						 
						
							2011-10-15 01:31:09 +01:00  
				
					
						
							
							
								 
						
							
							
								f2132329a3 
								
							
								 
							
						 
						
							
							
								
								refactor: make methods that do not need to be public in ODE private or internal to aid code reading/analysis.  Remove some unused method arguments  
							
							
							
						 
						
							2011-10-15 01:20:40 +01:00  
				
					
						
							
							
								 
						
							
							
								4bfc2f5cde 
								
							
								 
							
						 
						
							
							
								
								Change hardcoded ODE total frame time to match the default total frame time (0.09375 -> 0.089).  
							
							... 
							
							
							
							No apparant ill effects - because the default stepsize is 0.2, there are still 5 physics steps per physics frame.
This is a precursor to using the elapsed value passed in (and now changeable in config). 
							
						 
						
							2011-10-14 21:07:57 +01:00  
				
					
						
							
							
								 
						
							
							
								aa19ccf65c 
								
							
								 
							
						 
						
							
							
								
								refactor: rename IClientAPI.SendPrimUpdate() to SendEntityUpdate() since it sends entity updates (including presence ones), not just prims.  
							
							
							
						 
						
							2011-10-14 01:45:46 +01:00  
				
					
						
							
							
								 
						
							
							
								77c65951e0 
								
							
								 
							
						 
						
							
							
								
								Extract NullPhysicsScene from PhysicsScene to improve code readability  
							
							
							
						 
						
							2011-10-14 01:38:14 +01:00  
				
					
						
							
							
								 
						
							
							
								ee84c0589c 
								
							
								 
							
						 
						
							
							
								
								Don't execute rest of code in XEngine.RemoveRegion() and Close() if the module is disabled.  
							
							
							
						 
						
							2011-10-14 01:06:43 +01:00  
				
					
						
							
							
								 
						
							
							
								4e7d4330c2 
								
							
								 
							
						 
						
							
							
								
								Expose minimum frame time and update periods for experimentation.  
							
							... 
							
							
							
							Settings are at bottom of [Startup] in OpenSimDefaults.ini, override in OpenSim.ini to change
Defaults are the same as previously.
More information to come on opensim-dev shortly.
Feel free to tweak but if you do please don't expect any support unless feedback on certain tweaks is explicitly requested. 
							
						 
						
							2011-10-13 23:47:37 +01:00  
				
					
						
							
							
								 
						
							
							
								128d8dfd8b 
								
							
								 
							
						 
						
							
							
								
								refactor: Put the frame update period when temporary objects are cleaned up in a field, like all the other update periods  
							
							
							
						 
						
							2011-10-13 22:28:42 +01:00  
				
					
						
							
							
								 
						
							
							
								fd274a6688 
								
							
								 
							
						 
						
							
							
								
								refactor: chain the two scene constructors together to eliminate more copypasta  
							
							
							
						 
						
							2011-10-13 22:21:03 +01:00  
				
					
						
							
							
								 
						
							
							
								a6fa15e8b6 
								
							
								 
							
						 
						
							
							
								
								Tie reported FPS correction factor into the minimum frame time rather than setting separately.  
							
							... 
							
							
							
							This makes reported FPS scale as required if min frame time changes 
							
						 
						
							2011-10-13 22:07:55 +01:00  
				
					
						
							
							
								 
						
							
							
								ceb326284e 
								
							
								 
							
						 
						
							
							
								
								Move fps stat adjustment factor into field rather than hard-coded.  
							
							
							
						 
						
							2011-10-13 21:55:51 +01:00  
				
					
						
							
							
								 
						
							
							
								20da04fd0c 
								
							
								 
							
						 
						
							
							
								
								More method doc and formatting changes.  Makes DestroyOdeStructures() private  
							
							
							
						 
						
							2011-10-13 21:42:24 +01:00  
				
					
						
							
							
								 
						
							
							
								227db07f2f 
								
							
								 
							
						 
						
							
							
								
								refactor: move 3x copy/pasted ode structure removal code in ODECharacter into a DestroyOdeStructures() method  
							
							... 
							
							
							
							also adds some method doc 
							
						 
						
							2011-10-13 18:19:13 +01:00  
				
					
						
							
							
								 
						
							
							
								f08664f422 
								
							
								 
							
						 
						
							
							
								
								remove some mono compiler warnings  
							
							
							
						 
						
							2011-10-12 21:54:25 +01:00  
				
					
						
							
							
								 
						
							
							
								631d5e16ef 
								
							
								 
							
						 
						
							
							
								
								Get rid of some traces of the old pre-ROBUST grid architecture config  
							
							
							
						 
						
							2011-10-12 21:51:34 +01:00  
				
					
						
							
							
								 
						
							
							
								f5f7ca47ea 
								
							
								 
							
						 
						
							
							
								
								Bring LindenUDP.Tests back from the dead.  No tests are running.  
							
							... 
							
							
							
							Code drift means that most of this stuff doesn't compile but the structure is still useful. 
							
						 
						
							2011-10-12 21:31:22 +01:00  
				
					
						
							
							
								 
						
							
							
								ea7366ddc6 
								
							
								 
							
						 
						
							
							
								
								When shutting down XEngine, log how many scripts are being shutdown so the user knows why they are waiting.  
							
							
							
						 
						
							2011-10-12 19:42:04 +01:00  
				
					
						
							
							
								 
						
							
							
								c5826d589a 
								
							
								 
							
						 
						
							
							
								
								minor: insert some commented out log lines which are a blunt but useful instrument to see packet expiry and received acks  
							
							
							
						 
						
							2011-10-12 19:35:40 +01:00  
				
					
						
							
							
								 
						
							
							
								36e73dbc9b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-12 19:24:03 +01:00  
				
					
						
							
							
								 
						
							
							
								f9ffd2538f 
								
							
								 
							
						 
						
							
							
								
								Improve some method doc for LLUDPClient, LLUDPServer and UnackedPacketCollection  
							
							
							
						 
						
							2011-10-12 19:22:30 +01:00  
				
					
						
							
							
								 
						
							
							
								ca74088d94 
								
							
								 
							
						 
						
							
							
								
								Change default groups messaging module in hardcode to the empty string.  
							
							... 
							
							
							
							Modules should not assume thet they are the one and only, but only be
enabled when explicitly configured. 
							
						 
						
							2011-10-12 09:21:46 +01:00  
				
					
						
							
							
								 
						
							
							
								fe3594c5ea 
								
							
								 
							
						 
						
							
							
								
								Start recording object updates per second statistic (analogue of agent updates per secod) and expose via monitoring module as ObjectUpdatePerSecondMonitor  
							
							... 
							
							
							
							A useful diagnostic to find out how object updates are burdening a scene 
							
						 
						
							2011-10-11 22:17:05 +01:00  
				
					
						
							
							
								 
						
							
							
								f138a2056e 
								
							
								 
							
						 
						
							
							
								
								meaningless change to goose panda  
							
							
							
						 
						
							2011-10-11 00:29:41 +01:00  
				
					
						
							
							
								 
						
							
							
								28f549bd64 
								
							
								 
							
						 
						
							
							
								
								osSetParcelDetails - PARCEL_DETAILS_CLAIMDATE  
							
							... 
							
							
							
							this new flag set parcels claim date
value 0 for this flag set current unixstamp
http://opensimulator.org/mantis/view.php?id=5725  
							
						 
						
							2011-10-11 00:13:26 +01:00  
				
					
						
							
							
								 
						
							
							
								353e7ce873 
								
							
								 
							
						 
						
							
							
								
								Allow monitoring of stats by region name  
							
							
							
						 
						
							2011-10-10 23:58:27 +01:00  
				
					
						
							
							
								 
						
							
							
								62aad4c18f 
								
							
								 
							
						 
						
							
							
								
								Add other region stats (total frame time, physics fps, etc.) currently missing from MonitorModule  
							
							... 
							
							
							
							Unlike the other 3 stats mechanisms, monitor data can be queried per individual region, which makes this useful.
This doesn't affect an of the existing monitored stats. 
							
						 
						
							2011-10-10 23:48:53 +01:00  
				
					
						
							
							
								 
						
							
							
								19096bd391 
								
							
								 
							
						 
						
							
							
								
								Convert getLastReportedSimFPS() and getLastReportedSimStats() into more idiomatic LastReportedSimFPS and LastReportedSimStats on SimStatsReporter  
							
							
							
						 
						
							2011-10-10 22:23:42 +01:00  
				
					
						
							
							
								 
						
							
							
								8114f895c2 
								
							
								 
							
						 
						
							
							
								
								Provide a way to turn the MonitorModule on and off  
							
							... 
							
							
							
							Default is currently on since this is the historical setting 
							
						 
						
							2011-10-10 22:17:29 +01:00  
				
					
						
							
							
								 
						
							
							
								2b290793ab 
								
							
								 
							
						 
						
							
							
								
								refactor: have lsl and ossl interrogate scene.StatsReporter directly rather than going through scene  
							
							... 
							
							
							
							I know this goes against the law of demeter but I don't think it's that useful here and I'd rather get rid of nasty little wrapper methods 
							
						 
						
							2011-10-10 21:54:08 +01:00  
				
					
						
							
							
								 
						
							
							
								013bf2775f 
								
							
								 
							
						 
						
							
							
								
								remove unused LastAssetID from DynamicTextureUpdaer  
							
							
							
						 
						
							2011-10-10 15:19:23 +01:00  
				
					
						
							
							
								 
						
							
							
								ff80113534 
								
							
								 
							
						 
						
							
							
								
								Go back to lying that sim fps is 55 when it's actually locked at a maximum of 11.  
							
							... 
							
							
							
							We're been lying since 2008 so I'm sure another few years can't hurt.
To know the real fps, either divide sim fps by 5 and/or look at the frame time. 
							
						 
						
							2011-10-08 00:15:15 +01:00  
				
					
						
							
							
								 
						
							
							
								e3c522e211 
								
							
								 
							
						 
						
							
							
								
								Comment out [SCENE PRESENCE] SendAppearanceToAllOtherAgents: log message  
							
							... 
							
							
							
							As per earlier discussions with dslake 
							
						 
						
							2011-10-07 20:51:26 +01:00  
				
					
						
							
							
								 
						
							
							
								4b46b7a5ad 
								
							
								 
							
						 
						
							
							
								
								Fixed line endings from previous commit  
							
							
							
						 
						
							2011-10-06 23:20:51 -07:00  
				
					
						
							
							
								 
						
							
							
								f26a966b8e 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-06 22:50:03 -07:00  
				
					
						
							
							
								 
						
							
							
								4748c19bdb 
								
							
								 
							
						 
						
							
							
								
								Refactored "known child region" in ScenePresence. There were 4 different  
							
							... 
							
							
							
							ways to access the list/dictionary of child regions and locking was
inconsistent. There are now public properties which enforce locks.
Callers are no longer required to create new copies of lists. 
							
						 
						
							2011-10-06 22:47:33 -07:00  
				
					
						
							
							
								 
						
							
							
								1f78dc6504 
								
							
								 
							
						 
						
							
							
								
								remove the pointless slashes on the end of the (5!) different server stat retrieval mechanisms.  
							
							... 
							
							
							
							Original request URLs that end with / will still work, but this will allow one to type /simstatus as well as /simstatus/
Can't do this with webstats yet since it does insane things to the path. 
							
						 
						
							2011-10-07 00:30:35 +01:00  
				
					
						
							
							
								 
						
							
							
								4c812884be 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-06 23:47:41 +01:00  
				
					
						
							
							
								 
						
							
							
								95910f03d4 
								
							
								 
							
						 
						
							
							
								
								WebStats - Home Link Fix  
							
							... 
							
							
							
							http://opensimulator.org/mantis/view.php?id=4536  
						
							2011-10-06 22:30:24 +01:00  
				
					
						
							
							
								 
						
							
							
								9a16e76f51 
								
							
								 
							
						 
						
							
							
								
								Simplified IsInTransit property on ScenePresence and removed InTransit() which called IsInTransit=true which called m_inTransit=true. Also removed NotInTransit().  
							
							
							
						 
						
							2011-10-06 12:39:19 -07:00  
				
					
						
							
							
								 
						
							
							
								08f264d096 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							... 
							
							
							
							Conflicts:
	OpenSim/Region/Framework/Scenes/ScenePresence.cs 
							
						 
						
							2011-10-06 12:22:15 -07:00  
				
					
						
							
							
								 
						
							
							
								bd9ba904c3 
								
							
								 
							
						 
						
							
							
								
								Refactor ScenePresence so gets and sets are through properties. Added private sets when needed. Removed redundant code when methods replicated what the set already does  
							
							
							
						 
						
							2011-10-06 12:19:31 -07:00  
				
					
						
							
							
								 
						
							
							
								ca83f99332 
								
							
								 
							
						 
						
							
							
								
								Instead of adding stat agentMS in all kinds of places, calculate it instead in the main Scene.Update() loop, like the other stats  
							
							... 
							
							
							
							Some of the places where agentMS was added were in separate threads launched by the update loop.  I don't believe this is correct, since such threads are no longer contributing to frame time.
Some of the places were also driven by client input rather than the scene loop.  I don't believe it's appropriate to add this kind of stuff to scene loop stats.
These changes hopefully have the nice affect of making the broken out frame stats actually add up to the total frame time 
							
						 
						
							2011-10-06 00:45:25 +01:00  
				
					
						
							
							
								 
						
							
							
								7fa1c979cf 
								
							
								 
							
						 
						
							
							
								
								rename WebStatsModules.m_scene to m_scenes since it's a list of scenes, not a single one  
							
							
							
						 
						
							2011-10-05 23:36:27 +01:00  
				
					
						
							
							
								 
						
							
							
								8a8983b3d4 
								
							
								 
							
						 
						
							
							
								
								Add user ID to new estate user prompt, to make it clearer and consistent with the main create user prompts  
							
							
							
						 
						
							2011-10-05 23:34:18 +01:00  
				
					
						
							
							
								 
						
							
							
								604708fc96 
								
							
								 
							
						 
						
							
							
								
								Change WebStatsModule to check its config properly, instead of catching the ineviable NullReferenceException!  
							
							... 
							
							
							
							Also, tidy up spacing. 
							
						 
						
							2011-10-05 23:31:53 +01:00  
				
					
						
							
							
								 
						
							
							
								9090039324 
								
							
								 
							
						 
						
							
							
								
								Remove unused local variable i from OdeScene.Simulate()  
							
							
							
						 
						
							2011-10-05 22:15:28 +01:00  
				
					
						
							
							
								 
						
							
							
								7d033187d8 
								
							
								 
							
						 
						
							
							
								
								Make reported sim fps more accurate, in line with frame time ms  
							
							... 
							
							
							
							Also remove some unused fields and improve naming on others. 
							
						 
						
							2011-10-05 22:08:56 +01:00  
				
					
						
							
							
								 
						
							
							
								3142982353 
								
							
								 
							
						 
						
							
							
								
								Removed redundant scene presence lookups in HGMessageTransferModule  
							
							
							
						 
						
							2011-10-05 12:58:24 -07:00  
				
					
						
							
							
								 
						
							
							
								38d205502a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-04 16:59:35 -07:00  
				
					
						
							
							
								 
						
							
							
								146322eb34 
								
							
								 
							
						 
						
							
							
								
								Removed redundant IClientAPI calls from TreePopulatorModule. Removing tree objects already triggers objectkill packet to client. No need to send again.  
							
							
							
						 
						
							2011-10-04 16:59:05 -07:00  
				
					
						
							
							
								 
						
							
							
								b907a66f39 
								
							
								 
							
						 
						
							
							
								
								When creating a new user on the comand line, give the option of allowing a UUID to be specified to override the randomly generated one.  
							
							... 
							
							
							
							This can be useful in some migration cases where recreating user accounts with known IDs will preserve region scene object ownership. 
							
						 
						
							2011-10-04 23:48:35 +01:00  
				
					
						
							
							
								 
						
							
							
								92c88121c7 
								
							
								 
							
						 
						
							
							
								
								Removed all refs to IClientAPI from IAttachmentsModule. Separated client handlers for attachments to call public interface and rearranged module file into sections  
							
							
							
						 
						
							2011-10-04 14:40:39 -07:00  
				
					
						
							
							
								 
						
							
							
								bfa405e6f7 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-03 16:45:04 -07:00  
				
					
						
							
							
								 
						
							
							
								460946ad62 
								
							
								 
							
						 
						
							
							
								
								Removed redundant code in AttachmentsModule and simplified interfaces which converted back and forth between ScenePresence and IClientAPI. More to be done still.  
							
							
							
						 
						
							2011-10-03 16:44:32 -07:00  
				
					
						
							
							
								 
						
							
							
								c7d0d71666 
								
							
								 
							
						 
						
							
							
								
								trival tweak to trigger the continuous integration system  
							
							
							
						 
						
							2011-10-04 00:37:02 +01:00  
				
					
						
							
							
								 
						
							
							
								b98442dcec 
								
							
								 
							
						 
						
							
							
								
								Animation-States Turning Left, Turning Right implemented/enabled  
							
							... 
							
							
							
							http://opensimulator.org/mantis/view.php?id=3036  
						
							2011-10-04 00:27:11 +01:00  
				
					
						
							
							
								 
						
							
							
								a8af0a5ba8 
								
							
								 
							
						 
						
							
							
								
								Return NULL_KEY from llGetTexture if a non-existent face is indicated, rather than ""  
							
							... 
							
							
							
							As per http://wiki.secondlife.com/wiki/LlGetTexture  
							
						 
						
							2011-10-04 00:15:48 +01:00  
				
					
						
							
							
								 
						
							
							
								8a6e6866d9 
								
							
								 
							
						 
						
							
							
								
								For llGetTexture(), if the face texture asset is in the inventory, return the inventory name rather than the asset UUID  
							
							... 
							
							
							
							This is as per http://wiki.secondlife.com/wiki/LlGetTexture 
Applied patch in http://opensimulator.org/mantis/view.php?id=4552  with an additional break statement if an inventory item is found to exit early.
Thanks Michelle Argus! 
							
						 
						
							2011-10-04 00:07:52 +01:00  
				
					
						
							
							
								 
						
							
							
								34026887fe 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-10-03 23:26:52 +01:00  
				
					
						
							
							
								 
						
							
							
								37ae6451f9 
								
							
								 
							
						 
						
							
							
								
								Remove vestigal RegionStatus.SlaveScene.  
							
							... 
							
							
							
							This appears to be code clutter since the code that uses this has long gone. 
							
						 
						
							2011-10-03 23:25:09 +01:00  
				
					
						
							
							
								 
						
							
							
								e77c919290 
								
							
								 
							
						 
						
							
							
								
								Remove usage of Linden packet types from inside Attachments Module and interface  
							
							
							
						 
						
							2011-10-03 11:55:54 -07:00  
				
					
						
							
							
								 
						
							
							
								56dbab35e1 
								
							
								 
							
						 
						
							
							
								
								Remove unimplementated UpdateMovement() methods from SOG, SOP.  
							
							... 
							
							
							
							SP still has an implementation but this is now just a public method on SP rather than an abstract one in EntityBase.
No point making the code more complex until it actually needs to be, 
							
						 
						
							2011-10-01 01:26:50 +01:00  
				
					
						
							
							
								 
						
							
							
								42fe774ad1 
								
							
								 
							
						 
						
							
							
								
								Remove OpenSim.Region.Examples.SimpleModule  
							
							... 
							
							
							
							This module is more than 2 years old and at least some of the 'example' code it gives is now misleading.
Even the logs say it say some bits were broken where it was put in! 
							
						 
						
							2011-10-01 01:21:20 +01:00  
				
					
						
							
							
								 
						
							
							
								c7db3df344 
								
							
								 
							
						 
						
							
							
								
								llGetLinkKey, llGetLinkName Fix for sitting Avatar  
							
							... 
							
							
							
							when an avatar sits on a prim, we get now his key & name ;-)
http://opensimulator.org/mantis/view.php?id=4476  
							
						 
						
							2011-10-01 00:41:47 +01:00  
				
					
						
							
							
								 
						
							
							
								246443773a 
								
							
								 
							
						 
						
							
							
								
								minor: remove clutter null check from pass in config to AvatarFactoryModule.Initialize()  
							
							... 
							
							
							
							This is never null 
							
						 
						
							2011-10-01 00:15:30 +01:00  
				
					
						
							
							
								 
						
							
							
								e742cffe15 
								
							
								 
							
						 
						
							
							
								
								Add Enabled switch in new [Attachments] section in OpenSimDefaults.ini to allow attachments to be temporarily turned off.  
							
							... 
							
							
							
							This is for debugging purposes.  Defaults to Attachments Enabled 
							
						 
						
							2011-09-30 01:19:22 +01:00  
				
					
						
							
							
								 
						
							
							
								528fcede6c 
								
							
								 
							
						 
						
							
							
								
								llAvatarOnLinkSitTarget Implementation  
							
							... 
							
							
							
							http://wiki.secondlife.com/wiki/LlAvatarOnLinkSitTarget  
						
							2011-09-29 01:08:05 +01:00  
				
					
						
							
							
								 
						
							
							
								a3531dec1a 
								
							
								 
							
						 
						
							
							
								
								Add en_US culture setting to the async delete to inventory thread, to avoid any issues with float serialization with machines set to non en_US locales.  
							
							... 
							
							
							
							Doing this to see if addresses inventory object deserialization problems in http://opensimulator.org/mantis/view.php?id=5708 , though if it does I'm really surprised not to have seen it before now.
Really need to go through and systematically set the culture for every timer and change all BeginInvoke calls to FireAndForget instead.
But don't want to do something like that this close to a release. 
							
						 
						
							2011-09-26 23:00:16 +01:00  
				
					
						
							
							
								 
						
							
							
								2b2580e3a1 
								
							
								 
							
						 
						
							
							
								
								Fix for rezzing and derezzing HUDs (see Mantis  #5406 ). From now on updates are only sent to affected clients.  
							
							
							
						 
						
							2011-09-25 00:51:43 +02:00  
				
					
						
							
							
								 
						
							
							
								8caf3ed49e 
								
							
								 
							
						 
						
							
							
								
								Remove the unimplented "clear assets" command.  
							
							... 
							
							
							
							This was a bizarre relic of a bygone age that had no implementations.
If you're using and want to clear the flotsam asset cache then please use the existing "fcache clear" command 
							
						 
						
							2011-09-24 02:22:47 +01:00  
				
					
						
							
							
								 
						
							
							
								39d7945efc 
								
							
								 
							
						 
						
							
							
								
								Added a setting to [Startup] section of config that will allow the simulator to start up with no regions configured.  
							
							... 
							
							
							
							I added the boolean config setting "allow_regionless", defaulting to false. If set to true, opensim will start up ok if no region configurations are found in the specified region_info_source. It will not ask the user to create a region. 
							
						 
						
							2011-09-24 01:59:02 +01:00  
				
					
						
							
							
								 
						
							
							
								c14c4bc1ec 
								
							
								 
							
						 
						
							
							
								
								Don't try and resolve user account for authorization if the agent has come in via hypergrid.  
							
							... 
							
							
							
							If a user account isn't available, this just passes on the name given by the agent instead.
I'm not sure this is particularly useful since I believe that agent names could be faked in this context - it might be no more useful than a viewer agent string.
In fact, there might even be an argument that passing on this name provides a false expectation of authenticity.  However, I will apply for now.
Patch applied from http://opensimulator.org/mantis/view.php?id=5696 
Thanks Michelle Argus. 
							
						 
						
							2011-09-24 01:39:37 +01:00  
				
					
						
							
							
								 
						
							
							
								839c1cdcc4 
								
							
								 
							
						 
						
							
							
								
								Improve locking when access queue in EventQueueGetModule  
							
							
							
						 
						
							2011-09-24 01:10:23 +01:00  
				
					
						
							
							
								 
						
							
							
								bec0cbe82b 
								
							
								 
							
						 
						
							
							
								
								remove unused SOP.Create() method  
							
							
							
						 
						
							2011-09-23 22:20:15 +01:00  
				
					
						
							
							
								 
						
							
							
								c8304b7f84 
								
							
								 
							
						 
						
							
							
								
								Fix avatar parameter updating for viewer 3 and maybe 2.  
							
							... 
							
							
							
							When a slider parameter is changed, the viewer uploads a new shape (or other asset) and the item is updated to point to it.
Viewer 1 uploaded the data in the initial request itself, so the asset references was almost always correctly updated.
However, viewer 3/2 always uploads data in a subsequent xfer, which exposed a race condition where the viewer would make the item update before the asset had uploaded.
This commit shuffles the order of operations to avoid this race, the item is updated with the new asset id instead of the old one while the upload was still taking place.
A second race had to be fixed where avatar appearance would also be updated with the old asset id rather than the new one.
This was fixed by updating the avatar appearance ids when the appearance was actually saved, rather than when the wearables update was made. 
							
						 
						
							2011-09-23 02:59:33 +01:00  
				
					
						
							
							
								 
						
							
							
								41616cad09 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-09-22 01:11:19 +01:00  
				
					
						
							
							
								 
						
							
							
								3ccb58c05c 
								
							
								 
							
						 
						
							
							
								
								Fix failure to teleport when an agent is lured on the same sim (and probably in neighbouring sims) with HG lure active  
							
							... 
							
							
							
							It turns out that the HG lure module was setting up a pending lure when it intercepted the instant message on its way out to the target avatar.
However, an IM would only be sent if the user was remote, so it would not be set up for users on the same sim or in an immediate neighbour.
We fix this by adding the pending lure when the message goes out and ignoring a duplicate pending lure add if it goes to out via IM.
Hopefully addresses http://opensimulator.org/mantis/view.php?id=5690  
							
						 
						
							2011-09-22 01:08:38 +01:00  
				
					
						
							
							
								 
						
							
							
								28a482a7ee 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-09-21 16:24:48 -07:00  
				
					
						
							
							
								 
						
							
							
								2c0bb8118d 
								
							
								 
							
						 
						
							
							
								
								Commented out new debug statements in ScenePresence  
							
							
							
						 
						
							2011-09-21 16:24:19 -07:00  
				
					
						
							
							
								 
						
							
							
								d358125cac 
								
							
								 
							
						 
						
							
							
								
								Reinstate option to land an npc when it reaches a target.  
							
							... 
							
							
							
							This is moved into ScenePresence for now as a general facility 
							
						 
						
							2011-09-22 00:16:05 +01:00  
				
					
						
							
							
								 
						
							
							
								241e07d006 
								
							
								 
							
						 
						
							
							
								
								Move code which handles NPC movement into Scene so that this can also be used by Autopilot coming from the client side.  
							
							... 
							
							
							
							I thought that I had implemented this but must have accidentally removed it.
Adds a regression test to detect if this happens again.
Temporarily disables automatic landing of NPC at a target.  Will be fixed presently. 
							
						 
						
							2011-09-21 23:56:11 +01:00  
				
					
						
							
							
								 
						
							
							
								f9438e7147 
								
							
								 
							
						 
						
							
							
								
								Remove unused and never set SP.PreviousRotation  
							
							
							
						 
						
							2011-09-21 22:01:57 +01:00  
				
					
						
							
							
								 
						
							
							
								572b680cb0 
								
							
								 
							
						 
						
							
							
								
								get rid of an incredibly noisy logging message from the last commit  
							
							
							
						 
						
							2011-09-21 20:15:06 +01:00  
				
					
						
							
							
								 
						
							
							
								c9c40343af 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-09-21 20:05:11 +01:00  
				
					
						
							
							
								 
						
							
							
								8159fd7110 
								
							
								 
							
						 
						
							
							
								
								When calling osNpcMoveTo(), rotate the avatar in the direction of travel.  
							
							... 
							
							
							
							This stops the npc walking backwards if the target is directly behind.
This means that the npc no longer returns to its original rotation once movement has finished.
If you want this behaviour, please store and reset the original rotation after movement.
This is somewhat to address http://opensimulator.org/mantis/view.php?id=5678  
							
						 
						
							2011-09-21 19:28:41 +01:00  
				
					
						
							
							
								 
						
							
							
								fa9291512a 
								
							
								 
							
						 
						
							
							
								
								Make debug statements in ScenePresence consistent and add a few more  
							
							
							
						 
						
							2011-09-20 14:07:10 -07:00  
				
					
						
							
							
								 
						
							
							
								1e798136c3 
								
							
								 
							
						 
						
							
							
								
								adjust some whitespace to trigger another build, to check the last failure was just a glitch  
							
							
							
						 
						
							2011-09-17 01:33:55 +01:00  
				
					
						
							
							
								 
						
							
							
								f950338124 
								
							
								 
							
						 
						
							
							
								
								Remove old bullet DotNET and X libraries in preparation for BulletS  
							
							... 
							
							
							
							These weren't working properly anyway.
You will need to rerun prebuild.sh/.bat after this commit, and maybe "nant clean" as well. 
							
						 
						
							2011-09-17 01:09:25 +01:00  
				
					
						
							
							
								 
						
							
							
								385c4a210d 
								
							
								 
							
						 
						
							
							
								
								On setting a new avatar appearance, if height hasn't changed then don't set that same height in ScenePresence.  
							
							... 
							
							
							
							This prevents unnecessary work in the ODE module, though possibly that should be checking against same size sets itself 
							
						 
						
							2011-09-17 00:26:53 +01:00  
				
					
						
							
							
								 
						
							
							
								6f542f73d4 
								
							
								 
							
						 
						
							
							
								
								Stop the avatar stalling on its first boarder cross when using the ODE plugin  
							
							... 
							
							
							
							When upgrading the previously child agent to a root, the code was setting the Size parameter on the ODECharacter PhysicsActor.
This in turn reset Velocity, which cause the border stall.
I'm fixing this by commenting out the Velocity = Vector3.Zero lines since they don't appear to play a useful purpose 
							
						 
						
							2011-09-16 23:57:16 +01:00  
				
					
						
							
							
								 
						
							
							
								adfe713b43 
								
							
								 
							
						 
						
							
							
								
								minor: I was wrong about OffsetPosition - sometimes it genuinely does return offset position!  
							
							... 
							
							
							
							Add method doc to explain this. 
							
						 
						
							2011-09-16 22:55:24 +01:00  
				
					
						
							
							
								 
						
							
							
								b2356340d2 
								
							
								 
							
						 
						
							
							
								
								Remove setter from SP.OffsetPosition, since all sets should flow through SP.AbsolutePosition  
							
							... 
							
							
							
							OffsetPosition is also misnamed - it returns the absolute position and never contains an offset. 
							
						 
						
							2011-09-16 22:51:36 +01:00  
				
					
						
							
							
								 
						
							
							
								a00327d0e5 
								
							
								 
							
						 
						
							
							
								
								Fix build errors on Windows by adding missing OpenSim.Services.Base reference  
							
							
							
						 
						
							2011-09-16 19:54:23 +01:00  
				
					
						
							
							
								 
						
							
							
								1458fab82c 
								
							
								 
							
						 
						
							
							
								
								Reattaching a region was failing if the estate name had not changed (issue 5035).  
							
							... 
							
							
							
							Using the RemoteAdmin API to close then recreate a region would fail if the estate name had not changed. If the estate name /was/ changed then the existing estate would be renamed rather than a new one being created. The problem really arose from a lack of distinction in the data storage layer between creating new estates and loading existing ones. 
							
						 
						
							2011-09-16 18:50:25 +01:00  
				
					
						
							
							
								 
						
							
							
								9046651583 
								
							
								 
							
						 
						
							
							
								
								Pass any region scope through to the CreateUser() method  
							
							
							
						 
						
							2011-09-16 00:36:43 +01:00  
				
					
						
							
							
								 
						
							
							
								4ae4b14b5d 
								
							
								 
							
						 
						
							
							
								
								refactor: move estate owner setup code into separate method  
							
							
							
						 
						
							2011-09-16 00:24:23 +01:00  
				
					
						
							
							
								 
						
							
							
								522d6261f1 
								
							
								 
							
						 
						
							
							
								
								Correctly create a freshly created estate owner's default items and avatar entries on standalone if applicable.  
							
							
							
						 
						
							2011-09-16 00:12:12 +01:00  
				
					
						
							
							
								 
						
							
							
								c4efb97d49 
								
							
								 
							
						 
						
							
							
								
								Write code to create minimum necessary body parts/clothing and avatar entries to make a newly created user appear as a non-cloud on viewer 2  
							
							... 
							
							
							
							Viewer 2 no longer contains the default avatar assets (i.e. "Ruth") that would appear if the user had insufficient body part/clothing entries.
Instead, avatars always appear as a cloud, which is a very bad experience for out-of-the-box OpenSim.
Default is currently off.  My intention is to switch it on for standalone shortly.
This is not particularly flexible as "Ruth" is hardcoded, but this can change in the future, in co-ordination with the existing RemoteAdmin capabilities.
Need to fix creation of suitable entries for users created as estate owners on standalone.
Avatars still appear with spooky empty eyes, need to see if we can address this.
This commit adds a "Default Iris" to the library (thanks to Eirynne Sieyes from http://opensimulator.org/mantis/view.php?id=1461 ) which can be used. 
							
						 
						
							2011-09-15 22:59:29 +01:00  
				
					
						
							
							
								 
						
							
							
								de19dc3024 
								
							
								 
							
						 
						
							
							
								
								refactor: rename SOG/SOP.GetProperties() to SendPropertiesToClient() to reflect what it actually does  
							
							... 
							
							
							
							This also makes it consistent with some other methods that send data to the client. 
							
						 
						
							2011-09-15 18:58:58 +01:00  
				
					
						
							
							
								 
						
							
							
								a4cc5f628f 
								
							
								 
							
						 
						
							
							
								
								Only bother to create an inventory xfer file if there are any items in a prim inventory  
							
							
							
						 
						
							2011-09-15 18:42:10 +01:00  
				
					
						
							
							
								 
						
							
							
								8fb3e71b14 
								
							
								 
							
						 
						
							
							
								
								Shuffle order of code in invnetory connector GetFolderContent() calls to avoid a possible race condition  
							
							
							
						 
						
							2011-09-15 18:36:22 +01:00  
				
					
						
							
							
								 
						
							
							
								42f1b88eb2 
								
							
								 
							
						 
						
							
							
								
								If a prim inventory becomes empty through deletion, send an empty xfer file name rather than one that references a metadata file containing only the folder object.  
							
							... 
							
							
							
							If we do this, then viewer 3 crashes when we try and rez a script directly in an attachment's prim inventory.
Sending an empty file name was already being done if the prim's inventory had never been touched.
Now we always do that if there are no items in that inventory.
Hopefully addresses the remaining point in http://opensimulator.org/mantis/view.php?id=5644  
							
						 
						
							2011-09-15 18:13:36 +01:00  
				
					
						
							
							
								 
						
							
							
								bd991fc95f 
								
							
								 
							
						 
						
							
							
								
								Don't try and delete attachments for child agent close  
							
							
							
						 
						
							2011-09-13 22:54:50 +01:00  
				
					
						
							
							
								 
						
							
							
								1084d8f6a2 
								
							
								 
							
						 
						
							
							
								
								Remove code from DetachSingleAttachmentToInv() that sets group changed on all parts, now that we're performing this check in UpdateKnownItem() for other purposes  
							
							
							
						 
						
							2011-09-13 22:39:06 +01:00  
				
					
						
							
							
								 
						
							
							
								61affee814 
								
							
								 
							
						 
						
							
							
								
								remove redunant itemID and agentID arguments from UpdateKnownItem().  
							
							... 
							
							
							
							itemID is always taken taken from the group's stored item id, and agentID is never used. 
							
						 
						
							2011-09-13 22:33:15 +01:00  
				
					
						
							
							
								 
						
							
							
								2d62484f11 
								
							
								 
							
						 
						
							
							
								
								Remove UpdateKnownItem() from IAttachmentsModule.  
							
							... 
							
							
							
							It's not appropriate for code outside the attachments module to call this. 
							
						 
						
							2011-09-13 22:27:33 +01:00  
				
					
						
							
							
								 
						
							
							
								62b3e74bc5 
								
							
								 
							
						 
						
							
							
								
								minor: remove redundant grp != null check from AM.UpdateKnownItem()  
							
							
							
						 
						
							2011-09-13 22:24:33 +01:00  
				
					
						
							
							
								 
						
							
							
								8880aea728 
								
							
								 
							
						 
						
							
							
								
								Stop attempts to rewear already worn items from removing and reattaching.  
							
							... 
							
							
							
							Viewer 2/3 will sometimes attempt to rewear attachments, even though they have already been attached during the main login process.
This change ignores those attempts.
This stops script failures during login, as the rewearing was racing with the script startup code.
It might also help with attachments being abnormally put into deleted state.
Hopefully resolves some more of http://opensimulator.org/mantis/view.php?id=5644  
							
						 
						
							2011-09-13 22:13:58 +01:00  
				
					
						
							
							
								 
						
							
							
								618277e797 
								
							
								 
							
						 
						
							
							
								
								Comment out attachments code in Scene.IncomingCreateObject(UUID userID, UUID itemID) for now  
							
							... 
							
							
							
							As far as I can see, this is only invoked by a PUT request to ObjectHandlers, which is not being used anyway.
Invoking attachments code at this point is probably inappropriate since it would still be invoked when the client entered the scene.
Being commented to simplify analysis of attachments issues.  Can be uncommented when in use.
Also, small tweak to lock and log removal of a SOG from the SceneObjectGroupsByLocalPartID collection in SceneGraph.GetGroupByPrim() if an inconsistency is found. 
							
						 
						
							2011-09-13 20:25:32 +01:00  
				
					
						
							
							
								 
						
							
							
								df73833a2c 
								
							
								 
							
						 
						
							
							
								
								stop the duplicate remove of the root part ids from the full part and local part indexes in SG.DeleteSceneObject()  
							
							... 
							
							
							
							this is unnecessary because the parts array iterated through contains the root part as well as the non-root parts 
							
						 
						
							2011-09-13 18:11:13 +01:00  
				
					
						
							
							
								 
						
							
							
								f09a90d8a7 
								
							
								 
							
						 
						
							
							
								
								extend TestGetSceneObjectByPartLocalId() to test state after scene object deletion  
							
							
							
						 
						
							2011-09-13 18:08:05 +01:00  
				
					
						
							
							
								 
						
							
							
								07ba28f1de 
								
							
								 
							
						 
						
							
							
								
								In SG.AddSceneObject(), stop unnecessarily adding the root part to object indexes sepearately from the other parts.  
							
							... 
							
							
							
							The SOG.Parts property contains the root part as well as the non-root parts 
							
						 
						
							2011-09-13 17:56:02 +01:00  
				
					
						
							
							
								 
						
							
							
								c14f0a22d4 
								
							
								 
							
						 
						
							
							
								
								Add new TestGetSceneObjectByPartLocalId() for retrieving a scene object via the local id of one of its parts  
							
							
							
						 
						
							2011-09-13 17:52:10 +01:00  
				
					
						
							
							
								 
						
							
							
								88bd71b978 
								
							
								 
							
						 
						
							
							
								
								improve TestAddSceneObject() to test a multi-part object rather than a single-part  
							
							
							
						 
						
							2011-09-13 17:40:39 +01:00  
				
					
						
							
							
								 
						
							
							
								306af9934a 
								
							
								 
							
						 
						
							
							
								
								In an object return message, send a null-terminated empty string in binary bucket to prevent a viewer 3 crash.  
							
							... 
							
							
							
							This is the message sent to the client when the object is returned.
We were sending byte[0] in the binary bucket.  This didn't kill viewer 1 but did terminate viewer 3 (don't know about viewer 2).
So sending "\0" instead.
This is to address http://opensimulator.org/mantis/view.php?id=5683  
							
						 
						
							2011-09-13 17:13:42 +01:00  
				
					
						
							
							
								 
						
							
							
								dea0935361 
								
							
								 
							
						 
						
							
							
								
								eliminate redundant SP.m_regionInfo since it always has the scene.  
							
							... 
							
							
							
							We were already referencing through the scene in some places. 
							
						 
						
							2011-09-12 23:00:15 +01:00  
				
					
						
							
							
								 
						
							
							
								62b2450529 
								
							
								 
							
						 
						
							
							
								
								remove the unused SP.initializeScenePresence()  
							
							
							
						 
						
							2011-09-12 22:54:54 +01:00  
				
					
						
							
							
								 
						
							
							
								56cd7d9685 
								
							
								 
							
						 
						
							
							
								
								stop the redundant passing in of RegionInfo to SceneGraph, since the Scene is always passed in at the same time.  
							
							
							
						 
						
							2011-09-12 22:51:56 +01:00  
				
					
						
							
							
								 
						
							
							
								00f8946bd4 
								
							
								 
							
						 
						
							
							
								
								minor: if the script engine fails to find a prim for a script, also print out that prim's local id in the error message.  
							
							
							
						 
						
							2011-09-12 22:44:14 +01:00  
				
					
						
							
							
								 
						
							
							
								294120c9d3 
								
							
								 
							
						 
						
							
							
								
								comment out some recent terrain texture logging  
							
							
							
						 
						
							2011-09-12 22:26:04 +01:00  
				
					
						
							
							
								 
						
							
							
								ea0f78c971 
								
							
								 
							
						 
						
							
							
								
								Start locking entire add/remove operations on an IScenePresence.AttachmentsSyncLock object  
							
							... 
							
							
							
							Attach and detach packets are processed asynchronously when received from a viewer.
Bugs like http://opensimulator.org/mantis/view.php?id=5644  indicate that in some situations (such as attaching/detaching entire folders of objects at once), there are race conditions between these threads.
Since multiple data structures need to be updated on attach/detach, it's not enough to lock the individual collections.
Therefore, this commit introduces a new IScenePresence.AttachmentsSyncLock which add/remove operations lock on. 
							
						 
						
							2011-09-12 21:57:22 +01:00  
				
					
						
							
							
								 
						
							
							
								7f318277f1 
								
							
								 
							
						 
						
							
							
								
								When creating an OAR, optionally exclude objects according to their permissions  
							
							
							
						 
						
							2011-09-12 20:09:24 +01:00  
				
					
						
							
							
								 
						
							
							
								517932722b 
								
							
								 
							
						 
						
							
							
								
								minor: put <remarks> tags around some method doc  
							
							
							
						 
						
							2011-09-12 20:06:09 +01:00  
				
					
						
							
							
								 
						
							
							
								728fd0b1b8 
								
							
								 
							
						 
						
							
							
								
								lock attachments when enumerating through them in ScenePresence.CopyTo().  
							
							... 
							
							
							
							May have some effect on http://opensimulator.org/mantis/view.php?id=5644  
							
						 
						
							2011-09-10 01:09:17 +01:00  
				
					
						
							
							
								 
						
							
							
								9c32b131fd 
								
							
								 
							
						 
						
							
							
								
								Add extra log information when attachments fail validation  
							
							
							
						 
						
							2011-09-10 00:57:52 +01:00  
				
					
						
							
							
								 
						
							
							
								7531851bec 
								
							
								 
							
						 
						
							
							
								
								reinstate the validation logging on teleport.  A 'fail' of validation still doesn't prevent the actual teleport.  
							
							
							
						 
						
							2011-09-10 00:45:50 +01:00  
				
					
						
							
							
								 
						
							
							
								de28c9cd24 
								
							
								 
							
						 
						
							
							
								
								Stop the UserManagementModule logging every user it adds for now  
							
							
							
						 
						
							2011-09-10 00:23:52 +01:00  
				
					
						
							
							
								 
						
							
							
								1dd904b78e 
								
							
								 
							
						 
						
							
							
								
								Delay loading scripts until the scene has finished loading  
							
							
							
						 
						
							2011-09-09 23:01:05 +01:00  
				
					
						
							
							
								 
						
							
							
								28961dd1cf 
								
							
								 
							
						 
						
							
							
								
								llSetPrimitiveParams Prim type params precision errors  
							
							
							
						 
						
							2011-09-09 22:53:45 +01:00  
				
					
						
							
							
								 
						
							
							
								bea2e0f32b 
								
							
								 
							
						 
						
							
							
								
								Comment out the part of the load oar code that zeroes out prim sit target orientations and positions.  
							
							... 
							
							
							
							The warning about these causing problems is very old and may no longer apply.
Hopes to fix http://opensimulator.org/mantis/view.php?id=5680  
							
						 
						
							2011-09-09 22:50:54 +01:00  
				
					
						
							
							
								 
						
							
							
								655935db49 
								
							
								 
							
						 
						
							
							
								
								Use a copy of the inventory items list to register users in the thread started by GetFolderContent(), to protect ourselves against callers modifying lists  
							
							... 
							
							
							
							Hopefully this addresses http://opensimulator.org/mantis/view.php?id=5681  
							
						 
						
							2011-09-09 19:55:30 +01:00  
				
					
						
							
							
								 
						
							
							
								086bf9f15d 
								
							
								 
							
						 
						
							
							
								
								Save the default terrain texture UUIDs for a new region instead of leaving them as UUID.Zero.  
							
							... 
							
							
							
							Leaving them at UUID.Zero meant that when a viewer 2 logged into a region that had been freshly created, it received UUID.Zero for these textures, and hence display the land as plain white.
On a simulator restart, the problem would go away since when the database adapators loaded the new region settings, RegionSettings itself has code to use default textures instead of UUID.Zero.
This commit resolves the problem by saving the default texture UUIDs instead of Zero.
However, we currently have to do this in a roundabout way by resaving once the RegionSettings have been created by the database for the first time.  This needless complexity should be addressed.
This change will also have the effect of replacing any existing UUID.Zero terrain textures with the default ones.
However, this shouldn't have any effect since the UUID.Zeros were already being replaced in memory with those same UUIDs. 
							
						 
						
							2011-09-09 00:38:04 +01:00  
				
					
						
							
							
								 
						
							
							
								f5eace6781 
								
							
								 
							
						 
						
							
							
								
								Fix test failure.  Oversight in setting up the tests themselves.  
							
							
							
						 
						
							2011-09-08 21:54:40 +01:00  
				
					
						
							
							
								 
						
							
							
								9615292133 
								
							
								 
							
						 
						
							
							
								
								Centralize module setup for NPC tests.  
							
							... 
							
							
							
							This is overkill for some tests since they dont' need all the modules, but I think the gain in code readability is worth it 
							
						 
						
							2011-09-08 21:06:10 +01:00  
				
					
						
							
							
								 
						
							
							
								96a3b68086 
								
							
								 
							
						 
						
							
							
								
								Remember to set and unset the fire and forget method at the top of the attachment and npc tests  
							
							
							
						 
						
							2011-09-08 20:59:52 +01:00  
				
					
						
							
							
								 
						
							
							
								bd5d2cb043 
								
							
								 
							
						 
						
							
							
								
								Use scene presence agent id for rezzed object ownership rather than item owner.  
							
							... 
							
							
							
							These should be identical.  However, the item isn't available when rezzing npc attachments. 
							
						 
						
							2011-09-08 20:51:52 +01:00  
				
					
						
							
							
								 
						
							
							
								08bd16285d 
								
							
								 
							
						 
						
							
							
								
								When invoking any of the OSSL teleport functions, do it on a separate thread rather than the script thread.  
							
							... 
							
							
							
							This is to prevent the aborting of attachment script threads on teleport from aborting the one actually doing the teleport.
This allows OSSL teleport functions to work when invoked on scripts in attachments (and huds, I assume) 
							
						 
						
							2011-09-07 23:55:41 +01:00  
				
					
						
							
							
								 
						
							
							
								7cadb89a0f 
								
							
								 
							
						 
						
							
							
								
								When a region is added to the HG Inventory Broker, also pass this through to the embedded local inventory connector to prevent an NRE when that connector tries to lookup the UserManager through the scene.  
							
							... 
							
							
							
							This is to address http://opensimulator.org/mantis/view.php?id=5669 
However, if this failure was happening I'm kind of surprised that local HG inventory was working at all.....
We probably weren't seeing these exceptions previously because we weren't logging them when the reached the top of a FireAndForget thread. 
							
						 
						
							2011-09-07 23:16:19 +01:00  
				
					
						
							
							
								 
						
							
							
								d7a516d885 
								
							
								 
							
						 
						
							
							
								
								Add temporary debugging in HGInventoryBroker and RemoveXInventoryServiceConnector  
							
							... 
							
							
							
							This is for http://opensimulator.org/mantis/view.php?id=5669 
If we can't retrieve an IUserManagement module we complain, and we also warn in the log when its manually set in XISC by HGInventoryBroker 
							
						 
						
							2011-09-06 23:16:37 +01:00  
				
					
						
							
							
								 
						
							
							
								e6cd4defdb 
								
							
								 
							
						 
						
							
							
								
								Lock m_pendingObjects when calling GetPendingObjectsCount().  
							
							... 
							
							
							
							This is only called by a region console command.
We should also be locking m_partsUpdateQueue when dequeueing the next part, or locking m_pendingObjects in QueuePartForUpdate().
However, I won't do this now since I don't have time to analyze how this would affect liveness. 
							
						 
						
							2011-09-06 22:48:05 +01:00  
				
					
						
							
							
								 
						
							
							
								3d4d3427cd 
								
							
								 
							
						 
						
							
							
								
								Comment out SceneViewer.Reset() and stop calling from Close() since this is useless work as a closed scene object is never reset.  
							
							... 
							
							
							
							Strictly speaking, we could also stop bothering to clear the m_updateTimes and m_partsUpdateQueue if we are sure that the whole SceneViewer is shortly to be garbage collected anyway, but we'll leave them around for now. 
							
						 
						
							2011-09-06 22:44:34 +01:00  
				
					
						
							
							
								 
						
							
							
								405a5b097b 
								
							
								 
							
						 
						
							
							
								
								Comment out unused ISceneViewer.Reset() to reduce code complexity  
							
							
							
						 
						
							2011-09-06 22:39:01 +01:00  
				
					
						
							
							
								 
						
							
							
								4bf3adffb8 
								
							
								 
							
						 
						
							
							
								
								In SceneViewer, introduce an IsEnabled flag and perform Close() under an m_pendingObjects lock in order to avoid the race condition seen by danbanner in  http://opensimulator.org/mantis/view.php?id=5669  
							
							
							
						 
						
							2011-09-06 22:26:28 +01:00  
				
					
						
							
							
								 
						
							
							
								1a8f5b97b9 
								
							
								 
							
						 
						
							
							
								
								refactor: Make logic in AM.AttachObject() clearer by not reusing existing variables in different contexts  
							
							
							
						 
						
							2011-09-06 02:40:19 +01:00  
				
					
						
							
							
								 
						
							
							
								5beee42809 
								
							
								 
							
						 
						
							
							
								
								rename AM.AddSceneObjectAsAttachment() to AddSceneObjectAsNewAttachmentInInv  
							
							
							
						 
						
							2011-09-06 02:29:22 +01:00  
				
					
						
							
							
								 
						
							
							
								b903d2ca96 
								
							
								 
							
						 
						
							
							
								
								In SetAttachment, if the existing attachment has no asset id then carry on rather than abort.  
							
							... 
							
							
							
							When a user logs in, the attachment item ids are pulled from persistence in the Avatars table.  However,
the asset ids are not saved.  When the avatar enters a simulator the attachments are set again.  If
we simply perform an item check then the asset ids (which are now present) are never set, and NPC attachments
later fail unless the attachment is detached and reattached.
Hopefully resolves part of http://opensimulator.org/mantis/view.php?id=5653  
							
						 
						
							2011-09-06 01:59:21 +01:00  
				
					
						
							
							
								 
						
							
							
								c6ec573d10 
								
							
								 
							
						 
						
							
							
								
								Get rid of the confusing version of IAttachmentsModule.RezSingleAttachmentFromInventory() with the updateInventoryStatus switch, since this is never called with false  
							
							
							
						 
						
							2011-09-06 00:36:38 +01:00  
				
					
						
							
							
								 
						
							
							
								05a4bedc30 
								
							
								 
							
						 
						
							
							
								
								get rid of the unused AttachmentsModule.ShowAttachInUserInventory()  
							
							
							
						 
						
							2011-09-06 00:32:52 +01:00  
				
					
						
							
							
								 
						
							
							
								0cb0140a1d 
								
							
								 
							
						 
						
							
							
								
								Stop the pointless double setting of every attachment in AvatarAppearance.  
							
							... 
							
							
							
							The second was already being filtered out so this has no user level effect 
							
						 
						
							2011-09-06 00:29:37 +01:00  
				
					
						
							
							
								 
						
							
							
								cf73afec35 
								
							
								 
							
						 
						
							
							
								
								Try disabling the inconsistent attachment state check to see if this actually has an impact.  
							
							... 
							
							
							
							The code in question is over three years old and just be catching an inconsistency rather than being wholly necessary.
This commit still carries out the check and prints all the previous log warnings but a 'failure' no longer prevents avatar region crossing or teleport, and it doesn't give the client the error message.
This will have some kind of impact on http://opensimulator.org/mantis/view.php?id=5672  
							
						 
						
							2011-09-05 23:42:37 +01:00  
				
					
						
							
							
								 
						
							
							
								5e579b71fd 
								
							
								 
							
						 
						
							
							
								
								Allow the HGInventoryBroker to set the UserManager when it instantiates a RemoteXInventoryServiceConnector for a visiting HG user.  
							
							... 
							
							
							
							Not doing this causes NREs whenever that user tries to access inventory when Hypergrid is turned on since the Remote connector does not have a scene (which is only used to fetch the UserManager)
Aims to address http://opensimulator.org/mantis/view.php?id=5669  
							
						 
						
							2011-09-05 22:55:48 +01:00  
				
					
						
							
							
								 
						
							
							
								5c1fa968ab 
								
							
								 
							
						 
						
							
							
								
								Stop NPCs losing attachments when the source avatar takes them off.  
							
							... 
							
							
							
							This was happening because we were using the source avatar's item IDs in the clone appearance.
Switch to using the asset IDs of attachments instead for NPCs.
The InventoryAccessModule and AttachmentModule had to be changed to allow rezzing of an object without an associated inventory item.
Hopefully goes some way towards resolving http://opensimulator.org/mantis/view.php?id=5653  
							
						 
						
							2011-09-03 01:11:16 +01:00  
				
					
						
							
							
								 
						
							
							
								e6eb0d9a6f 
								
							
								 
							
						 
						
							
							
								
								Comment out Scene.CleanDroppedAttachments() and calls.  
							
							... 
							
							
							
							This method wasn't actually doing anything since dropped attachments retain a PCode of 9.
Also, behaviour of dropped attachments in other places appears to be that they persist after avatar logout rather than get deleted. 
							
						 
						
							2011-09-02 23:19:27 +01:00  
				
					
						
							
							
								 
						
							
							
								dbcfb25a52 
								
							
								 
							
						 
						
							
							
								
								Remove redundant RootPart.CreatedSelected = true in IAM.RezObject() since this is done through parts iteration  
							
							
							
						 
						
							2011-09-02 22:54:03 +01:00  
				
					
						
							
							
								 
						
							
							
								26b471f25a 
								
							
								 
							
						 
						
							
							
								
								Go back to resetting the State parameter for all parts of a SOG when SOG.ClearPartAttachmentData() is called.  
							
							... 
							
							
							
							Even though we don't use these on rez they are still present after an unlink, after which selecting them causes various viewers to crash
Hopefully really does address http://opensimulator.org/mantis/view.php?id=5664  
							
						 
						
							2011-09-02 22:28:27 +01:00  
				
					
						
							
							
								 
						
							
							
								af7c6c5f39 
								
							
								 
							
						 
						
							
							
								
								stop passing FromUserInventoryItemID right down into the deserializer.  
							
							... 
							
							
							
							the code becomes simpler if this is set from the outside - only one place needs to do this. 
							
						 
						
							2011-09-02 00:50:16 +01:00  
				
					
						
							
							
								 
						
							
							
								9c0a03731d 
								
							
								 
							
						 
						
							
							
								
								Move more of IAM.RezObject() into DoPreRezWhenFromItem()  
							
							
							
						 
						
							2011-09-02 00:41:21 +01:00  
				
					
						
							
							
								 
						
							
							
								15ea82e925 
								
							
								 
							
						 
						
							
							
								
								move more of IAM.RezObject() into DoPreRezWhenFromItem()  
							
							
							
						 
						
							2011-09-02 00:25:05 +01:00  
				
					
						
							
							
								 
						
							
							
								01146bb3e3 
								
							
								 
							
						 
						
							
							
								
								factor out a section of IAM.RezObject() into DoPreRezWhenFromItem()  
							
							
							
						 
						
							2011-09-02 00:04:22 +01:00  
				
					
						
							
							
								 
						
							
							
								3e86064d6b 
								
							
								 
							
						 
						
							
							
								
								refactor: factor out DoPostRezWhenFromItem() from IAM.RezObject()  
							
							
							
						 
						
							2011-09-01 23:49:38 +01:00  
				
					
						
							
							
								 
						
							
							
								cc8897127b 
								
							
								 
							
						 
						
							
							
								
								remove the pointless m_Scene.GetNewRezLocation() call at the top of IAM.RezObject() since its always recalculated later on anyway  
							
							
							
						 
						
							2011-09-01 23:37:03 +01:00  
				
					
						
							
							
								 
						
							
							
								712d44635a 
								
							
								 
							
						 
						
							
							
								
								refactor: Move sanity checks to the top of IAM.RezObject() to make the code more readable  
							
							
							
						 
						
							2011-09-01 23:14:50 +01:00  
				
					
						
							
							
								 
						
							
							
								e30651b931 
								
							
								 
							
						 
						
							
							
								
								use group.RootPart in IAM.RezObject() rather than group.GetChildPart(group.UUID);  
							
							
							
						 
						
							2011-09-01 23:09:14 +01:00  
				
					
						
							
							
								 
						
							
							
								8b83c4a433 
								
							
								 
							
						 
						
							
							
								
								Remove pointless NRE check in IAM.RezObject() since this can never occur  
							
							
							
						 
						
							2011-09-01 23:06:57 +01:00  
				
					
						
							
							
								 
						
							
							
								1bf29d60e1 
								
							
								 
							
						 
						
							
							
								
								Remove code which was automatically deleting non-root prims from scene objects that had previous been attachments.  
							
							... 
							
							
							
							Looks like this code was accidentally uncommented in e1b5c612http://opensimulator.org/mantis/view.php?id=5664  
							
						 
						
							2011-09-01 22:05:05 +01:00  
				
					
						
							
							
								 
						
							
							
								616e672fce 
								
							
								 
							
						 
						
							
							
								
								If the user receiving an inventory folder has left the scene by the time the acceptence message arrives, then don't send them an inventory update.  
							
							... 
							
							
							
							Doing so causes a NullReferenceException 
							
						 
						
							2011-09-01 02:43:17 +01:00  
				
					
						
							
							
								 
						
							
							
								c491cdcb95 
								
							
								 
							
						 
						
							
							
								
								refactor: use SOG register target waypoints and rots directly instead of calling through the SOP, which doesn't make conceptual sense anyway.  
							
							
							
						 
						
							2011-09-01 02:18:31 +01:00  
				
					
						
							
							
								 
						
							
							
								7eca929686 
								
							
								 
							
						 
						
							
							
								
								Eliminate pointless checks of SOG.RootPart != null  
							
							... 
							
							
							
							It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized 
							
						 
						
							2011-09-01 02:11:00 +01:00  
				
					
						
							
							
								 
						
							
							
								10d883dc88 
								
							
								 
							
						 
						
							
							
								
								refactor: use ParentGroup.UUID directly instead of SOP.GetRootPartUUID()  
							
							
							
						 
						
							2011-09-01 01:41:53 +01:00  
				
					
						
							
							
								 
						
							
							
								63bf710237 
								
							
								 
							
						 
						
							
							
								
								Fix issue with llGetTorque() where it would only ever return a zero vector.  
							
							
							
						 
						
							2011-09-01 01:37:35 +01:00  
				
					
						
							
							
								 
						
							
							
								095b3e5756 
								
							
								 
							
						 
						
							
							
								
								Remove pointless cluttering SOP.ParentGroup != null checks.  
							
							... 
							
							
							
							The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database.
At all other times it's not possible for a SOP not to have a SOG parent. 
							
						 
						
							2011-09-01 01:22:28 +01:00  
				
					
						
							
							
								 
						
							
							
								083ba72b28 
								
							
								 
							
						 
						
							
							
								
								Fix a bug where the non-root parts of rezzed objects that had previously been attachments were sending their old attachment values to the client.  
							
							... 
							
							
							
							The root part state is the canonical value, so always send that instead.
Sending conflicting attachments states for non-root parts of a rezzed object is enough to crash the client.
Fixes http://opensimulator.org/mantis/view.php?id=5664 .
Many thanks to mewtwo0641 for some fantastic qa work on this one. 
							
						 
						
							2011-08-31 23:33:01 +01:00  
				
					
						
							
							
								 
						
							
							
								ca9a054bba 
								
							
								 
							
						 
						
							
							
								
								Don't set a GridUser entry for NPCs.  
							
							... 
							
							
							
							Resolves http://opensimulator.org/mantis/view.php?id=5665  
							
						 
						
							2011-08-31 18:03:07 +01:00  
				
					
						
							
							
								 
						
							
							
								7d58b5fa15 
								
							
								 
							
						 
						
							
							
								
								move common code into AttachmentsModule.DeleteAttachmentsFromScene()  
							
							
							
						 
						
							2011-08-31 17:53:58 +01:00  
				
					
						
							
							
								 
						
							
							
								e69f246b86 
								
							
								 
							
						 
						
							
							
								
								refactor: move multiple class to set avatar height into associated SP.AddToPhysicalScene()  
							
							
							
						 
						
							2011-08-31 17:25:18 +01:00  
				
					
						
							
							
								 
						
							
							
								899d109e82 
								
							
								 
							
						 
						
							
							
								
								get rid of appearance null checks - this is never null  
							
							
							
						 
						
							2011-08-31 17:13:53 +01:00  
				
					
						
							
							
								 
						
							
							
								8c703022c1 
								
							
								 
							
						 
						
							
							
								
								In WorldCommModule, replace the useless Attachments == null check with Attachments.Count == 0 instead  
							
							
							
						 
						
							2011-08-31 16:50:18 +01:00  
				
					
						
							
							
								 
						
							
							
								54839d28ad 
								
							
								 
							
						 
						
							
							
								
								remove pointless m_attachments == null check since this field is never null  
							
							
							
						 
						
							2011-08-31 16:46:43 +01:00  
				
					
						
							
							
								 
						
							
							
								5a5206449f 
								
							
								 
							
						 
						
							
							
								
								minor: seal up another instance of using the appearance list without locking  
							
							
							
						 
						
							2011-08-31 16:41:58 +01:00  
				
					
						
							
							
								 
						
							
							
								32444d98cb 
								
							
								 
							
						 
						
							
							
								
								Make SP.Attachments available as sp.GetAttachments() instead.  
							
							... 
							
							
							
							The approach here, as in other parts of OpenSim, is to return a copy of the list rather than the attachments list itself
This prevents callers from forgetting to lock the list when they read it, as was happening in various parts of the codebase.
It also improves liveness.
This might improve attachment anomolies when performing region crossings. 
							
						 
						
							2011-08-31 16:29:51 +01:00  
				
					
						
							
							
								 
						
							
							
								2acfff9f6d 
								
							
								 
							
						 
						
							
							
								
								remove pointless ToArray() call in AttachmentsModule.SaveChangedAttachments()  
							
							
							
						 
						
							2011-08-30 23:39:26 +01:00  
				
					
						
							
							
								 
						
							
							
								1809aaf74c 
								
							
								 
							
						 
						
							
							
								
								minor: remove already processed avatar null check in Scene.RemoveClient()  
							
							... 
							
							
							
							remove some now duplicated method doc 
							
						 
						
							2011-08-30 23:36:45 +01:00  
				
					
						
							
							
								 
						
							
							
								ddc733cd3d 
								
							
								 
							
						 
						
							
							
								
								refactor: move SP.SaveChangedAttachments() fully into AttachmentsModule  
							
							
							
						 
						
							2011-08-30 23:32:30 +01:00  
				
					
						
							
							
								 
						
							
							
								04bafd2122 
								
							
								 
							
						 
						
							
							
								
								refactor: Move ScenePresence.RezAttachments() into AttachmentsModule  
							
							... 
							
							
							
							This adds an incomplete IScenePresence to match ISceneEntity 
							
						 
						
							2011-08-30 23:06:10 +01:00  
				
					
						
							
							
								 
						
							
							
								a90e1cf3aa 
								
							
								 
							
						 
						
							
							
								
								add Name property to ISceneEntity  
							
							
							
						 
						
							2011-08-30 22:39:16 +01:00  
				
					
						
							
							
								 
						
							
							
								1de68b34d9 
								
							
								 
							
						 
						
							
							
								
								refactor: migrate DropObject handling fully into AttachmentsModule from Scene  
							
							
							
						 
						
							2011-08-30 22:25:38 +01:00  
				
					
						
							
							
								 
						
							
							
								e7a515bab0 
								
							
								 
							
						 
						
							
							
								
								Fix bug where attachments were remaining on the avatar after being dropped.  
							
							... 
							
							
							
							If the inventory service is configured not to allow deletion then these will not disappear from inventory 
							
						 
						
							2011-08-30 22:06:24 +01:00  
				
					
						
							
							
								 
						
							
							
								17dab7245f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into bulletsim  
							
							
							
						 
						
							2011-08-30 08:44:28 -07:00  
				
					
						
							
							
								 
						
							
							
								be357f8fee 
								
							
								 
							
						 
						
							
							
								
								Fix bug in persisting saved appearances for npcs  
							
							... 
							
							
							
							Assets have to be marked non-local as well as non-temporary to persist.  This is now done.
Hopefully addresses http://opensimulator.org/mantis/view.php?id=5660  
							
						 
						
							2011-08-30 01:58:32 +01:00  
				
					
						
							
							
								 
						
							
							
								96dce3e16c 
								
							
								 
							
						 
						
							
							
								
								Use GetMeshKey from PrimitiveBaseShape.  
							
							
							
						 
						
							2011-08-29 10:10:48 -07:00  
				
					
						
							
							
								 
						
							
							
								648866b597 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into bulletsim  
							
							
							
						 
						
							2011-08-29 09:55:34 -07:00  
				
					
						
							
							
								 
						
							
							
								18037d41c4 
								
							
								 
							
						 
						
							
							
								
								Move GetMeshKey from buried inside Meshmerizer to a public method on PrimitiveBaseShape  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-08-28 16:50:54 -04:00  
				
					
						
							
							
								 
						
							
							
								80a2b81d52 
								
							
								 
							
						 
						
							
							
								
								Add level of detail specification to optionally reduce the number of vertices in generated prim meshes  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-08-28 16:49:25 -04:00  
				
					
						
							
							
								 
						
							
							
								795b56e695 
								
							
								 
							
						 
						
							
							
								
								Related to  #4689  - Adding missing null check for SceneObjectPart  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-08-27 07:45:02 -04:00  
				
					
						
							
							
								 
						
							
							
								d4d894c20f 
								
							
								 
							
						 
						
							
							
								
								Stop avatars returning from neighbouring regions from stalling on the border crossing.  
							
							... 
							
							
							
							On making a root agent, we need to reset the ScenePresence.m_movement_flag so that it doesn't remember the
movement registered to the client when it exited the initial region.
If this is remember, then the client avatar movement isn't updated and it appears to stall in mid-air, though this is resolved with a prod/release of any other direction key.
This bug was probably introduced a few weeks ago.  Surprised that nobody brought it up. 
							
						 
						
							2011-08-27 01:28:33 +01:00  
				
					
						
							
							
								 
						
							
							
								1615e7d29f 
								
							
								 
							
						 
						
							
							
								
								Eliminate duplicate AttachmentPoint properties by always using the one stored in the root part's state field.  
							
							
							
						 
						
							2011-08-27 00:33:24 +01:00  
				
					
						
							
							
								 
						
							
							
								b7700428ec 
								
							
								 
							
						 
						
							
							
								
								refactor: camel case AttachmentPoint method arg as per code standards  
							
							
							
						 
						
							2011-08-27 00:20:15 +01:00  
				
					
						
							
							
								 
						
							
							
								33a894f3d2 
								
							
								 
							
						 
						
							
							
								
								refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid pointless duplication of identical values  
							
							
							
						 
						
							2011-08-27 00:15:21 +01:00  
				
					
						
							
							
								 
						
							
							
								21708b832b 
								
							
								 
							
						 
						
							
							
								
								BulletSim: add mesh representation. Use meshes for static objects and switch to hulls for physical objects.  
							
							
							
						 
						
							2011-08-26 15:51:21 -07:00  
				
					
						
							
							
								 
						
							
							
								23f10f1d22 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into bulletsim  
							
							
							
						 
						
							2011-08-26 15:23:46 -07:00  
				
					
						
							
							
								 
						
							
							
								15a514fcbc 
								
							
								 
							
						 
						
							
							
								
								refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatar  
							
							... 
							
							
							
							This does a tiny bit to reduce code complexity, memory requirement and the cpu time of pointlessly setting this field to the same value in every SOP 
							
						 
						
							2011-08-26 23:06:41 +01:00  
				
					
						
							
							
								 
						
							
							
								5f3ffc195f 
								
							
								 
							
						 
						
							
							
								
								refactor: move SOG.DetachToGround() to AttachmentsModule.DetachSceneObjectToGround() and remove redundant code  
							
							
							
						 
						
							2011-08-26 22:49:11 +01:00  
				
					
						
							
							
								 
						
							
							
								ae614c1264 
								
							
								 
							
						 
						
							
							
								
								refactor: simplify DetachSingleAttachmentToGround() by retrieving the scene object group direct  
							
							
							
						 
						
							2011-08-26 22:37:53 +01:00  
				
					
						
							
							
								 
						
							
							
								040ad11e61 
								
							
								 
							
						 
						
							
							
								
								refactor: remove common presence set up in attachments tests  
							
							
							
						 
						
							2011-08-26 22:24:51 +01:00  
				
					
						
							
							
								 
						
							
							
								dc61bf4b1f 
								
							
								 
							
						 
						
							
							
								
								comment out verbose test logging from last commit  
							
							
							
						 
						
							2011-08-26 22:17:27 +01:00  
				
					
						
							
							
								 
						
							
							
								1dba047e4d 
								
							
								 
							
						 
						
							
							
								
								add regression test for detaching an attachment to the scene  
							
							
							
						 
						
							2011-08-26 22:17:05 +01:00  
				
					
						
							
							
								 
						
							
							
								002313bf13 
								
							
								 
							
						 
						
							
							
								
								refactor: move sog.DetachToInventoryPrep() into AttachmentsModule.DetachSingleAttachmentToInv()  
							
							
							
						 
						
							2011-08-26 22:02:23 +01:00  
				
					
						
							
							
								 
						
							
							
								fcbed6479a 
								
							
								 
							
						 
						
							
							
								
								Downgrade warning about not saving unchanged attachment to debug instead, and change text to better indicate what it's saying  
							
							
							
						 
						
							2011-08-26 21:46:12 +01:00  
				
					
						
							
							
								 
						
							
							
								6c692d2e21 
								
							
								 
							
						 
						
							
							
								
								Fix a very recent regression from llAttachToAvatar() fix where I accidentally stopped normal script state persistence on login/logout and attach/detach  
							
							
							
						 
						
							2011-08-26 21:26:29 +01:00  
				
					
						
							
							
								 
						
							
							
								04d42860fe 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of /home/opensim/src/opensim  
							
							
							
						 
						
							2011-08-25 07:01:57 -04:00  
				
					
						
							
							
								 
						
							
							
								cf42fcd978 
								
							
								 
							
						 
						
							
							
								
								llSetPrimitiveParams correct prim hollow for cases where limit should be 70%.  
							
							... 
							
							
							
							Signed-off-by: BlueWall <jamesh@bluewallgroup.com> 
							
						 
						
							2011-08-25 06:50:55 -04:00  
				
					
						
							
							
								 
						
							
							
								4b4c5e69e5 
								
							
								 
							
						 
						
							
							
								
								Remove forcing of phantom on ground attached objects - attachments can be both non-phantom and flagged as physical.  
							
							... 
							
							
							
							As per Melanie 
							
						 
						
							2011-08-24 22:45:51 +01:00  
				
					
						
							
							
								 
						
							
							
								d5dc8133fc 
								
							
								 
							
						 
						
							
							
								
								remove pointless IsDeleted check on SP.RezAttachments()  
							
							... 
							
							
							
							IsDeleted is never set for an SP, even though it's on EntityBase.
It might be an idea to set it in the future 
							
						 
						
							2011-08-24 22:37:08 +01:00  
				
					
						
							
							
								 
						
							
							
								6d4432f440 
								
							
								 
							
						 
						
							
							
								
								refactor: simplify EntityBase.IsDeleted property  
							
							
							
						 
						
							2011-08-24 22:34:26 +01:00  
				
					
						
							
							
								 
						
							
							
								21f1b68fdf 
								
							
								 
							
						 
						
							
							
								
								extend initial rez regression test to check that attachment is phantom  
							
							
							
						 
						
							2011-08-24 22:25:23 +01:00  
				
					
						
							
							
								 
						
							
							
								73d913dad2 
								
							
								 
							
						 
						
							
							
								
								Make objects attached from the ground phantom  
							
							
							
						 
						
							2011-08-24 22:12:51 +01:00  
				
					
						
							
							
								 
						
							
							
								9ba4511d3e 
								
							
								 
							
						 
						
							
							
								
								add SOG helper properties IsPhantom, IsTemporary, etc. to improve code readability  
							
							... 
							
							
							
							use these in some sog methods 
							
						 
						
							2011-08-24 21:53:12 +01:00  
				
					
						
							
							
								 
						
							
							
								801b7f18a7 
								
							
								 
							
						 
						
							
							
								
								return InventoryItemBase from AddSceneObjectAsAttachment()  
							
							
							
						 
						
							2011-08-24 21:40:36 +01:00  
				
					
						
							
							
								 
						
							
							
								5eeee480d4 
								
							
								 
							
						 
						
							
							
								
								refactor: move Scene.Inventory.attachObjectAssetStore() into AttachmentsModule.AddSceneObjectAsAttachment()  
							
							
							
						 
						
							2011-08-24 21:35:44 +01:00  
				
					
						
							
							
								 
						
							
							
								274e354006 
								
							
								 
							
						 
						
							
							
								
								get rid of pointless grp null check in attachObjectAssetStore()  
							
							
							
						 
						
							2011-08-24 21:23:10 +01:00  
				
					
						
							
							
								 
						
							
							
								0e0d40c810 
								
							
								 
							
						 
						
							
							
								
								minor: remove hardcoded region numbers with the region size constant and a currently hardcoded offset  
							
							
							
						 
						
							2011-08-24 21:18:11 +01:00  
				
					
						
							
							
								 
						
							
							
								ccf07f6ae3 
								
							
								 
							
						 
						
							
							
								
								refactor: remove pointless AgentId argument from attachObjectAssetStore()  
							
							
							
						 
						
							2011-08-24 21:14:57 +01:00  
				
					
						
							
							
								 
						
							
							
								b9ec625dbf 
								
							
								 
							
						 
						
							
							
								
								add TestAddAttachmentFromGround() regression test  
							
							
							
						 
						
							2011-08-24 21:07:46 +01:00  
				
					
						
							
							
								 
						
							
							
								cf3ffe5bb4 
								
							
								 
							
						 
						
							
							
								
								Fix llAttachToAvatar()  
							
							... 
							
							
							
							Apart from one obvious bug, this was failing because attempting to serialize the script from inside the script (as part of saving the attachment as an inventory asset) was triggering an extremely long delay.
So we now don't do this.  The state will be serialized anyway when the avatar normally logs out.
The worst that can happen is that if the client/server crashes, the attachment scripts start without previous state. 
							
						 
						
							2011-08-24 20:49:23 +01:00  
				
					
						
							
							
								 
						
							
							
								97b207240e 
								
							
								 
							
						 
						
							
							
								
								rename AttachmentsModule.ShowDetachInUserInventory() to DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour  
							
							
							
						 
						
							2011-08-23 22:05:22 +01:00  
				
					
						
							
							
								 
						
							
							
								014cd4f8bb 
								
							
								 
							
						 
						
							
							
								
								remove mono compiler warnings  
							
							
							
						 
						
							2011-08-23 21:41:16 +01:00  
				
					
						
							
							
								 
						
							
							
								805ba268d5 
								
							
								 
							
						 
						
							
							
								
								replace TestRemoveAttachments() with a more thorough TestRemoveAttachment()  
							
							
							
						 
						
							2011-08-23 21:37:36 +01:00  
				
					
						
							
							
								 
						
							
							
								4a101080ee 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of ssh://opensimulator.org/var/git/opensim  
							
							
							
						 
						
							2011-08-23 21:21:02 +01:00  
				
					
						
							
							
								 
						
							
							
								34aed96a2f 
								
							
								 
							
						 
						
							
							
								
								replace old TestAddAttachments() with a more thorough TestAddAttachment()  
							
							
							
						 
						
							2011-08-23 21:20:23 +01:00  
				
					
						
							
							
								 
						
							
							
								ce011d7e44 
								
							
								 
							
						 
						
							
							
								
								Protect a check for default texture entry when setting alpha values. Apparently  
							
							... 
							
							
							
							if all faces have their own textures then the default texture is null 
							
						 
						
							2011-08-23 10:52:12 -07:00  
				
					
						
							
							
								 
						
							
							
								afd5469eec 
								
							
								 
							
						 
						
							
							
								
								Remove pointless contains check in ScenePresence.RemoveAttachment()  
							
							
							
						 
						
							2011-08-23 00:08:29 +01:00  
				
					
						
							
							
								 
						
							
							
								1f3ce48be1 
								
							
								 
							
						 
						
							
							
								
								If an object failed to attach due to an exception, then try and detach it from the avatar's list of attachments as well as delete it from the scene.  
							
							... 
							
							
							
							This may help with the "Inconsistent attachment state" errors seen on teleport.
See http://opensimulator.org/mantis/view.php?id=5644  and linked reports 
							
						 
						
							2011-08-23 00:04:38 +01:00  
				
					
						
							
							
								 
						
							
							
								d328046efb 
								
							
								 
							
						 
						
							
							
								
								If an attachment fails, then start logging the exception for now, in order to help with the inconsistent state bug.  
							
							... 
							
							
							
							This also refactors AttachmentsModules to stop pointlessly refetching the ScenePresence in various methods.  However, more of this is required. 
							
						 
						
							2011-08-22 23:59:48 +01:00  
				
					
						
							
							
								 
						
							
							
								2eaadf2dc0 
								
							
								 
							
						 
						
							
							
								
								Add warning log message to say which attachment fails validation in order to pin down problems with "Inconsistent Attachment State"  
							
							
							
						 
						
							2011-08-22 23:28:37 +01:00  
				
					
						
							
							
								 
						
							
							
								940a248c3d 
								
							
								 
							
						 
						
							
							
								
								minor: comment out simulator features log line  
							
							
							
						 
						
							2011-08-22 22:44:49 +01:00  
				
					
						
							
							
								 
						
							
							
								7cf4bb5256 
								
							
								 
							
						 
						
							
							
								
								Add ISimulatorFeaturesModule so that other modules can register features in addition to the hardcoded ones.  
							
							
							
						 
						
							2011-08-22 22:13:07 +01:00  
				
					
						
							
							
								 
						
							
							
								db91044593 
								
							
								 
							
						 
						
							
							
								
								Thanks Neil Canham for fixing bulk inventory updates, no sending BulkInventoryUpdate after accepting inventory items.  
							
							
							
						 
						
							2011-08-22 14:51:43 +02:00  
				
					
						
							
							
								 
						
							
							
								5e231acdce 
								
							
								 
							
						 
						
							
							
								
								Add avatar and attachments to llRegionSay  
							
							... 
							
							
							
							llRegionSay will now message avatars on chan 0
  and will message attachments on the avatar that
  listen on channels other than 0.
  This behavior is consistant with the LL
  implementation as tested on regions in Agni
  with one exception: this implementation does
  not include issue:
    https://jira.secondlife.com/browse/SCR-66 ? 
							
						 
						
							2011-08-20 12:36:35 -04:00  
				
					
						
							
							
								 
						
							
							
								2787207aa2 
								
							
								 
							
						 
						
							
							
								
								Add llRegionSayTo  
							
							... 
							
							
							
							llRegionSayTo(key target, integer channel, string messasge)
	Allows messages to be sent region-wide
	to a particular prim. 
							
						 
						
							2011-08-19 18:47:21 -04:00  
				
					
						
							
							
								 
						
							
							
								384cb79a1a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into bulletsim  
							
							... 
							
							
							
							Conflicts:
	OpenSim/Region/Framework/Scenes/SceneManager.cs 
							
						 
						
							2011-08-19 14:49:16 -07:00  
				
					
						
							
							
								 
						
							
							
								bb5b396fc5 
								
							
								 
							
						 
						
							
							
								
								Fix exception when using BasicPhysics  
							
							
							
						 
						
							2011-08-19 00:53:57 +01:00  
				
					
						
							
							
								 
						
							
							
								c9e6b7bd10 
								
							
								 
							
						 
						
							
							
								
								Stop NPC's getting hypergrid like names in some circumstances.  
							
							... 
							
							
							
							This meant punching in another AddUser() method in IUserManagement to do a direct name to UUID associated without the account check (since NPCs don't have accounts).
May address http://opensimulator.org/mantis/view.php?id=5645  
							
						 
						
							2011-08-19 00:45:22 +01:00  
				
					
						
							
							
								 
						
							
							
								fef73a1a10 
								
							
								 
							
						 
						
							
							
								
								BulletSim: add runtime setting of physics parameters. Update default values.  
							
							
							
						 
						
							2011-08-18 14:32:09 -07:00  
				
					
						
							
							
								 
						
							
							
								49258350e8 
								
							
								 
							
						 
						
							
							
								
								refactor: fold CreateSceneViewer() back into ScenePresence constructor  
							
							
							
						 
						
							2011-08-18 01:22:01 +01:00  
				
					
						
							
							
								 
						
							
							
								45c37ef494 
								
							
								 
							
						 
						
							
							
								
								refactor: Fold 3 ScenePresence() constructors into one since only one is called.  
							
							
							
						 
						
							2011-08-18 01:11:23 +01:00  
				
					
						
							
							
								 
						
							
							
								c1a34cd8da 
								
							
								 
							
						 
						
							
							
								
								Don't try to save changed attachment states when an NPC with attachments is removed from the scene.  
							
							... 
							
							
							
							This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc.
This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects 
							
						 
						
							2011-08-18 00:53:05 +01:00  
				
					
						
							
							
								 
						
							
							
								d8f886ccdb 
								
							
								 
							
						 
						
							
							
								
								comment out noisy attachments logging  
							
							
							
						 
						
							2011-08-17 23:41:20 +01:00  
				
					
						
							
							
								 
						
							
							
								4a9b8184f7 
								
							
								 
							
						 
						
							
							
								
								For now, supress 'OH NOES' warnings given by HGInventoryBroker.CacheInventoryServiceURL when it tries to cache it for an NPC  
							
							... 
							
							
							
							This concept is meaningless for NPCs.  However, it might be better to make NPCism an actual property on ScenePresence and check.
Addresses http://opensimulator.org/mantis/view.php?id=5643  
							
						 
						
							2011-08-17 01:51:58 +01:00  
				
					
						
							
							
								 
						
							
							
								acfdca34fd 
								
							
								 
							
						 
						
							
							
								
								Fix issue where loading a new appearance onto an NPC would not remove the previous attachments from the scene.  
							
							... 
							
							
							
							Addresses http://opensimulator.org/mantis/view.php?id=5636  
							
						 
						
							2011-08-17 01:35:33 +01:00  
				
					
						
							
							
								 
						
							
							
								bd5d35ee32 
								
							
								 
							
						 
						
							
							
								
								extend test to check that there is one attachment and that it has the right name  
							
							
							
						 
						
							2011-08-17 00:42:58 +01:00  
				
					
						
							
							
								 
						
							
							
								696bd44833 
								
							
								 
							
						 
						
							
							
								
								Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple attachments check  
							
							
							
						 
						
							2011-08-17 00:37:33 +01:00  
				
					
						
							
							
								 
						
							
							
								d73c424078 
								
							
								 
							
						 
						
							
							
								
								get rid of logged warnings about lack of some modules - afaik these never occur in real life and just clutter up tests  
							
							
							
						 
						
							2011-08-16 23:12:58 +01:00  
				
					
						
							
							
								 
						
							
							
								57e54d84d6 
								
							
								 
							
						 
						
							
							
								
								Add new FireAndForgetMethod.None.  
							
							... 
							
							
							
							This executes the callback on the same thread that made the request.  Designed for use only by regression tests that rely on a predicable event ordering. 
							
						 
						
							2011-08-16 23:05:08 +01:00  
				
					
						
							
							
								 
						
							
							
								d3c10e609e 
								
							
								 
							
						 
						
							
							
								
								Move some previously common code back into separate tests.  Remove unused region handle from test.  
							
							
							
						 
						
							2011-08-16 22:27:52 +01:00  
				
					
						
							
							
								 
						
							
							
								0bbf7c21d7 
								
							
								 
							
						 
						
							
							
								
								Isolate existing incomplete attachments tests rather than have them rely on each other.  
							
							... 
							
							
							
							Much easier to debug this way. 
							
						 
						
							2011-08-16 22:13:32 +01:00  
				
					
						
							
							
								 
						
							
							
								c58b32e7ba 
								
							
								 
							
						 
						
							
							
								
								drop number of attachments in test from 3 to 2 to reduce text complexity  
							
							
							
						 
						
							2011-08-16 22:09:13 +01:00  
				
					
						
							
							
								 
						
							
							
								601257f8b6 
								
							
								 
							
						 
						
							
							
								
								remove setting up of second scene in attachments since it's not currently used  
							
							
							
						 
						
							2011-08-16 21:58:52 +01:00  
				
					
						
							
							
								 
						
							
							
								66eb537d0c 
								
							
								 
							
						 
						
							
							
								
								relocate AttachmentTests.cs to AttachmentsModuleTests.cs  
							
							
							
						 
						
							2011-08-16 21:56:56 +01:00  
				
					
						
							
							
								 
						
							
							
								8d866ae8c3 
								
							
								 
							
						 
						
							
							
								
								minor: remove some mono compiler warnings  
							
							
							
						 
						
							2011-08-16 21:45:01 +01:00  
				
					
						
							
							
								 
						
							
							
								fd3a7ab70c 
								
							
								 
							
						 
						
							
							
								
								minor: change some comment text in flotsam asset cache  
							
							
							
						 
						
							2011-08-16 21:31:17 +01:00  
				
					
						
							
							
								 
						
							
							
								8c95c83562 
								
							
								 
							
						 
						
							
							
								
								On Flotsam asset cache, go back to moving the file from the temporary location rather than copying.  
							
							... 
							
							
							
							Copying doesn't prevent IOExceptions on Windows due to file locking. (e.g. Mantis 5642, 5630).
So instead go back to moving the file, swallowing IOExceptions that occur just for the move due to competing caching threads or even different opensimulator instances. 
							
						 
						
							2011-08-16 21:03:43 +01:00  
				
					
						
							
							
								 
						
							
							
								0784791a44 
								
							
								 
							
						 
						
							
							
								
								Add "shutdown" message to RegionReady  
							
							... 
							
							
							
							Add "shutdown" message when removing region.
	From a patch submitted by Michelle Argus.
	Thanks Michelle 
							
						 
						
							2011-08-15 16:21:04 -04:00  
				
					
						
							
							
								 
						
							
							
								9a6ad1535e 
								
							
								 
							
						 
						
							
							
								
								Added console command "delete object outside" to delete all objects outside region boundaries. This is especiyll useful in cases where physical objects outside regions boundaries cause much physics engine lag.  
							
							
							
						 
						
							2011-08-15 17:46:51 +02:00  
				
					
						
							
							
								 
						
							
							
								e19843a0ee 
								
							
								 
							
						 
						
							
							
								
								WorldMap: Added map item for Land-for-Sale. Implemented backlist item timeouts (default 10 minutes; see also new config file setting BlacklistTimeout) and removing backlisted neigboring regions that have been restarted from the blacklist.  
							
							
							
						 
						
							2011-08-14 17:45:23 +02:00  
				
					
						
							
							
								 
						
							
							
								b80dfb6572 
								
							
								 
							
						 
						
							
							
								
								llGetPrimitiveParams fix prim hollow/hole shape value  
							
							
							
						 
						
							2011-08-13 15:34:08 +01:00  
				
					
						
							
							
								 
						
							
							
								dcb4b2de09 
								
							
								 
							
						 
						
							
							
								
								Fix a problem in the Flotsam asset cache where assets were being put into the memory cache even when it wasn't enabled.  
							
							... 
							
							
							
							This hopefully addresses http://opensimulator.org/mantis/view.php?id=5634 
This is the most probable cause of the memory problems that people have been seeing in the past month.
This bug has been around since commit 5dc785b 
							
						 
						
							2011-08-13 15:21:03 +01:00  
				
					
						
							
							
								 
						
							
							
								90c6fa89be 
								
							
								 
							
						 
						
							
							
								
								Fix a bug preventing region modules from creating trees at anything but the default scale.  
							
							
							
						 
						
							2011-08-13 00:52:32 +01:00  
				
					
						
							
							
								 
						
							
							
								78ff82bfe9 
								
							
								 
							
						 
						
							
							
								
								If a map request to a server fails, always close the outbound connection.  
							
							... 
							
							
							
							This probably doesn't help with the current memory leak. 
							
						 
						
							2011-08-12 23:40:22 +01:00  
				
					
						
							
							
								 
						
							
							
								ed142ead25 
								
							
								 
							
						 
						
							
							
								
								minor: change login enable/disable messages in last commit so that they occur after the setting has been made  
							
							
							
						 
						
							2011-08-12 22:50:58 +01:00  
				
					
						
							
							
								 
						
							
							
								4b88f04c0a 
								
							
								 
							
						 
						
							
							
								
								minor: On "login disable/enable" always tell the user the final login status, rather than remaining silent if it was already on/off  
							
							
							
						 
						
							2011-08-12 22:46:42 +01:00  
				
					
						
							
							
								 
						
							
							
								76e0afe83f 
								
							
								 
							
						 
						
							
							
								
								tidy up some OSSL NPC parameter names  
							
							
							
						 
						
							2011-08-12 02:46:44 +01:00  
				
					
						
							
							
								 
						
							
							
								16ac5413dd 
								
							
								 
							
						 
						
							
							
								
								rename position parameter in osNpcMoveToTarget to target  
							
							
							
						 
						
							2011-08-12 01:52:12 +01:00  
				
					
						
							
							
								 
						
							
							
								aebd46a434 
								
							
								 
							
						 
						
							
							
								
								rename osNpcStopMoveTo() to osNpcStopMoveToTarget()  
							
							
							
						 
						
							2011-08-12 01:32:49 +01:00  
				
					
						
							
							
								 
						
							
							
								2169cf04f9 
								
							
								 
							
						 
						
							
							
								
								When saving appearance, only save the baked textures, not the other face textures (which are already stored permanently)  
							
							
							
						 
						
							2011-08-12 01:24:15 +01:00  
				
					
						
							
							
								 
						
							
							
								65c4b8d37b 
								
							
								 
							
						 
						
							
							
								
								Fix kicking of NPCs via "kick user" console command.  
							
							... 
							
							
							
							Needed to hook up the Close() function in the NPCAvatar IClientAPI implementation, which [unfortunately] is still needed 
							
						 
						
							2011-08-12 00:51:05 +01:00  
				
					
						
							
							
								 
						
							
							
								0a1bbc27d2 
								
							
								 
							
						 
						
							
							
								
								Allow the osNpcCreate() function to accept a notecard name or asset for initial appearance  
							
							
							
						 
						
							2011-08-12 00:14:06 +01:00  
				
					
						
							
							
								 
						
							
							
								d23d37d2aa 
								
							
								 
							
						 
						
							
							
								
								implement osNpcGetPos()  
							
							
							
						 
						
							2011-08-11 23:36:22 +01:00  
				
					
						
							
							
								 
						
							
							
								a21e98ae1a 
								
							
								 
							
						 
						
							
							
								
								implement osNpcGetRot() and osNpcSetRot()  
							
							... 
							
							
							
							Rotation works if done around the z axis.  Anything else leads to random results. 
							
						 
						
							2011-08-11 23:28:14 +01:00  
				
					
						
							
							
								 
						
							
							
								b1ae930c6b 
								
							
								 
							
						 
						
							
							
								
								Implement osAgentSaveAppearance() to save the appearance of an avatar in the region to a notecard  
							
							... 
							
							
							
							This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves 
							
						 
						
							2011-08-11 22:26:47 +01:00  
				
					
						
							
							
								 
						
							
							
								50945dd560 
								
							
								 
							
						 
						
							
							
								
								add regression test for osNpcCreate when cloning an in-region avatar  
							
							
							
						 
						
							2011-08-11 21:43:26 +01:00  
				
					
						
							
							
								 
						
							
							
								83ca5a101d 
								
							
								 
							
						 
						
							
							
								
								Split out to-be-common setup stuff from TestOsOwnerSaveAppearance()  
							
							
							
						 
						
							2011-08-11 20:56:18 +01:00  
				
					
						
							
							
								 
						
							
							
								b3a4b10531 
								
							
								 
							
						 
						
							
							
								
								eliminate redundant ground sitting checks since these are already done in enclosing control structures  
							
							
							
						 
						
							2011-08-11 03:16:46 +01:00  
				
					
						
							
							
								 
						
							
							
								3d4cc93a8e 
								
							
								 
							
						 
						
							
							
								
								minor: a little bit of log message correction/commenting out  
							
							
							
						 
						
							2011-08-11 03:07:41 +01:00  
				
					
						
							
							
								 
						
							
							
								1aa1711893 
								
							
								 
							
						 
						
							
							
								
								eliminate the rotation parameter from SP.HandleMoveToTargetUpdate().  This can just use the currently set Rotation  
							
							... 
							
							
							
							looks like I spoke to soon about eliminating jerkiness on "go here"/autopilot.  It's still there. 
							
						 
						
							2011-08-11 03:06:38 +01:00  
				
					
						
							
							
								 
						
							
							
								36f7d36fa1 
								
							
								 
							
						 
						
							
							
								
								instead of setting avatar rotation twice in SP.HandleAgentUpdate(), eliminate the second setting in AddNewMovement()  
							
							
							
						 
						
							2011-08-11 02:54:15 +01:00  
				
					
						
							
							
								 
						
							
							
								29093df1a7 
								
							
								 
							
						 
						
							
							
								
								get rid of intermediate local store of body rotation in ScenePresence, this is not used.  
							
							
							
						 
						
							2011-08-11 02:36:02 +01:00  
				
					
						
							
							
								 
						
							
							
								ee22569c92 
								
							
								 
							
						 
						
							
							
								
								only accept npc UUIDs to osNpc* functions, not names (except for create)  
							
							
							
						 
						
							2011-08-11 02:19:13 +01:00  
				
					
						
							
							
								 
						
							
							
								cace6eaa8a 
								
							
								 
							
						 
						
							
							
								
								comment out some of the currently less useful debug log messages  
							
							
							
						 
						
							2011-08-11 02:06:32 +01:00  
				
					
						
							
							
								 
						
							
							
								4402851b08 
								
							
								 
							
						 
						
							
							
								
								Get NPCs to revert to the correct 'resting' animation (e.g. stand or hover) after finishing their movement.  This also fixes judder after an avatar has finished "go here"/autopilot movement in a viewer.  
							
							... 
							
							
							
							This meant reseting the SP.AgentControlFlags since the Animator uses these to determine the correct default animation. 
							
						 
						
							2011-08-11 01:56:42 +01:00  
				
					
						
							
							
								 
						
							
							
								951ffad81e 
								
							
								 
							
						 
						
							
							
								
								If SP.MoveToTarget has been called with a force walk, begin by landing the avatar.  
							
							... 
							
							
							
							There is a bug here - once an avatar has landed it glides to its new position instead of performing a walk animation 
							
						 
						
							2011-08-11 00:23:54 +01:00  
				
					
						
							
							
								 
						
							
							
								7f499ff3f3 
								
							
								 
							
						 
						
							
							
								
								Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget()  
							
							... 
							
							
							
							Default for this function is now not to automatically land.
This allows better control by scripts when an avatar is going to be landing on a prim rather than the ground.
Stopping the avatar involves faking a collision, to avoid the pid controller making it overshoot.
A better approach would be to gradually slow the avatar as we near the target 
							
						 
						
							2011-08-10 23:56:19 +01:00  
				
					
						
							
							
								 
						
							
							
								fb92678b83 
								
							
								 
							
						 
						
							
							
								
								fly and no fly constants for osNpcMoveToTarget()  
							
							
							
						 
						
							2011-08-10 22:34:42 +01:00  
				
					
						
							
							
								 
						
							
							
								5d6c9644fa 
								
							
								 
							
						 
						
							
							
								
								early code to allow scripts to force npcs not to fly when moving to target  
							
							... 
							
							
							
							this is to allow walking on prims.  it will be up to the script writer to be sure that there is a continuous path.
currently implemented in osNpcMoveToTarget(), but none of this is final. 
							
						 
						
							2011-08-10 01:47:37 +01:00  
				
					
						
							
							
								 
						
							
							
								4cb8d6379d 
								
							
								 
							
						 
						
							
							
								
								Stop trying to deregister caps or close child agents when an NPC is removed  
							
							
							
						 
						
							2011-08-10 00:59:31 +01:00  
				
					
						
							
							
								 
						
							
							
								195c1dc9b8 
								
							
								 
							
						 
						
							
							
								
								implement osNpcStopMoveTo() to cancel any current move target  
							
							
							
						 
						
							2011-08-10 00:26:38 +01:00  
				
					
						
							
							
								 
						
							
							
								cba54090c7 
								
							
								 
							
						 
						
							
							
								
								When an NPC appearance is loaded, rez the attachments too  
							
							
							
						 
						
							2011-08-09 23:25:52 +01:00  
				
					
						
							
							
								 
						
							
							
								92e96d394a 
								
							
								 
							
						 
						
							
							
								
								When an NPC is created, stop telling neighbouring regions to expect a child agent  
							
							
							
						 
						
							2011-08-09 23:11:07 +01:00  
				
					
						
							
							
								 
						
							
							
								795c8e6c22 
								
							
								 
							
						 
						
							
							
								
								Add osOwnerSaveAppearance() to help with setting up NPC appearances.  Not yet ready for user use.  
							
							... 
							
							
							
							Adds regression test. 
							
						 
						
							2011-08-09 22:05:47 +01:00  
				
					
						
							
							
								 
						
							
							
								e869eeb0bf 
								
							
								 
							
						 
						
							
							
								
								Implement first draft functions for saving and loading NPC appearance from storage.  
							
							... 
							
							
							
							This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent.
By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type.
Notecards also allow different appearances to be swapped and manipulated easily.
This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text.
This works in my basic test but is not at all ready for user use or bug reporting yet. 
							
						 
						
							2011-08-09 03:51:34 +01:00  
				
					
						
							
							
								 
						
							
							
								3e16a0fbdd 
								
							
								 
							
						 
						
							
							
								
								factor out common notecard caching code from 3 methods.  
							
							
							
						 
						
							2011-08-09 00:12:41 +01:00  
				
					
						
							
							
								 
						
							
							
								78d8ce3816 
								
							
								 
							
						 
						
							
							
								
								refactor: split out generic parts of osMakeNotecard() into a separate.  Add method doc.  Other minor tidies.  
							
							
							
						 
						
							2011-08-08 23:22:47 +01:00  
				
					
						
							
							
								 
						
							
							
								6878049952 
								
							
								 
							
						 
						
							
							
								
								get rid of bogus log message  
							
							
							
						 
						
							2011-08-06 03:06:05 +01:00  
				
					
						
							
							
								 
						
							
							
								eec54adac5 
								
							
								 
							
						 
						
							
							
								
								remove some obsolete tests that are now done elsewhere  
							
							
							
						 
						
							2011-08-06 02:38:38 +01:00  
				
					
						
							
							
								 
						
							
							
								e37f8cf902 
								
							
								 
							
						 
						
							
							
								
								Add a test to check that ScenePresence and circuit go away when a root agent is closed down  
							
							
							
						 
						
							2011-08-06 02:27:25 +01:00  
				
					
						
							
							
								 
						
							
							
								85e07c78fb 
								
							
								 
							
						 
						
							
							
								
								refactor: Change SceneHelpers.AddClient() to AddScenePresence().  
							
							... 
							
							
							
							This seems to make more sense as we can get SP.ControllingClient 
							
						 
						
							2011-08-06 02:17:41 +01:00  
				
					
						
							
							
								 
						
							
							
								83ba35a26b 
								
							
								 
							
						 
						
							
							
								
								rip out sog generation methods in ScenePresenceAgentTests and use SceneHelpers instead  
							
							... 
							
							
							
							Not that it matters, since these tests are pretty bogus anyway.
Also, renames some test classes for consistency. 
							
						 
						
							2011-08-06 02:01:25 +01:00  
				
					
						
							
							
								 
						
							
							
								2b26d2f1a5 
								
							
								 
							
						 
						
							
							
								
								prevent "create region" console command from being able to create a region with the same id as one that already exists.  
							
							... 
							
							
							
							Addresses http://opensimulator.org/mantis/view.php?id=5617  
							
						 
						
							2011-08-06 01:35:01 +01:00  
				
					
						
							
							
								 
						
							
							
								76f46b2545 
								
							
								 
							
						 
						
							
							
								
								Do proper locking of m_localScenes list in SceneManager  
							
							
							
						 
						
							2011-08-06 01:15:49 +01:00  
				
					
						
							
							
								 
						
							
							
								dad1d6df18 
								
							
								 
							
						 
						
							
							
								
								rename TestHelper => TestHelpers for consistency  
							
							
							
						 
						
							2011-08-06 00:31:03 +01:00  
				
					
						
							
							
								 
						
							
							
								bda1a4be45 
								
							
								 
							
						 
						
							
							
								
								rename test SceneSetupHelpers -> SceneHelpers for consistency  
							
							
							
						 
						
							2011-08-06 00:26:37 +01:00  
				
					
						
							
							
								 
						
							
							
								cba40de109 
								
							
								 
							
						 
						
							
							
								
								extend phantom flag regression test to toggle back off  
							
							
							
						 
						
							2011-08-06 00:22:14 +01:00  
				
					
						
							
							
								 
						
							
							
								c6c91e6599 
								
							
								 
							
						 
						
							
							
								
								refactor: Fold most SOP.ScriptSet* methods back into script code.  Simplify.  
							
							
							
						 
						
							2011-08-06 00:13:08 +01:00  
				
					
						
							
							
								 
						
							
							
								ba89fc3aa1 
								
							
								 
							
						 
						
							
							
								
								Add regression test for setting phantom status on a scene object.  This is not yet complete.  
							
							
							
						 
						
							2011-08-05 23:42:05 +01:00  
				
					
						
							
							
								 
						
							
							
								82f41fdcb5 
								
							
								 
							
						 
						
							
							
								
								BulletSim: fix problem with not convex hulling large objects by creating unit meshes and always scaling in Bullet  
							
							
							
						 
						
							2011-08-05 14:53:39 -07:00  
				
					
						
							
							
								 
						
							
							
								7d35bf8193 
								
							
								 
							
						 
						
							
							
								
								refactor: remove a sliver of unnecessary code  
							
							
							
						 
						
							2011-08-05 22:45:42 +01:00  
				
					
						
							
							
								 
						
							
							
								1a2518d19b 
								
							
								 
							
						 
						
							
							
								
								Instead of moving the file to its final place when FlotsamCache writes to disk, copy it instead.  
							
							... 
							
							
							
							This is to eliminate IOException where two threads compete to cache the same file. 
							
						 
						
							2011-08-05 19:57:47 +01:00  
				
					
						
							
							
								 
						
							
							
								c3f579046c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into bulletsim  
							
							
							
						 
						
							2011-08-05 11:13:02 -07:00  
				
					
						
							
							
								 
						
							
							
								7640b5abf6 
								
							
								 
							
						 
						
							
							
								
								BulletSim: Parameters settable from ini file. Linksets. Physical property value tuning  
							
							
							
						 
						
							2011-08-05 11:01:27 -07:00  
				
					
						
							
							
								 
						
							
							
								94d496cf2b 
								
							
								 
							
						 
						
							
							
								
								remove the largely unused copy/pasted HandleAgentRequestSit() method  
							
							
							
						 
						
							2011-08-05 00:57:43 +01:00  
				
					
						
							
							
								 
						
							
							
								1918402cb1 
								
							
								 
							
						 
						
							
							
								
								if an NPC target is set to a ground location, then automatically land them when they get there.  
							
							... 
							
							
							
							This doesn't help where the target is a prim surface.  In these situations, it might be better to provide manual overrides so the script can control whethre an avatar flys there/lands, etc. 
							
						 
						
							2011-08-04 03:08:35 +01:00  
				
					
						
							
							
								 
						
							
							
								54ce029342 
								
							
								 
							
						 
						
							
							
								
								if an NPC move to target is above the terrain then make it fly to destination  
							
							
							
						 
						
							2011-08-04 02:31:40 +01:00  
				
					
						
							
							
								 
						
							
							
								f999acd095 
								
							
								 
							
						 
						
							
							
								
								minor: remove some mono compiler warnings  
							
							
							
						 
						
							2011-08-04 01:46:34 +01:00  
				
					
						
							
							
								 
						
							
							
								c678b75d65 
								
							
								 
							
						 
						
							
							
								
								if a move to target is set underground, constrain it to the terrain height  
							
							
							
						 
						
							2011-08-04 01:45:56 +01:00  
				
					
						
							
							
								 
						
							
							
								61a931490d 
								
							
								 
							
						 
						
							
							
								
								move bAllowUpdateMoveToPosition switch outside of HandleMoveToTargetUpdate()  
							
							
							
						 
						
							2011-08-04 01:30:37 +01:00  
				
					
						
							
							
								 
						
							
							
								831f933ce6 
								
							
								 
							
						 
						
							
							
								
								only call move target code in SP.HandleAgentUpdate() if we're actually in the process of moving to a position  
							
							
							
						 
						
							2011-08-04 01:22:01 +01:00  
				
					
						
							
							
								 
						
							
							
								7b2b47530e 
								
							
								 
							
						 
						
							
							
								
								move reset code out of HandleMoveToTargetUpdate() so that we only call it where needed instead of passing in a flag  
							
							
							
						 
						
							2011-08-04 01:16:24 +01:00  
				
					
						
							
							
								 
						
							
							
								fc64cc2439 
								
							
								 
							
						 
						
							
							
								
								Make SIGNIFICANT_MOVEMENT SP constant a top-level property so that other classes can use it.  
							
							
							
						 
						
							2011-08-04 01:05:43 +01:00  
				
					
						
							
							
								 
						
							
							
								7f6f100c5a 
								
							
								 
							
						 
						
							
							
								
								When the NPC reaches within the SIGNIFICANT_CLIENT_MOVEMENT distance of the target, move it directly to the target.  
							
							... 
							
							
							
							This makes the movement exact.  Regression test changed to check avatar reaches exact target.
Also has the nice side effect of making NPC animations continue to work after the first movement (which wasn't working).  However, avatar still pauses in mid-stride 
							
						 
						
							2011-08-04 01:00:33 +01:00  
				
					
						
							
							
								 
						
							
							
								ba0c65e028 
								
							
								 
							
						 
						
							
							
								
								extend npc move test to check a second movement  
							
							
							
						 
						
							2011-08-04 00:25:51 +01:00  
				
					
						
							
							
								 
						
							
							
								6f913e8caf 
								
							
								 
							
						 
						
							
							
								
								eliminate pre-existing unused SP.StopMovement()  
							
							
							
						 
						
							2011-08-04 00:13:27 +01:00  
				
					
						
							
							
								 
						
							
							
								a2f5b4ac9a 
								
							
								 
							
						 
						
							
							
								
								Rename HandleMoveToPositionUpdate() to HandleMoveToTargetUpdate() for consistency.  Improve method doc.  
							
							
							
						 
						
							2011-08-04 00:10:53 +01:00  
				
					
						
							
							
								 
						
							
							
								0299cb060e 
								
							
								 
							
						 
						
							
							
								
								eliminate a reset position flag by using functionally equivalent DCFlagKeyPressed  
							
							
							
						 
						
							2011-08-04 00:06:01 +01:00  
				
					
						
							
							
								 
						
							
							
								6ab01b338f 
								
							
								 
							
						 
						
							
							
								
								Stop calling the SP.ResetMoveToTarget() code if a target is not actually set  
							
							
							
						 
						
							2011-08-03 23:59:13 +01:00  
				
					
						
							
							
								 
						
							
							
								31fb6b2d72 
								
							
								 
							
						 
						
							
							
								
								remove move to duck walk compensation - no longer required.  
							
							... 
							
							
							
							extends npc move to regression test to check stop after sufficient sim updates 
							
						 
						
							2011-08-03 23:40:05 +01:00  
				
					
						
							
							
								 
						
							
							
								61d49d4f63 
								
							
								 
							
						 
						
							
							
								
								rename NPC.Autopilot to NPC.MoveToTarget internally.  Add method doc to INPCModule  
							
							
							
						 
						
							2011-08-03 23:20:36 +01:00  
				
					
						
							
							
								 
						
							
							
								31cea17f8e 
								
							
								 
							
						 
						
							
							
								
								extend move test to check avatar is moving in the right direction after setting a move target  
							
							
							
						 
						
							2011-08-03 23:13:52 +01:00  
				
					
						
							
							
								 
						
							
							
								21d8a6b0e8 
								
							
								 
							
						 
						
							
							
								
								extend move test to check one beat of the simulator without actually asking the npc to move.  
							
							
							
						 
						
							2011-08-03 23:06:18 +01:00  
				
					
						
							
							
								 
						
							
							
								d78fe44191 
								
							
								 
							
						 
						
							
							
								
								Add passing but incomplete NPC move regression test  
							
							
							
						 
						
							2011-08-03 22:51:46 +01:00  
				
					
						
							
							
								 
						
							
							
								e0503d397c 
								
							
								 
							
						 
						
							
							
								
								stop avatar service being set up in NPC TestCreate() - it's no longer used  
							
							
							
						 
						
							2011-08-03 22:45:43 +01:00  
				
					
						
							
							
								 
						
							
							
								a333c60f28 
								
							
								 
							
						 
						
							
							
								
								refactor: rename the move to position methods to move to target to be consistent with terminology used by scene object part and elsewhere  
							
							
							
						 
						
							2011-08-03 22:34:05 +01:00  
				
					
						
							
							
								 
						
							
							
								2964467708 
								
							
								 
							
						 
						
							
							
								
								get rid of vestigal move to parameters  
							
							
							
						 
						
							2011-08-03 22:11:05 +01:00  
				
					
						
							
							
								 
						
							
							
								b7a3f36c65 
								
							
								 
							
						 
						
							
							
								
								enable the NPC module for its regression test  
							
							
							
						 
						
							2011-08-03 04:48:47 +01:00  
				
					
						
							
							
								 
						
							
							
								797def8aa4 
								
							
								 
							
						 
						
							
							
								
								Put config to enable disable [NPC] module.  
							
							... 
							
							
							
							Default is disabled.  You will need to explicitly enable to toy with this. 
							
						 
						
							2011-08-03 04:33:45 +01:00  
				
					
						
							
							
								 
						
							
							
								6e4ec29722 
								
							
								 
							
						 
						
							
							
								
								Do a partial fix/implementation of OSSL osNpcMoveTo()  
							
							... 
							
							
							
							Avatar moves and stops.  However, will stop in mid stride.
And if the move to position is in the air, avatar will continue to make vain and quite hilarious attempts to take off (but never doing so).
Clearly more work is needed. 
							
						 
						
							2011-08-03 04:19:19 +01:00  
				
					
						
							
							
								 
						
							
							
								68a5fe0431 
								
							
								 
							
						 
						
							
							
								
								Improve z axis move to/autopilot so the avatar does alternative crouch/huzzah when walking along the ground  
							
							... 
							
							
							
							Moving a flying avatar to a ground point doesn't yet land the avatar.  This may or may not be the best thing 
							
						 
						
							2011-08-03 02:59:49 +01:00  
				
					
						
							
							
								 
						
							
							
								30e816bfa2 
								
							
								 
							
						 
						
							
							
								
								Implement move to/autopilot for z axis movement as well.  
							
							... 
							
							
							
							This is jerky (an artifact of the way it's being done, I think), but it's better than on implementation. 
							
						 
						
							2011-08-03 02:04:38 +01:00  
				
					
						
							
							
								 
						
							
							
								0c23764ce2 
								
							
								 
							
						 
						
							
							
								
								get autopilot/go here to work immediately.  
							
							... 
							
							
							
							This works with viewer 1.23.5 and so in theory should work with libopenmetaverse. 
							
						 
						
							2011-08-03 01:12:32 +01:00  
				
					
						
							
							
								 
						
							
							
								1c126e6e22 
								
							
								 
							
						 
						
							
							
								
								refactor: Move update_movement_flag and the final check inside the m_allowMovement if in HandleAgentUpdate() since it's logically only ever used there  
							
							
							
						 
						
							2011-08-03 00:55:52 +01:00  
				
					
						
							
							
								 
						
							
							
								f9689f5cc9 
								
							
								 
							
						 
						
							
							
								
								refactor: move out code from HandleAgentUpdate() which processes updates to move to a set position  
							
							... 
							
							
							
							Also comment out the really spammy log message I accidentally left in on the last commit. 
							
						 
						
							2011-08-03 00:46:46 +01:00  
				
					
						
							
							
								 
						
							
							
								74b23210a7 
								
							
								 
							
						 
						
							
							
								
								Fix Flotsam cache so it will use the disk cache if the memory cache is enabled  
							
							
							
						 
						
							2011-08-02 23:44:40 +01:00