Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add --force flag to "kick user" console command to allow bypassing of recent ↵ | Justin Clark-Casey (justincc) | 2012-08-24 | 1 | -2/+2 |
| | | | | | | | | | race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place. | ||||
* | Implementing PRIM_LINK_TARGET in a non-recursive fashion | SignpostMarv | 2012-08-24 | 1 | -49/+74 |
| | |||||
* | adding ATTACH_*_PEC constants | SignpostMarv | 2012-08-24 | 1 | -0/+2 |
| | |||||
* | Prevent race conditions when one thread removes an NPC SP before another ↵ | Justin Clark-Casey (justincc) | 2012-08-24 | 1 | -5/+20 |
| | | | | thread has retreived it after checking whether the NPC exists. | ||||
* | Release http-in URLs when llResetScript is called | Melanie | 2012-08-24 | 1 | -0/+6 |
| | |||||
* | refactor: rename SOG.RezzingObjectID to SOG.FromPartID to match ↵ | Justin Clark-Casey (justincc) | 2012-08-03 | 1 | -1/+1 |
| | | | | FromFolderID, FromItemID and to reflect that it's a SOP ID rather than a SOG ID. | ||||
* | reduced-complexity implementation of function to get rezzing object key | SignpostMarv | 2012-08-02 | 3 | -0/+19 |
| | | | | Signed-off-by: Melanie <melanie@t-data.com> | ||||
* | Look up the NPC module when the SensorRepeat class is created, rather than ↵ | Justin Clark-Casey (justincc) | 2012-08-01 | 1 | -5/+6 |
| | | | | on every single sensor sweep. | ||||
* | Resolve a deadlock between INPCModule and SensorRepeat by replacing the ↵ | Justin Clark-Casey (justincc) | 2012-07-31 | 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. | ||||
* | Return world rotation on llGetObjectDetails()'s OBJECT_ROT | Melanie | 2012-07-29 | 1 | -1/+11 |
| | |||||
* | LSL/OSSL lacks Math.Min & Math.Max implementations. | SignpostMarv | 2012-07-28 | 3 | -0/+54 |
| | |||||
* | Remove a couple of compiler warnings pointed out by SignpostMarv | Justin Clark-Casey (justincc) | 2012-07-27 | 1 | -2/+0 |
| | |||||
* | Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵ | Justin Clark-Casey (justincc) | 2012-07-25 | 1 | -0/+1 |
| | | | | with other monitoring code from OpenSim.Framework | ||||
* | As per opensim-dev mailing list conversation, introduce OS_NPC constant for ↵ | Justin Clark-Casey (justincc) | 2012-07-20 | 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. | ||||
* | Enables support for UUIDs to be returned in lists from | Mic Bowman | 2012-07-20 | 1 | -3/+13 |
| | | | | | | modInvoke commands. Thanks SignpostMarv!!! | ||||
* | Implements a very useful OSSL function to test a string to see | Mic Bowman | 2012-07-20 | 3 | -0/+26 |
| | | | | | | if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv! | ||||
* | Revert "Revert "refactor: make llGiveInventory() use existing ↵ | Justin Clark-Casey (justincc) | 2012-07-17 | 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 | ||||
* | Fix regression where llGiveInventory() had stopped asking non-owner ↵ | Justin Clark-Casey (justincc) | 2012-07-17 | 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 | ||||
* | Revert "refactor: make llGiveInventory() use existing GetInventoryItem() ↵ | Justin Clark-Casey (justincc) | 2012-07-17 | 1 | -11/+24 |
| | | | | | | method rather than iterate through TaskInventory itself." This reverts commit 58b13d51a7eddb442e38e6dc6790a9e7cf68bad7. | ||||
* | sending more user-friendly messages to the script error window rather than ↵ | SignpostMarv | 2012-07-16 | 1 | -1/+14 |
| | | | | | | the thrown exceptions. Signed-off-by: Melanie <melanie@t-data.com> | ||||
* | acting on feedback from justincc | SignpostMarv | 2012-07-14 | 1 | -6/+7 |
| | |||||
* | acting on feedback from justincc | SignpostMarv | 2012-07-14 | 1 | -39/+42 |
| | |||||
* | added in some extra variables, it sometimes thinks it is on the same parcel :( | SignpostMarv | 2012-07-14 | 1 | -5/+7 |
| | | | | Signed-off-by: SignpostMarv <github@signpostmarv.name> | ||||
* | adding workaround for silent failure if position is outside the bounds of a ↵ | SignpostMarv | 2012-07-14 | 1 | -13/+41 |
| | | | | | | region, implementing parcel prim count check. Signed-off-by: SignpostMarv <github@signpostmarv.name> | ||||
* | Implementation of llSetRegionPos(). Does not implement failure on object ↵ | SignpostMarv | 2012-07-14 | 3 | -4/+45 |
| | | | | | | entry/prim limit/access restrictions. Signed-off-by: SignpostMarv <github@signpostmarv.name> | ||||
* | Remove IClientAPI.GetClientEP() in favour of existing identical ↵ | Justin Clark-Casey (justincc) | 2012-07-12 | 1 | -6/+2 |
| | | | | IClientAPI.RemoteEndpoint. | ||||
* | Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵ | Justin Clark-Casey (justincc) | 2012-07-11 | 2 | -8/+3 |
| | | | | | | | 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. | ||||
* | Add regression TestDetachScriptedAttachmentToInventory() | Justin Clark-Casey (justincc) | 2012-07-11 | 2 | -8/+15 |
| | | | | This currently only does a relatively crude check for a ScriptState node in the serialized xml | ||||
* | This script allows an object to be attached directly from prim inventory to ↵ | Justin Clark-Casey (justincc) | 2012-07-09 | 3 | -5/+43 |
| | | | | | | | another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe | ||||
* | Mantis 6063 osNpcTouch. | Talun | 2012-07-06 | 3 | -0/+41 |
| | | | | Allow NPCS to touch obects. | ||||
* | regrade osFormatString, osMatchString and osReplaceString to VeryLow. | Justin Clark-Casey (justincc) | 2012-07-05 | 1 | -3/+3 |
| | | | | I can't see that these present any real hazard to sim functioning. | ||||
* | Add OSSL function osForceAttachToAvatarFromInventory() | Justin Clark-Casey (justincc) | 2012-07-05 | 3 | -1/+65 |
| | | | | | | | This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high. | ||||
* | Use GetInventoryItem() in llRezAtRoot rather than iterating through a cloned ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -40/+36 |
| | | | | dictionary | ||||
* | refactor: In llGetNotecardLine() use existing GetInventoryItem() rather than ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -10/+4 |
| | | | | inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe | ||||
* | refactor: In llGetNumberOfNotecardLines() use existing GetInventoryItem() ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -10/+4 |
| | | | | rather than inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe | ||||
* | refactor: use existing GetInventoryItem() in GetScriptByName(), itself ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -13/+9 |
| | | | | renamed from ScriptByName() | ||||
* | refactor: In llGetInventoryType() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -11/+5 |
| | |||||
* | refactor: In llGetInventoryCreator() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -12/+8 |
| | |||||
* | refactor: In llGetInventoryPermMask() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -24/+21 |
| | |||||
* | refactor: in llGetInventoryPermMask use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -23/+19 |
| | |||||
* | refactor: In llRemoteLoadScriptPin() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -20/+5 |
| | |||||
* | refactor: replace use of LSL_Api.GetTaskInventoryItem() with existing ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -22/+11 |
| | | | | GetInventoryItem() | ||||
* | refactor: In llGetInventoryKey() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -15/+9 |
| | |||||
* | In llMessageLinked() use GetInventoryItems() rather than cloning ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -4/+2 |
| | | | | | | TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe | ||||
* | In llRequestInventoryData() use GetInventoryItems() rather than cloning ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -3/+2 |
| | | | | | | TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe | ||||
* | refactor: In llCollisionSound() use existing GetInventoryItem() method ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -11/+5 |
| | | | | rather than have it iterate through TaskInventory itself. | ||||
* | refactor: In llRemoveInventory() use existing GetInventoryItem() method ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -14/+9 |
| | | | | rather than have it iterate through TaskInventory itself. | ||||
* | refactor: make llGiveInventory() use existing GetInventoryItem() method ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -24/+11 |
| | | | | rather than iterate through TaskInventory itself. | ||||
* | Change AttachmentsModule.DetachSingleAttachmentToInv() to accept a SOG ↵ | Justin Clark-Casey (justincc) | 2012-06-28 | 1 | -9/+6 |
| | | | | | | | directly instead of an item ID to then shuffle through attachments, saving CPU busywork. Almost all callers already had the sog to hand. Still checking that it's really an attachment, but now by inspecting SOG.AttachedAvatar | ||||
* | Add stub for llCastRay | BlueWall | 2012-06-26 | 1 | -0/+5 |
| |