Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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> | |||||
* | Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵ | Justin Clark-Casey (justincc) | 2012-07-13 | 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). | |||||
* | 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 | 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. | |||||
* | 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 | |||||
* | Disable logging in regression test in OSSL_ApiAttachmentTests | Justin Clark-Casey (justincc) | 2012-07-10 | 1 | -1/+1 | |
| | ||||||
* | This script allows an object to be attached directly from prim inventory to ↵ | Justin Clark-Casey (justincc) | 2012-07-09 | 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 | |||||
* | minor: remove some recent mono compiler warnings | Justin Clark-Casey (justincc) | 2012-07-07 | 1 | -1/+1 | |
| | ||||||
* | Remove redundant SetScene() function in Scene.AddSceneObject() | Justin Clark-Casey (justincc) | 2012-07-07 | 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. | |||||
* | 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 | 7 | -6/+253 | |
| | | | | | | | 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 | |
| | ||||||
* | Fix script "Running" behavior | BlueWall | 2012-06-23 | 2 | -0/+20 | |
| | | | | Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057 | |||||
* | Add item id, name, prim name and id to log message when state exists but ↵ | Justin Clark-Casey (justincc) | 2012-06-21 | 1 | -5/+5 | |
| | | | | | | loading fails. Drop logging about memory limit exceeded to warn from error | |||||
* | Retrigger build - last jenkins run was glitched | Justin Clark-Casey (justincc) | 2012-06-21 | 1 | -1/+2 | |
| | ||||||
* | Add state file location to errors logged when there's some issue with ↵ | Justin Clark-Casey (justincc) | 2012-06-21 | 1 | -4/+4 | |
| | | | | retrieving state (e.g. exceeds memory limit) | |||||
* | In the osGetGrid functions, if the [GridInfo] section does not exist then ↵ | Justin Clark-Casey (justincc) | 2012-06-13 | 1 | -1/+6 | |
| | | | | return "Configuration Error", as already happens if there is no GridInfoURI | |||||
* | Committing the Avination implementation of llCastRay. This is a complete rewrite | Melanie | 2012-06-13 | 1 | -100/+345 | |
| | | | | wich does it's thing independently of physics. Enjoy! | |||||
* | Revert "Bind ~ and ! operators in LSL tighter in order to resolve issues in ↵ | Justin Clark-Casey (justincc) | 2012-06-11 | 1 | -3956/+3978 | |
| | | | | | | | | LSL where these aren't evaluated propertly." This reverts commit a8a9d13dc07bc9e23ebf439cbea5ece6ae002315. Accidentally committed, this patch might not be the correct approach. | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2012-06-11 | 3 | -0/+106 | |
|\ | ||||||
| * | Commitig the Avination implementation of llTeleportAgent and | Melanie | 2012-06-11 | 3 | -0/+106 | |
| | | | | | | | | | | | | llTeleportAgentGlobalCoords. These do NOT use PERMISSION_TELEPORT like their SL counterparts because that permission is not yet understood by TPVs based on v1.x. | |||||
* | | Bind ~ and ! operators in LSL tighter in order to resolve issues in LSL ↵ | Justin Clark-Casey (justincc) | 2012-06-09 | 1 | -3978/+3956 | |
|/ | | | | | | where these aren't evaluated propertly. Addresses http://opensimulator.org/mantis/view.php?id=3268 | |||||
* | Remove unused ScenePresence list structure in llGetAgentList() | Justin Clark-Casey (justincc) | 2012-06-05 | 1 | -1/+0 | |
| | ||||||
* | minor: code formatting from 0b72f773 | Justin Clark-Casey (justincc) | 2012-05-26 | 1 | -12/+11 | |
| | ||||||
* | Mantis 6025 llRequestPermissions auto grant for NPCs. | Talun | 2012-05-26 | 1 | -1/+23 | |
| | | | | | | If the script requesting permissions is owned by either the NPC or the NPCs owner (if the NPC is created as owned) then grant any permissions automatically. | |||||
* | One can now get hyoergrid region co-ordinates with llRequestSimulatorData | Blake.Bourque | 2012-05-26 | 1 | -5/+21 | |
| | ||||||
* | Use GetInventoryItem() in LSL_Api.InventoryKey(string name, int type). | Justin Clark-Casey (justincc) | 2012-05-26 | 1 | -17/+7 | |
| | | | | Also removes small bug where calling this method would add 1 to LPS, evne though all callers already did this. | |||||
* | Use SceneObjectPartInventory.GetInventoryItem() in OSSL.AvatarStopAnimation ↵ | Justin Clark-Casey (justincc) | 2012-05-26 | 1 | -14/+12 | |
| | | | | instead of searching the task inventory manually. | |||||
* | refactor: replace LSL_Api.InventoryKey(string) largely with ↵ | Justin Clark-Casey (justincc) | 2012-05-26 | 1 | -37/+15 | |
| | | | | | | SceneObjectPartInventory.GetInventoryItem(string) Also gets llStopAnimation() to call KeyOrName rather than duplicating logic. | |||||
* | Mantis 6028 osAvatarStopAnimation not stopping animations via UUID | Talun | 2012-05-25 | 1 | -7/+11 | |
| | | | | | Corrected to stop animations using the animation UUID similar to llStopAnimation. See http://opensimulator.org/wiki/OsAvatarStopAnimation |