aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-19Add is_megaregion flag into oar control file. Not currently read - for ↵Justin Clark-Casey (justincc)4-43/+145
future use. Please do not rely on this remaining here. An adaptation of part of Garmin's patch from http://opensimulator.org/mantis/view.php?id=5975, thanks! Flag only written if the SW corner OAR is saved - this is the only one that captures object data presently (though not land or terrain data). This adds an IRegionCombinerModule interface and the necessary methods on RegionCombinerModule
2012-05-18Further refinement on propertiesBlueWall1-7/+4
2012-05-18Cleanup + change properties to set fields with private set : Thanks Justin ↵BlueWall2-3/+4
for the tip.
2012-05-18Provide Telehub setting to allow use of landmarksBlueWall2-1/+9
Setting to allow use of landmarks to override telehub routing. Default is off.
2012-05-18Fix build break. Comment out EQG deregister/register logging.Justin Clark-Casey (justincc)1-10/+10
2012-05-18Add level 2 debug eq logging which logs event queue polls.Justin Clark-Casey (justincc)1-23/+32
Refactor: eq message logging into common method.
2012-05-18refactor: move EventQueueGet path generation into common method. Rename ↵Justin Clark-Casey (justincc)2-21/+34
some local variables in line with code conventions. Add commented out EQG log lines for future use.
2012-05-17Don't eagerly clear frame collision events when physics actors subscribe and ↵Justin Clark-Casey (justincc)1-2/+8
unsubscribe from collisions, in order to avoid a race condition. Since this is done directly from ScenePresence, it can lead to a race condition with the simulator loop. There's no real point doing it anyway since the clear will be done very shortly afterwards by the simulate loop and either there are no events (for a new avatar) or events don't matter (for a departing avatar). This matches existing behaviour in OdePrim
2012-05-17Check agent limit against root agent count rather than both root and child ↵Justin Clark-Casey (justincc)3-22/+43
agents From sl docs such as http://community.secondlife.com/t5/English-Knowledge-Base/Managing-Private-Regions/ta-p/700115 agent should apply to avatars only. This makes sense from a user perspective, and also from a code perspective since child agents with no physics or actions take up a fraction of root agent resources. As such, the check is now only performed in Scene.QueryAccess() - cross and teleport check this before allowing an agent to translocate. This also removes an off-by-one error that could occur in certain circumstances on teleport when a new child agent was double counted when a pre-teleport agent update was performed. This does not affect an existing bug where limits or other QueryAccess() checks are not applied to avatars logging directly into a region.
2012-05-17Force the default Telehub router if no matches are found in the config.BlueWall1-29/+28
2012-05-17minor: improve method doc for ↵Justin Clark-Casey (justincc)1-1/+1
TestSameSimulatorSeparatedRegionsCreateAgentFails()
2012-05-17Add regression TestSameSimulatorSeparatedRegionsCreateAgentFails()Justin Clark-Casey (justincc)1-0/+67
2012-05-17Comment out TestSameSimulatorSeparatedRegionsQueryAccessFails() regression ↵Justin Clark-Casey (justincc)1-2/+2
test logging accidentally left in
2012-05-17minor: Remove redundant EstateOwner != UUID.Zero check in IsAdministrator ↵Justin Clark-Casey (justincc)1-8/+6
because checking EstateOwner == user Due to an earlier check we already know that user != UUID.Zero so if EstateOwner == UUID.Zero, EstateOwner == user can never be true
2012-05-17Add regression TestSameSimulatorSeparatedRegionsQueryAccessFails()Justin Clark-Casey (justincc)1-0/+76
2012-05-17Remove redundant "Teleport failed:" from reason when QueryAccess fails for ↵Justin Clark-Casey (justincc)1-4/+12
the destination simulator. This part of the string is already provided by the viewer. Also adds more reason logging for diagnostics when teleports are refused/fail.
2012-05-16Route OAR SOG loading through the common ↵Justin Clark-Casey (justincc)3-115/+5
SceneObjectSerializer.FromXml2Format() rather than the functionally identical but buggy Xml2ToSOG(). Remove buggy Xml2ToSOG().
2012-05-15Fix issue where loading OARs could sometimes result in link numbers being ↵Justin Clark-Casey (justincc)3-2/+68
reordered. This was because the parts in scene objects were sometimes not serialized in link order. This is perfectly fine since the parts still have the right link numbers, but an extra fix to adjust for this had not been done in the SerialiserModule methods that OAR loading used. Add regression test for same. Addresses http://opensimulator.org/mantis/view.php?id=5948, http://opensimulator.org/mantis/view.php?id=5749
2012-05-15Allow use of regular expressions in "show object name", "show part name" and ↵Justin Clark-Casey (justincc)1-101/+208
"delete object name" console commands if --regex switch is used. Deleteing objects by name, creator uuid or owner uuid now requires confirmation to avoid accidental deletion.
2012-05-14Add another null check to Melanie's last commit. Seems to eliminate sqlite ↵dahlia1-1/+1
errors in log but no idea if it's working properly
2012-05-15Guard against null root part on SQLite. This really needs to be fixed so SQLiteMelanie1-1/+1
loads roots before children like MySQL does.
2012-05-15Try to fix sqlite breakageMelanie1-0/+3
2012-05-15Port Avination's collision fixes to core.Melanie4-522/+199
2012-05-14Save the Telehub and its Spawn Points in the OAROren Hurvitz3-2/+29
2012-05-14minor: add explanative comment to 'missing baked texture' logging commonly ↵Justin Clark-Casey (justincc)1-0/+10
seen on inter-simulator teleports where avatar baked textures are not available from the asset service.
2012-05-14minor: comment out individual attachment transfer log messages for nowJustin Clark-Casey (justincc)1-4/+4
2012-05-14Set the agent in transit teleport flag at the first available opportunity ↵Justin Clark-Casey (justincc)1-11/+37
(i.e. when IsInTransit() was being checked) to close down a race condition. On EntityTransferModule.DoTeleport() there was an IsInTransit() check to prevent multiple simultaneous teleport attempts. However, the SetInTransit() was only performed later on, which left a window in which multiple threads could pass the IsInTransit() check. This has been seen in the field and the results aren't pretty. This commit effectively combines the IsInTransit() and SetInTransit() checks so there is no such window. More failure cases are made to to call ResetInTransit() to adjust to this move.
2012-05-14Add more region information to some teleport related loggingJustin Clark-Casey (justincc)1-7/+8
2012-05-13Modifications for SMTP in OpenSimulator. Email size limit was fixed (was out ↵Chris Koeritz2-26/+26
of step with documentation at 1024, so boosted to 4096). Added configuration item for maximum email size. Redundant sleep inside email module was fixed (LSL Api was already sleeping). Added sleep time configuration item for snooze between email sending for LSL Api. Added two new configuration items (email_max_size and email_pause_time) into the example OpenSim.ini, plus fixed a spelling error (llimits) and odd tabbing. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-13Add configurable SpawnPointRoutingBlueWall2-38/+146
Will use one of three selected methods to route avatar landing points when using Telehubs. The setting is in [Startup] using SpawnPointRouting = closest/random/sequence closest: The default setting. Routes avatar to the nearest SpawnPoint to the location. random: Picks random SpawnPoints to land the avatar. sequence: Follows a sequence to place the avatar on the next available SpawnPoint location Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs
2012-05-12Revert "Save the Telehub and its Spawn Points in the OAR"Justin Clark-Casey (justincc)3-29/+2
This reverts commit b0b7b45b943dd94546bcfcf5d3bb871cfe35b507. Sorry BlueWall, I wanted to discuss an aspect of the data storage but I couldn't assign bugs in 'patch included' state to myself until I changed mantis just now and I forgot to mention it on irc. I wouldn't normally revert but thinks get tricky when it comes to data formats. Essentially, I would like to see the Yaw, Pitch and Distance values as separate XML entities (as used in other aspects such as vectors, quaternions) rather than as a . delimited string We can discuss this more with Oren in opensimulator.org/mantis/view.php?id=6008
2012-05-10Save the Telehub and its Spawn Points in the OAROren Hurvitz3-2/+29
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-10Add ConsoleTable framework class for future uniform formatting of console ↵Justin Clark-Casey (justincc)1-8/+26
output tables. Still subject to change - if you use this be prepared to change your output code if/when the methods change. Make new "attachments show" command use this.
2012-05-10Add "attachments" show console command that will show the server's record of ↵Justin Clark-Casey (justincc)1-0/+177
which attachments an in-scene avatar has. For debugging purposes.
2012-05-10Add even for terrain tainting and synchronize terrain module with physics ↵Dan Lake3-7/+34
scene before physics simulation step rather than after
2012-05-10Saving estate state is really slow (relatively) and it getsMic Bowman2-7/+10
completely rewritten every time a region starts up. This makes the data write only when the data was not already read from the database. There is a still a major race condition whenever two regions share the same estate data, but at least it won't be triggered on startup.
2012-05-09Improve logging on the prim inventory script asset request path for future use.Justin Clark-Casey (justincc)3-6/+13
This adds name and description of the request handler to http request logging when DebugLevel >= 1
2012-05-09Mantis 6015 new LSL function llGetAgentList.Talun4-0/+96
Details in the lsl wiki
2012-05-09Remove physics actor related race conditions in SetVehicleFlags() and ↵Justin Clark-Casey (justincc)1-7/+9
SetPhysicsAxisRotation() sop.PhysActor can currently become null at any time.
2012-05-08Trigger event when scene presences are updatedDan Lake2-0/+34
2012-05-09Mantis 1456 same region teleport of a sitting avatar.Talun1-0/+2
Region to region was fixed some time ago in EntityTransferModule. This applies the same fix for same region teleports.
2012-05-08Add automated TestllBreakLink()Justin Clark-Casey (justincc)1-0/+27
2012-05-08Add automated TestllCreateLink()Justin Clark-Casey (justincc)1-0/+112
2012-05-08refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)10-46/+36
This is always available from m_host.LocalId
2012-05-08Instead of constantly looking up unchanging self item in script code, pass ↵Justin Clark-Casey (justincc)10-190/+145
in self item on initialization.
2012-05-08Perform SceneGraph.DuplicateObject() under existing m_updateLock already ↵Justin Clark-Casey (justincc)1-75/+89
used for link and delinking, in order to avoid race conditions. DuplicateObject() relies on source object having correct link numbers for the duration of the dupe. Both link and delink can change link numbers such that they are not consistent for short periods of time.
2012-05-07Revert "Better error handling if Load OAR or Save OAR fail"Justin Clark-Casey (justincc)3-32/+6
This reverts commit 65c88b2ff4e2616fa5c1d4c5e75298ed1eb1c0d8. Yet again I accidentally committed something whilst evaluating it.
2012-05-07Better error handling if Load OAR or Save OAR failOren Hurvitz3-6/+32
2012-05-07For osGetGridNick(), osGetGridName(), osGetGridLoginURI() and ↵Justin Clark-Casey (justincc)1-8/+10
osGetGridCustom(), try to read from the [GridInfoService] section on standalone rather than [GridInfo] [GridInfoService] is the section that's actually in bin/config-include/StandaloneCommon.ini.example
2012-05-07refactor: Instead of performing a ScenePresence lookup twice over ↵Justin Clark-Casey (justincc)1-18/+2
LocateClientObject() and GetClientScene(), do the lookup just once in LocateClientObject()