aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-25Move scene debug commands into separate module. Command changes from "debug ↵Justin Clark-Casey (justincc)2-94/+102
scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
2013-01-25Add "debug scene pbackup true|false" console command. This enables or ↵Justin Clark-Casey (justincc)1-9/+30
disable periodic scene backup. For debug purposes. If false, scene is still saved on shutdown.
2013-01-04Fix llGetLinkKey() to return the last sat avatar as the last link number.Justin Clark-Casey (justincc)2-46/+68
As per http://wiki.secondlife.com/wiki/LlGetLinkKey This is done by keeping a scene-object wide list of sitters. This also fixes bugs in this function where linknums 0 and 1 weren't treated properly if there were sitting avatars on a single prim. This also fixes a minor race condition for multiple concurrent sitters on a prim with no current sitters by locking on the object-wide list rather than individual sop lists Addresses http://opensimulator.org/mantis/view.php?id=6477
2012-12-28ScenePresence passes the avatar rotation down to the physics engine. This ↵Robert Adams1-0/+4
will be a no-op for ODE but enables asymmetrical avatars for BulletSim.
2012-12-27Add check to always push terse updates for presences that have new ↵Robert Adams1-3/+8
velocities of zero.
2012-12-18Replace axis rotation numeric constants (STATUS_ROTATE_XYZ) with symbols. ↵Robert Adams2-6/+15
Also made it so llSetStatus() can individually enable disable rotation axi using the bitmask of flags.
2012-12-16BulletSim: experimentally remove unit displacement from prim border crossing ↵Robert Adams1-2/+13
test. This seems to cause border crossing to be sensed either a little early or a little late depending on which directin the object is moving. If border crossings become totally borked or someone remembers why this was displacement was done, revert this change.
2012-12-15minor: If the physics module tells us that an object has gone out of bounds, ↵Justin Clark-Casey (justincc)1-2/+5
more helpfully log the name, id, position and region of that object.
2012-12-14minor: Add commented out log lines to ScenePresenceAnimator for future debug ↵Justin Clark-Casey (justincc)1-1/+10
use (such as logging anim pack contents sent to clients)
2012-12-14Fix issue where calling llVolumeDetect(FALSE) would not remove phantom flag, ↵Justin Clark-Casey (justincc)2-2/+42
causing subsequent issues if physics was re-enabled. Added regression tests Addresses http://opensimulator.org/mantis/view.php?id=6365
2012-12-13Simplify sit code a bit by determining correct animation in HandleSit ↵Dan Lake1-30/+6
instead of HandleSitRequest. This eliminates m_nextSitAnimation, an unneeded state-saving variable in ScenePresence
2012-12-09Switched the order by which foreign inventory and foreign assets are brought ↵Diva Canto1-6/+4
in, to avoid race conditions on the client.
2012-12-09UserManagementModule: search the local cache for names too.Diva Canto1-1/+1
Inventory transfers: don't do async on asset transfers or now.
2012-12-07Use a thread abort safe version of OpenMetaverse.DoubleDictionary with the ↵Justin Clark-Casey (justincc)1-1/+3
aim of avoiding OpenSimulator problems due to script thread aborts. When an object is removed, its scripts are stopped and then the thread running them is aborted if stop takes too long. However, it appears that aborting a thread at just the wrong moment when it is obtaining a ReaderWriterLockSlim lock can leave this lock in an inconsistent state. One symptom of this is that mono leaps to 100% cpu and a vm thread dump reveals lots of threads waiting for a ReaderWriterLockSlim lock without any thread actually holding it. This is probably the same problem as encountered originally in commit 12cebb12 This commit looks to plaster this problem by putting lock obtaining methods inside finally blocks which should be uninterruptible by thread aborts.
2012-12-04minor: Put Scene.PhysicsRequestAsset() into standard C# xml format.Justin Clark-Casey (justincc)1-4/+11
2012-12-03XmlRpcGridRouterBlueWall1-0/+1
Flesh out XmlRpcGridRouter to reap unused channels from gateway when scripts or objects are removed, or when the llCloseRemoteDataChannel is called. See: http://http://forge.opensimulator.org/gf/project/xmlrpcrouter/ or https://github.com/BlueWall/XmlRpcRouter for php gateway and test code.
2012-11-24Combine TestDeleteSceneObjectAsync() with TestDeRezSceneObject() as they are ↵Justin Clark-Casey (justincc)3-106/+83
functionally identical. Move TestDeleteSceneObjectAsync() and TestDeleteSceneObjectAsyncToUserInventory() from SceneObjectBasicTests -> SceneObjectDeRezTests
2012-11-24Fix regression TestDeleteSceneObjectAsyncToUserInventory by adding a ↵Justin Clark-Casey (justincc)1-7/+12
BasicInventoryAccessModule() and re-enable in test suite.
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)17-17/+17
automatically turns off any logging enabled between tests
2012-11-23minor: Make note in log if scene was restarted due to an unrecoverable ↵Justin Clark-Casey (justincc)1-1/+6
physics error
2012-11-23Fix problem where restarting the currently selected region would stop ↵Justin Clark-Casey (justincc)2-31/+25
various console commands (e.g. "show users") from working. This was because the "currently selected" scene reference was being left as the dead scene instead of the restarted Scene object.
2012-11-23Add regression test for checking scene close when SceneManager is asked to closeJustin Clark-Casey (justincc)1-0/+58
2012-11-23Fix regression where we stopped closing scenes on simulator exit.Justin Clark-Casey (justincc)1-0/+7
If we don't do this, then these scenes don't get deregistered from the grid, amongst other things. Regression was introduced in commit 8c130bc (Mon Nov 12 22:50:28 2012 +0000)
2012-11-20Minor formatting for 0962a35d and a few one-line comments as to why that ↵Justin Clark-Casey (justincc)1-8/+7
code is there
2012-11-20Fix movetotarget on mega regions.Iain Oliver1-3/+21
2012-11-14Added AssemblyInfos to every dll in the OpenSim.Region namespace.Diva Canto1-0/+33
2012-11-12Completely remove the IRegionModule interfaceMelanie1-55/+0
2012-11-12Stop closing old style modulesMelanie1-9/+0
2012-11-12Remove the old style module loader and all references to itMelanie4-350/+12
2012-11-11document & 80-character width terminal formattingSignpostMarv1-36/+78
Signed-off-by: Diva Canto <diva@metaverseink.com>
2012-11-11moving windlight-sources to correct namespace-named folder (world); add ↵PixelTomsen1-0/+33
LightShare as Interface Signed-off-by: Diva Canto <diva@metaverseink.com>
2012-11-10One more module converted: CloudModule.Diva Canto1-1/+1
2012-11-1080 character-width terminal formatting of IDialogModule interface, removing ↵SignpostMarv1-23/+28
superfluous whitespace & line-endings.
2012-11-10Documenting parameters of methods on the IDialogModule interfaceSignpostMarv1-33/+73
2012-11-10Uncomment SceneObjectBasicTests.TestDeleteSceneObjectAsyncToUserInventory() ↵Justin Clark-Casey (justincc)2-35/+70
and make it compile again Not currently in test suite since not yet working. Also add method doc to Scene.DeRezObjects()
2012-11-09Converted the WindModule to the new region module interface (38 to go). Also ↵Diva Canto1-1/+1
added both the WindModule and the SunModule to the Plugin manifest.
2012-11-09Converted the SunModule to the new region module interface. (39 to go...)Diva Canto1-1/+1
2012-11-09marking IRegionModule interface as obsolete via System.ObsoleteAttribute, ↵SignpostMarv1-0/+2
intentionally triggering a bunch of warnings in compiler output in hopes of encouraging other developers to refactor built-in modules when they have free time.
2012-11-04Add a method to query all registered script constants to allow non-XEngineMelanie1-0/+2
script engines to use them.
2012-11-02Change to earlier commit for TargetVelocity to support distributed physics.Dan Lake1-3/+3
2012-10-31Add TargetVelocity to PhysicsActor interface to support distributed physics. ↵Dan Lake1-1/+1
No change to existing functions.
2012-10-31Make "show object part" command correctly display script status.Justin Clark-Casey (justincc)2-17/+48
Uses new IEntityInventory.TryGetScriptInstanceRunning() Makes it clearer that TaskInventoryItem.ScriptRunning cannot be used as it is temporary and not updated.
2012-10-30Store and send the current movement animation state to a new sim on crossingMelanie2-0/+17
2012-10-30Only create a new list to check if objects have reached targets if there ↵Justin Clark-Casey (justincc)1-5/+9
actually are any targets.
2012-10-29documenting some params on ISoundModule methodsSignpostMarv1-7/+16
2012-10-29Refactoring llTriggerSoundLimited with a new method on ISoundModule, as the ↵SignpostMarv1-0/+3
LL Wiki spec for llTriggerSoundLimited states an axis-aligned bounding box, not radial constraint
2012-10-29shuffling code around so that the interface for ISoundModule.SendSound() ↵SignpostMarv2-2/+2
specifies a UUID rather than a string
2012-10-29moving SendSound from SceneObjectPart to ISoundModuleSignpostMarv2-79/+24
2012-10-29fixing a bug in SceneObjectPart.SendSound where sounds would always come ↵SignpostMarv1-9/+8
from the root prim rather than the source prim
2012-10-29Factoring out a superfluous local variable & repeated assignment in ↵SignpostMarv1-10/+8
SceneObjectPart.SendSound as linksets are only meant to have a single owner