aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* varregion: plug in TerrainData class and modify TerrainModule and ↵Robert Adams2013-10-0713-308/+279
| | | | LLClientView to use same. This passes a terrain info class around rather than passing a one dimensional array thus allowing variable regions. Update the database storage for variable region sizes. This should be downward compatible (same format for 256x256 regions).
* varregion: remove scattered use of Constants.RegionSize by having routines ↵Robert Adams2013-10-075-15/+10
| | | | reference RegionInfo.RegionWorldLoc?.
* varregion: add new TerrainData and TerrainCompressor routines. ↵Robert Adams2013-10-072-0/+1110
| | | | TerrainCompressor needed to replace the one in libopenmetaverse that doesn't know about the larger terrain packets.
* Merge branch 'varregion' of git://opensimulator.org/git/opensim into varregionRobert Adams2013-09-280-0/+0
|\
| * varregion: serious rework of TerrainChannel:Robert Adams2013-09-259-135/+247
| | | | | | | | | | | | | | | | | | -- addition of varaible region size in X and Y -- internal storage of heightmap changed from double[] to short[] -- helper routines for handling internal structure while keeping existing API -- to and from XML that adds region size information (for downward compatibility, output in the legacy XML format if X and Y are 256) Updated and commented Constants.RegionSize but didn't change the name for compatibility.
| * Remove time based terrain storage in SQLite so revision number can be usedRobert Adams2013-09-254-16/+28
| | | | | | | | | | | | | | to denote terrain format revision. Add terrain DB format revision codes to ISimulationDataStore.cs. Setup so legacy compatible terrain storage and fetch is possible while allowing future format extensions.
| * varregion: go back to using Constants.RegionSize so as not to breakRobert Adams2013-09-251-20/+13
| | | | | | | | | | external modules. People shouldn't use it but don't want to cause too much breakage of legacy modules.
| * VarRegion: add RegionSize[XYZ] to RegionInfo.cs.Robert Adams2013-09-251-23/+78
| | | | | | | | | | Update RegionInfo parameter and serialization routines to serialize the region size if it is not the LegacyRegionSize.
| * VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams2013-09-2528-155/+191
| | | | | | | | | | | | | | | | count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
* | varregion: serious rework of TerrainChannel:Robert Adams2013-09-289-135/+247
| | | | | | | | | | | | | | | | | | -- addition of varaible region size in X and Y -- internal storage of heightmap changed from double[] to short[] -- helper routines for handling internal structure while keeping existing API -- to and from XML that adds region size information (for downward compatibility, output in the legacy XML format if X and Y are 256) Updated and commented Constants.RegionSize but didn't change the name for compatibility.
* | Remove time based terrain storage in SQLite so revision number can be usedRobert Adams2013-09-284-16/+28
| | | | | | | | | | | | | | to denote terrain format revision. Add terrain DB format revision codes to ISimulationDataStore.cs. Setup so legacy compatible terrain storage and fetch is possible while allowing future format extensions.
* | varregion: go back to using Constants.RegionSize so as not to breakRobert Adams2013-09-281-20/+13
| | | | | | | | | | external modules. People shouldn't use it but don't want to cause too much breakage of legacy modules.
* | VarRegion: add RegionSize[XYZ] to RegionInfo.cs.Robert Adams2013-09-281-23/+78
| | | | | | | | | | Update RegionInfo parameter and serialization routines to serialize the region size if it is not the LegacyRegionSize.
* | VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams2013-09-2828-155/+191
| | | | | | | | | | | | | | | | count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
* | minor: Disable logging left active on regression test ↵Justin Clark-Casey (justincc)2013-09-271-1/+1
| | | | | | | | TestSameSimulatorIsolatedRegionsV2()
* | refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2013-09-2712-22/+23
| | | | | | | | the code that this is symmetric with CloseAgent()
* | refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)2013-09-2716-53/+43
| | | | | | | | | | | | it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
* | minor code formatting for the sake of consistency and readabilitydahlia2013-09-261-18/+36
| |
* | minor: Make OpenSimDefaults.ini consistent (spacing and tabs to spaces)Justin Clark-Casey (justincc)2013-09-271-18/+33
| |
* | minor: Clean up tabbing and spacing issues in OpenSim.ini.exampleJustin Clark-Casey (justincc)2013-09-271-25/+26
| |
* | minor: correct attachment spelling mistake in log message in ↵Justin Clark-Casey (justincc)2013-09-261-1/+1
|/ | | | HGEntityTransferModule.OnIncomingSceneObject()
* minor: Comment out windlight log message about sending scene data for now.Justin Clark-Casey (justincc)2013-09-261-1/+2
|
* minor: Add scene name to baked textures in cache log messageJustin Clark-Casey (justincc)2013-09-261-1/+1
|
* minor: log MaxOutgoingTransferVersion at EntityTransferModule startupJustin Clark-Casey (justincc)2013-09-261-0/+4
|
* minor: correct spelling of Initialized in LSC connector version messageJustin Clark-Casey (justincc)2013-09-251-1/+1
|
* Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's ↵Justin Clark-Casey (justincc)2013-09-251-2/+1
| | | | also called by HGUserManagementModule
* Reinsert client.SceneAgent checks into ↵Justin Clark-Casey (justincc)2013-09-252-11/+29
| | | | | | | | LLUDPServer.HandleCompleteMovementIntoRegion() to fix race condition regression in commit 7dbc93c (Wed Sep 18 21:41:51 2013 +0100) This check is necessary to close a race condition where the CompleteAgentMovement processing could proceed when the UseCircuitCode thread had added the client to the client manager but before the ScenePresence had registered to process the CompleteAgentMovement message. This is most probably why the message appeared to get lost on a proportion of entity transfers. A better long term solution may be to set the IClientAPI.SceneAgent property before the client is added to the manager.
* Reinsert 200ms sleep accidentally removed in commit 7dbc93c (Wed Sep 18 ↵Justin Clark-Casey (justincc)2013-09-251-2/+2
| | | | 21:41:51 2013 +0100)
* Instead of swallowing any socket begin/end receive exceptions, log them for ↵Justin Clark-Casey (justincc)2013-09-251-7/+32
| | | | | | debugging purposes. This may reveal why on some teleports with current code, the UseCircuitCode message gets through but CompleteMovement disappears into the ether.
* * The last two are the the patch that Aleric wanted pulled from his repo. * ↵teravus2013-09-221-0/+1
| | | | Added GregC to CONTRIBUTORS.txt, Aleric was already in there. * There's some controversy, Some people have suggested that this could be stored in dynamic attributes instead of the database.. Melanie was wanting to pull from the avination repo but was asked to wait on committing anything new until the release. The cherry-pick doesn't answer those questions.
* Don't use 'Indented' formatting for RpcXml responses.Aleric Inglewood2013-09-221-1/+15
| | | | (cherry picked from commit 93abcde69043b175071e0bb752538d9730433f1d)
* Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood2013-09-2214-10/+150
| | | | | | | | | | Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
* minor: Recomment out log message uncommented in previous cbdfe969Justin Clark-Casey (justincc)2013-09-211-4/+4
|
* When giving items between avatars in different simulators, only add the item ↵Oren Hurvitz2013-09-211-9/+44
| | | | | | to the receiving avatar's inventory once. When a user gives an item, the user's client sends an InventoryOffered IM message to its simulator. This adds the item to the receiver's inventory. If the receiver isn't in the same simulator then XMLRPC is used to forward the IM to the correct simulator. The bug was that the receiving simulator handled the message by calling OnInstantMessage() again, which added a second copy of the item to the inventory. Instead, the receiving simulator should only notify the avatar that the item was offered.
* minor: Add prefix to log message in LureModuleJustin Clark-Casey (justincc)2013-09-211-1/+1
|
* minor: Correct minor spelling mistake Reseting -> Resetting in HG Map module ↵Justin Clark-Casey (justincc)2013-09-201-1/+1
| | | | log message
* Make UUID.Zero resolve to "Unknown User" in user cache.Justin Clark-Casey (justincc)2013-09-201-0/+2
| | | | | This is to avoid massive numbers of 'no user found' logs when user IDs are missing for some reason. UUID.Zero should not be used for any user ID.
* Lock around read/write of ScenePresence.m_originRegionID to make sure that ↵Justin Clark-Casey (justincc)2013-09-201-5/+33
| | | | | | all threads are seeing the latest value and not a cached one. There is a possibilty that some V2 teleport failures are due to the viewer triggered CompleteMovement thread not seeing the change of m_originRegionID by the UpdateAgent thread.
* Change some message log levels in Scene.IncomingUpdateChildAgent() for ↵Justin Clark-Casey (justincc)2013-09-201-3/+3
| | | | debugging purposes
* BulletSim: reduce avatar walking stopped threshold.Robert Adams2013-09-202-0/+4
| | | | | | Add parameter for setting the walking stopped threshold. This fixes the slight jump when an avatar stops walking.
* BulletSim: zero velocity when avatar not moving.Robert Adams2013-09-201-0/+1
| | | | | This fixes a movement jitter that happens when an avatar is standing on a tilted surface.
* Make new regions PG by default instead of Mature.Justin Clark-Casey (justincc)2013-09-201-1/+1
| | | | | This makes scripted object sounds and a few other things play by default instead of having to switch the viewer to adult This reduces the support burden
* UUID Gatherer: find assets used in Light Projection, Particle Systems, and ↵Oren Hurvitz2013-09-191-1/+14
| | | | Collision Sounds.
* For debug purposes, allow simulators to force use of earlier SIMULATION/0.1 ↵Justin Clark-Casey (justincc)2013-09-193-6/+59
| | | | | | | | teleport protocol even if SIMULATION/0.2 is available. This is specified in the MaxOutgoingTransferVersion attribute of [EntityTransfer] in OpenSim.ini, see OpenSimDefaults.ini for more details. Default remains "SIMULATION/0.2" Primarily for http://opensimulator.org/mantis/view.php?id=6755
* minor: Make SP.MakeRootAgent() private - no external code has any business ↵Justin Clark-Casey (justincc)2013-09-191-1/+1
| | | | calling this method
* minor: Make log message at top of ScenePresence.CompleteMovement info level ↵Justin Clark-Casey (justincc)2013-09-191-5/+5
| | | | | | | and comment out later log message in ScenePresence.MakeRootAgent() Need an info message since this is currently important in detecting teleport issue when not at debug log level. CompleteMovement message occurs before MakeRootAgent() one did
* minor: Stop debug logging whenever an npc is moved, other npc log related ↵Justin Clark-Casey (justincc)2013-09-191-16/+15
| | | | formatting cleanups
* Revert "Also check user authorization if looking to upgrade from a child to ↵Justin Clark-Casey (justincc)2013-09-191-13/+0
| | | | | | | a root agent." This reverts commit c7ded0618c303f8c24a91c83c2129292beebe466. This proves not to be necessary - the necessary checks are already being done via QueryAccess() before cross or teleport
* Create regression TestCrossOnSameSimulatorNoRootDestPerm() to check that ↵Justin Clark-Casey (justincc)2013-09-192-1/+88
| | | | avatars are not allowed to cross into a neighbour where they are not authorized, even if a child agent was allowed.
* minor: Make config-include .ini files more consistentJustin Clark-Casey (justincc)2013-09-187-149/+149
| | | | | Chiefly tabs to spaces. No actual setting changes