aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-03 on presence close(), release animator and OnRegionHeartbeatEnd eventUbitUmarov1-0/+7
2012-08-03minor change avoiding a null referenceUbitUmarov1-2/+4
2012-08-03Make sure the position of a loggin-in agent is within region boundaries sinceMelanie1-0/+9
out of bounds positions cause a rejection of the login.
2012-08-01Create the ability for physics modules to request assets on demand byMelanie1-0/+16
themselves. For that, the physics module simply calls RequestAssetMethod, which in turn points to Scene.PhysicsRequestAsset. This gives physics access to the asset system without introducing unwanted knowledge of the scene class.
2012-07-31Reverse a senseless change in the prioritizer. Why I would want avatars to ↵Melanie1-3/+9
render according to their camera position is beyond me.
2012-07-31Adds support to ScriptModuleComms for region modules to exportMic Bowman1-0/+4
constants to the script engine.
2012-07-30Correct StandUp position and rotationMelanie1-1/+3
2012-07-29Fix an exception while outputting a log messageMelanie1-1/+1
2012-07-29See that if controls are taken, those are released before taking new onesMelanie1-0/+3
2012-07-28Fix some merge issues and a functional issue in the scene managerMelanie1-1/+1
2012-07-27Avoid a race condition between the scene shutdown thread and the update ↵Justin Clark-Casey (justincc)1-3/+5
thread since commit c150320 (Thu Jul 26 15:27:18 2012) c150320 started explicitly disposing of the physics scene and nulling it out on region shutdown. However, the update loop may not have yet checked Scene.ShuttingDown, particularly if avatars were not in the scene, causing failure when it tried to lookup time dilation. This commit moves the setting of m_shuttingDown above the existing 500ms pause to notify avatars that they are being kicked. This should not affect the few other places that use this flag.
2012-07-27Remove duplicated IScenePresence.PresenceType. This is already in ↵Justin Clark-Casey (justincc)1-2/+0
ISceneAgent.PresenceType from which IScenePresence inherits. No other code changes required.
2012-07-26When copying items, copy the item description field instead of the asset ↵Justin Clark-Casey (justincc)1-23/+46
description field. If we copy the asset description then we will only ever replicate the very first description, if there was one, not any subsequent changes. Thanks to Oren Hurvitz of Kitely for this patch from http://opensimulator.org/mantis/view.php?id=6107 I have adapted it slightly to change the order of arguments (name before description rather than vice-versa) and slightly improve some method doc.
2012-07-26Add a Dispose() of the physics engine when a scene is being shutdown.Robert Adams1-0/+9
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)1-0/+1
with other monitoring code from OpenSim.Framework
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2-2/+2
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)4-10/+76
This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
2012-07-23Change attachment handling to remove object from the scene first as perMelanie4-13/+23
justincc's original work. Sample scripts before doing so. Also refactor some crucial common code and eliminate parameters that were only ever used with the same constant value.
2012-07-23Change attachment handling to remove object from the scene first as perMelanie4-13/+23
justincc's original work. Sample scripts before doing so. Also refactor some crucial common code and eliminate parameters that were only ever used with the same constant value.
2012-07-23Committing Avination's memleak fix-a-thon, installment #3Melanie1-0/+2
When linking, detach the no longer used SOG's from backup so they can be collected. Since their Children collection is never emptied, they prevent their former SOPs from being collected as well.
2012-07-19Stop explicitly closing and nulling out Animator in order to prevent NREs in ↵Justin Clark-Casey (justincc)2-23/+7
various places due to race conditions. Even where checks are being made they aren't enough since they all assume that the Animator they just checked is still there in the next line, which is not necessarily the case without locking. The memory used is small and these should be GC'd anyway when the SP is released. If this is not happening then the wider problem of old SPs being retained needs to be resolved.
2012-07-19Prevent race conditions between two threads that call LLClientView.Close() ↵Justin Clark-Casey (justincc)1-3/+3
simultaneously (e.g. ack timeout and an attempt to reconnect)
2012-07-19Add TestCreateDuplicateRootScenePresence() regression test.Justin Clark-Casey (justincc)3-1/+41
2012-07-19Add basic TestCreateRootScenePresence() regression testJustin Clark-Casey (justincc)1-135/+144
2012-07-19Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)4-16/+35
enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
2012-07-18Add back notification to neighbouring regions when RegionReadyModule is not ↵Justin Clark-Casey (justincc)1-0/+3
active accidentally just removed in 528004d
2012-07-18Perform other region ready actions even if simulator is configured to leave ↵Justin Clark-Casey (justincc)3-21/+29
logins disabled on startup.
2012-07-18Fix bug where region ready was being triggered twice in quick succession if ↵Justin Clark-Casey (justincc)1-9/+12
a region contained no scripts.
2012-07-18Establish EventManager.OnRegionReady event. This will only be triggerred ↵Justin Clark-Casey (justincc)2-3/+35
once when the region is ready. Switch MapImageServiceModule to use this.
2012-07-18Pass entire scene object in OnLoginsEnabled event rather than just the ↵Justin Clark-Casey (justincc)2-5/+4
region name. This saves listeners from having to re-retrieve the scene from their own lists, which won't work anyway if multiple regions with the same name have been allowed
2012-07-18Missing parameter in log error message was throwing exceptionDan Lake1-1/+1
2012-07-18Close() the ScenePresence after we've removed it from the scene graph, to ↵Justin Clark-Casey (justincc)1-10/+16
cut down race conditions when another thread manages the grab the presence after some SP structures have been reset.
2012-07-17Replace PollServiceRequestManager with older version, add extra logging toMelanie1-0/+1
event exceptions to see call path leading up to it.
2012-07-17 minor changes, removed extra parts physics updates on linking nonrootUbitUmarov1-2/+3
prims
2012-07-17 fix our stats ( old schema )UbitUmarov2-48/+66
2012-07-17Fix merge artefactsMelanie3-10/+4
2012-07-16Revert "Fix script "Running" behavior"Melanie2-16/+0
A better solution using the already present flags must be found. This reverts commit 6d3ee8bb39d47ed7b32e8905fa0b2fc31c5a9f80.
2012-07-14 remove forgotten line...UbitUmarov1-1/+0
2012-07-14 don't subscribe collision events for nonphysical parts only because ofUbitUmarov2-1/+2
collision sounds. Let them be passive
2012-07-13 missed fix on vehicle reference frameUbitUmarov1-2/+1
2012-07-13Don't cache regions data on the other unused LocalGridServiceConnector that ↵Justin Clark-Casey (justincc)1-5/+17
the module code still sets up even if we're using one directly instantiated from the RemoteGridServiceConnector. Also improves log messages to indicate which regions are sending/receiving various neighbour protocol messages.
2012-07-12Change very recent AllowedViewerList and BannedViewerList config setting ↵Justin Clark-Casey (justincc)1-4/+4
names in OpenSim.ini.example to AllowedClients and BannedClients to match long-existing settings in [LoginService] Also changes separator from comma to bar to match existing [LoginService] config features. Divergence of config names for identical facilities in different places makes for an unnecessarily confusing user experience.
2012-07-11Many explanitory comments added to the link and delink code inRobert Adams2-23/+93
SOG and SOP. Should have no functionality changes.
2012-07-12Revert "Add instrumentation to log finalizer being called. Suppressed for ↵Melanie2-12/+6
backup" This reverts commit ea91a36483f3eba90e16b664715d152f9eca2980.
2012-07-12Revert "Place instrumentation in the proper place. This needs reverting, too!"Melanie1-1/+1
This reverts commit d9b0b03aa3f92bcd860e4edb656cf6b1221776a6.
2012-07-12Add "gc collect" console command for debugging memleaksMelanie1-0/+7
2012-07-11Place instrumentation in the proper place. This needs reverting, too!Melanie1-1/+1
2012-07-11Add instrumentation to log finalizer being called. Suppressed for backupMelanie2-6/+12
interim copies to avoid spammage. Not for release to the grid, must be reverted first!
2012-07-11Change order of operations on backup to ensure keyframe motions are backedMelanie1-2/+6
up properly
2012-07-11Add regression TestDetachScriptedAttachmentToInventory()Justin Clark-Casey (justincc)2-1/+5
This currently only does a relatively crude check for a ScriptState node in the serialized xml