aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-31Resolve a deadlock between INPCModule and SensorRepeat by replacing the ↵Justin Clark-Casey (justincc)1-35/+43
SensorRepeat list with a new list on add/removes rather than locking it for the duration of the sensor sweep. A deadlock was observed today where NPC removal on a script thread would lock the NPC list and then try to lock the sensor list via scripted attachment removal. Concurrently, the sensor sweep thread would lock the sensor list and then try to lock the NPC list to check NPC status. This commit resolves the deadlock by replacing the sensor list on update rather than locking it for the duration of the sweep.
2012-07-31Adds support to ScriptModuleComms for region modules to exportMic Bowman1-2/+37
constants to the script engine.
2012-07-29Return world rotation on llGetObjectDetails()'s OBJECT_ROTMelanie1-1/+11
2012-07-29Return world rotation on llGetObjectDetails()'s OBJECT_ROTMelanie1-4/+10
2012-07-29When controls are released by script, don't drop the permission toMelanie1-2/+0
retake them.
2012-07-28LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv3-0/+54
2012-07-27Remove a couple of compiler warnings pointed out by SignpostMarvJustin Clark-Casey (justincc)1-2/+0
2012-07-27Implement the linefeed URL hack for ShoutCast and other servicesMelanie1-0/+53
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-25Remove support for the OS_NPC constant. That one seems to be overly paranoidMelanie2-4/+2
to have and confuses the issue.
2012-07-20As per opensim-dev mailing list discussion, extend llGetDetectedType() to ↵Justin Clark-Casey (justincc)1-5/+28
return OS_NPC if an OS npc is detected. The detection will also return agent is the NPC has been created with the OS_NPC_SENSE_AS_AGENT option.
2012-07-20As per opensim-dev mailing list conversation, introduce OS_NPC constant for ↵Justin Clark-Casey (justincc)2-2/+4
use with llSensor() This same constant will later be used with llGetDetectedType(). This constant has a different name from NPC to avoid possible conflict with future LSL changes. This constant has a different value to try and avoid unnecessary conflict with future constants that may use the same value. Using the 'NPC' constant with llSensor() will remain valid but is deprecated.
2012-07-20Enables support for UUIDs to be returned in lists fromMic Bowman1-3/+13
modInvoke commands. Thanks SignpostMarv!!!
2012-07-20Implements a very useful OSSL function to test a string to seeMic Bowman3-0/+26
if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
2012-07-19Update ubitMesh primMesher with new Dahlia version on core ( reckick gitUbitUmarov1-1/+0
back)
2012-07-19 kick gitUbitUmarov1-0/+1
2012-07-18Fix llSameGroup to work according to specsMelanie1-10/+36
2012-07-17Revert "Revert "refactor: make llGiveInventory() use existing ↵Justin Clark-Casey (justincc)1-24/+9
GetInventoryItem() method rather than iterate through TaskInventory itself."" This reverts commit 59a29f5f221a1ffe4e22c63ef9da82270442b213. The original revert was committed by mistake - it turns out this was not the cause of Mantis 6089 Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2012-07-17Fix regression where llGiveInventory() had stopped asking non-owner ↵Justin Clark-Casey (justincc)1-29/+29
receivers to accept/decline. This appears to be a regression from back in commit db91044 (Mon Aug 22 2011) where we started to send TaskInventoryOffered msg dialog rather than InventoryOffered dialog. This is probably correct, but failed because the bucket was too large and because we wouldn't have handled the TaskInventoryDeclined option anyway. This patch handles both of these and make llGiveInventoryList() use TaskInventoryOffered as well Fixes http://opensimulator.org/mantis/view.php?id=6089
2012-07-17Revert "refactor: make llGiveInventory() use existing GetInventoryItem() ↵Justin Clark-Casey (justincc)1-11/+24
method rather than iterate through TaskInventory itself." This reverts commit 58b13d51a7eddb442e38e6dc6790a9e7cf68bad7.
2012-07-17Make the scrpt running flag work properlyMelanie1-6/+8
2012-07-16Revert "Fix script "Running" behavior"Melanie2-20/+0
A better solution using the already present flags must be found. This reverts commit 6d3ee8bb39d47ed7b32e8905fa0b2fc31c5a9f80.
2012-07-16sending more user-friendly messages to the script error window rather than ↵SignpostMarv1-1/+14
the thrown exceptions. Signed-off-by: Melanie <melanie@t-data.com>
2012-07-16Allow setting linked avatar positions from within a prim not the one sat onMelanie1-11/+18
2012-07-16 ** TEST ** put back corrected SetPrimParams for avatars, referenced toUbitUmarov1-26/+48
sitpart and not m_host.
2012-07-15Reinstate older set rotation code for avatars since it works in all casesMelanie1-22/+1
2012-07-15Replace sit position and rotation code with older, working versionMelanie1-26/+28
2012-07-15Revert "Fix a sit rotation issue"Melanie1-1/+1
This reverts commit 47f7cc9457bfc5c909290ac189b34dd3eceebe7f.
2012-07-15Fix a sit rotation issueMelanie1-1/+1
2012-07-14acting on feedback from justinccSignpostMarv1-6/+7
2012-07-14acting on feedback from justinccSignpostMarv1-39/+42
2012-07-14added in some extra variables, it sometimes thinks it is on the same parcel :(SignpostMarv1-5/+7
Signed-off-by: SignpostMarv <github@signpostmarv.name>
2012-07-14adding workaround for silent failure if position is outside the bounds of a ↵SignpostMarv1-13/+41
region, implementing parcel prim count check. Signed-off-by: SignpostMarv <github@signpostmarv.name>
2012-07-14Implementation of llSetRegionPos(). Does not implement failure on object ↵SignpostMarv3-4/+45
entry/prim limit/access restrictions. Signed-off-by: SignpostMarv <github@signpostmarv.name>
2012-07-13Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)1-1/+1
the BOM, use a single Util.UTF8NoBomEncoding. This class is thread-safe (as evidenced by the provision of the system-wide Encoding.UTF8 which does not suppress BOM on output).
2012-07-12Remove IClientAPI.GetClientEP() in favour of existing identical ↵Justin Clark-Casey (justincc)1-6/+2
IClientAPI.RemoteEndpoint.
2012-07-13Revert " lltargetomega efective spinrate now multiplied by gain ( need check )"Melanie1-1/+0
Undo figuring gain into spinrate in llTargetOmega. In SL, gain has null effect on nonphysical spinning objects. This reverts commit df55de5b3d88e241f35217d5c08d02b921991513.
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)4-24/+14
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
2012-07-11Add regression TestDetachScriptedAttachmentToInventory()Justin Clark-Casey (justincc)2-8/+15
This currently only does a relatively crude check for a ScriptState node in the serialized xml
2012-07-11 remove expensive and leaked ( in Xengine at least) SayShout timer andUbitUmarov1-5/+23
replace it by a simpler function that should do the same (?) (don't like much those 10 + 1 bursts)
2012-07-10Disable logging in regression test in OSSL_ApiAttachmentTestsJustin Clark-Casey (justincc)1-1/+1
2012-07-10 lltargetomega efective spinrate now multiplied by gain ( need check )UbitUmarov1-0/+1
2012-07-10more work on llSetAngularVelocity()UbitUmarov1-3/+1
2012-07-09This script allows an object to be attached directly from prim inventory to ↵Justin Clark-Casey (justincc)4-5/+96
another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe
2012-07-07minor: remove some recent mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2012-07-07Remove redundant SetScene() function in Scene.AddSceneObject()Justin Clark-Casey (justincc)2-10/+10
This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks. There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions.
2012-07-06Mantis 6063 osNpcTouch.Talun3-0/+41
Allow NPCS to touch obects.
2012-07-06 added llSetVelocity. will refuse to work on vehicles and on attachments ( ↵UbitUmarov3-1/+29
this last may need fix) added also some code for llSetAngularVelocity but not working still
2012-07-05Add an EventType enum and Type field to the poll service event args. This allowsMelanie1-1/+1
the manager to tell what type of event it is. All events except for lsl http in go to the "slow queue" which is run once per second as before.
2012-07-05regrade osFormatString, osMatchString and osReplaceString to VeryLow.Justin Clark-Casey (justincc)1-3/+3
I can't see that these present any real hazard to sim functioning.