aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into careminsterMelanie2012-03-074-11/+44
|\ | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs
| * Add sensor, dataserver requests, timer and listener counts to "xengine ↵Justin Clark-Casey (justincc)2012-03-064-11/+44
| | | | | | | | | | | | status" command. This is for diagnostic purposes.
* | Merge branch 'master' into careminsterMelanie2012-03-031-5/+7
|\ \ | |/ | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/VersionInfo.cs OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * Move SenseRepeaters.Count check inside the SenseRepeatListLock.Justin Clark-Casey (justincc)2012-03-021-4/+4
| | | | | | | | No methods in the List class are thread safe in the MS specification/documentation
| * lock SenseRepeatListLock when added a new sensor during script reconstitution.Justin Clark-Casey (justincc)2012-03-021-1/+3
| | | | | | | | | | This is already being done in the other place where a sensor is added. Adding a sensor whilst another thread is iterating over the sensor list can cause a concurrency exception.
* | Merge branch 'master' into careminsterMelanie2012-02-161-1/+16
|\ \ | |/ | | | | | | Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
| * Fix some logic mistakes where firstly osNpcCreate() without options was ↵Justin Clark-Casey (justincc)2012-02-161-1/+16
| | | | | | | | | | | | creating npcs sensed as agents and secondly the OS_NPC_SENSE_AS_AGENT option was having the opposite effect. Hopefully makes progress on addressing http://opensimulator.org/mantis/view.php?id=5872
* | Merge branch 'master' into careminsterMelanie2012-02-101-9/+20
|\ \ | |/
| * Fix an npc delete race condition with LSL sensors where an initial presence ↵Justin Clark-Casey (justincc)2012-02-101-9/+20
| | | | | | | | | | | | | | check could succeed but then the npc removed before the subequent npc check. The resulting null would cause an exception. We now check for null before looking at SenseAsAgent. Hopefully fixes http://opensimulator.org/mantis/view.php?id=5872
* | Merge branch 'master' into careminsterMelanie2012-01-281-2/+7
|\ \ | |/
| * Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().Justin Clark-Casey (justincc)2012-01-281-2/+7
| | | | | | | | | | 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
* | Merge branch 'master' into careminsterMelanie2012-01-121-6/+9
|\ \ | |/
| * Allow all NPCs to show up on sensors as all osNpc* script methods now check ↵Justin Clark-Casey (justincc)2012-01-121-6/+9
| | | | | | | | | | | | for ownership permission before executing. As per #opensim-dev irc discussion.
| * Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie2012-01-061-1/+19
| | | | | | | | 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.
* | Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie2012-01-061-2/+17
| | | | | | | | 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.
* | Fix hit testing link sets properly. Fix raycasting for LSL.Melanie2011-12-171-0/+5
| |
* | Merge branch 'master' into bigmergeMelanie2011-11-281-1/+1
|\ \ | |/ | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
| * When removing an LSL sensor for a script (e.g. through llResetScript() or ↵Justin Clark-Casey (justincc)2011-11-261-1/+1
| | | | | | | | | | | | 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
* | Merge branch 'master' into bigmergeMelanie2011-11-041-2/+2
|\ \ | |/ | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs OpenSim/Region/CoreModules/LightShare/LightShareModule.cs OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
| * Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-031-2/+2
| | | | | | | | | | | | 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.
| * Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Resolve merge commits, stage 1Tom2011-09-041-7/+6
|\ \ | |/
| * refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-271-4/+4
| | | | | | | | pointless duplication of identical values
| * refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatarJustin Clark-Casey (justincc)2011-08-261-2/+2
| | | | | | | | 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
* | Merge branch 'master' into careminster-presence-refactorMelanie2011-06-091-1/+2
|\ \ | |/
| * If an llSensor() is in an attachment, make the detection cone face in the ↵Justin Clark-Casey (justincc)2011-06-031-1/+10
| | | | | | | | | | | | | | direction of the avatar, not the relative rotation of the attachment towards the avatar. This is effectively a copy/paste from 459323a, which should be refactored sometime. This seems the obvious problem from field reports but I have not tested the fix myself. Feedback welcome.
| * Add support for the new display name related functions in LSL. This does notMelanie2011-04-081-4/+22
| | | | | | | | | | | | implement the display names functionality as such, but it allows scripts that are display name aware to function as if the display name were implemented and set to the avatar name.
* | Add support for the new display name related functions in LSL. This does notMelanie2011-04-081-4/+22
| | | | | | | | | | | | implement the display names functionality as such, but it allows scripts that are display name aware to function as if the display name were implemented and set to the avatar name.
* | Correct Sensor axis for unattached daughter prims.Kitto Flora2010-12-121-1/+2
| |
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-09-131-3/+3
|\ \ | |/ | | | | | | The modules will need to be updated for this to compile and run again. Please don't use until I do the companion commit to modules later on.
| * Formatting cleanup.Jeff Ames2010-09-121-2/+2
| |
| * First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman2010-09-101-1/+1
| |
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-05-101-1/+0
|\ \ | |/
| * Return agents when angle is PIMelanie2010-05-101-0/+4
| | | | | | | | Fixes Mantis #4703
* | Fix full circle sensorsMelanie Thielker2010-05-041-0/+5
| |
* | Fix sensor cone for sensing avatarsMelanie Thielker2010-05-031-1/+12
| |
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-04-211-0/+9
|\ \ | |/
| * Make the detection cone in attachments face in the direction of the avatar,Melanie2010-04-211-0/+9
| | | | | | | | not the relative rotation of the attachment towards the avatar.
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-301-57/+36
|\ \ | |/
| * Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake2010-03-191-1/+1
| | | | | | | | Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
| * Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake2010-03-191-57/+36
| | | | | | | | GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-031-1/+1
|\ \ | |/ | | | | This brings careminster on the level of master. To be tested
| * OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+1
| |
* | Fix a timer list locking issue causing XMREngine deadlocksMelanie2009-12-301-15/+17
|/
* Make locking of timers and listeners in script related functions consistentJustin Clark-Casey (justincc)2009-11-271-1/+4
| | | | | See http://opensimulator.org/mantis/view.php?id=4316 Thanks KittyLiu!
* Inconsistent locking of SenseRepeaters in Script Engine.unknown2009-10-231-8/+11
| | | | | | When I attempt to 'save oar' on a region with thousands of scripts with timers, I get a NullReferenceException every time. The problem comes from inconsistent locking in SensorRepeat.cs of the SenseRepeaters List. It is iterated and modified in many places and these places are all wrapped in a lock except in the GetSerializationData(). This is the function throwing the exception because an item in the list becomes null during iteration. The attached patch locks SenseRepeatListLock in GetSerializationData()
* Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman2009-10-231-6/+7
| | | | avoiding locking and copying the list each time it is accessed
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-016-6/+6
| | | | LICENSE.txt.
* * Apply http://opensimulator.org/mantis/view.php?id=3406Justin Clarke Casey2009-04-071-0/+2
| | | | | | | * Makes Second Life environment sensor ranges and maximum response number configurable * Thanks Intimidated
* Update svn properties, add copyright header, formatting cleanup.Jeff Ames2009-03-311-1/+0
|