aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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.
2012-07-05Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)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.
2012-07-04Use GetInventoryItem() in llRezAtRoot rather than iterating through a cloned ↵Justin Clark-Casey (justincc)1-40/+36
dictionary
2012-07-04refactor: In llGetNotecardLine() use existing GetInventoryItem() rather than ↵Justin Clark-Casey (justincc)1-10/+4
inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe
2012-07-04refactor: In llGetNumberOfNotecardLines() use existing GetInventoryItem() ↵Justin Clark-Casey (justincc)1-10/+4
rather than inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe
2012-07-04refactor: use existing GetInventoryItem() in GetScriptByName(), itself ↵Justin Clark-Casey (justincc)1-13/+9
renamed from ScriptByName()
2012-07-04refactor: In llGetInventoryType() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-11/+5
2012-07-04refactor: In llGetInventoryCreator() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-12/+8
2012-07-04refactor: In llGetInventoryPermMask() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-24/+21
2012-07-04refactor: in llGetInventoryPermMask use existing GetInventoryItem()Justin Clark-Casey (justincc)1-23/+19
2012-07-04refactor: In llRemoteLoadScriptPin() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-20/+5
2012-07-04refactor: replace use of LSL_Api.GetTaskInventoryItem() with existing ↵Justin Clark-Casey (justincc)1-22/+11
GetInventoryItem()
2012-07-04refactor: In llGetInventoryKey() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-15/+9
2012-07-04In llMessageLinked() use GetInventoryItems() rather than cloning ↵Justin Clark-Casey (justincc)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
2012-07-04In llRequestInventoryData() use GetInventoryItems() rather than cloning ↵Justin Clark-Casey (justincc)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
2012-07-04refactor: In llCollisionSound() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)1-11/+5
rather than have it iterate through TaskInventory itself.
2012-07-04refactor: In llRemoveInventory() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)1-14/+9
rather than have it iterate through TaskInventory itself.
2012-07-04refactor: make llGiveInventory() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)1-24/+11
rather than iterate through TaskInventory itself.
2012-07-02Implement the buggy version of llXorBase64Strings() for compatibility's sakeMelanie1-3/+84
2012-07-01Bring casing of llSHA1String in line with SLMelanie1-1/+1
2012-06-29don't recoil attachments doing llRezObject()UbitUmarov1-2/+8
2012-06-28Change AttachmentsModule.DetachSingleAttachmentToInv() to accept a SOG ↵Justin Clark-Casey (justincc)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
2012-06-28Revert "Mantis 5977 Corrections to llRegionSayTo"Melanie1-6/+4
This reverts commit 679da63da617d031e5e7ae3f2d2a29db1a23ace3. Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
2012-06-28Return NPC instead of AGENT in the detect parameters for touch, collision andMelanie1-0/+2
sensor.
2012-06-28 reactivate physics raycasts on llCastRay() until it's clear what is its ↵UbitUmarov1-1/+1
problem if any...
2012-06-26Add stub for llCastRayBlueWall1-0/+5
2012-06-26Disable physics raycast until it can be seen to. Fix distance calculationMelanie1-2/+3
for some results.
2012-06-26Correct a wrong error constantMelanie1-1/+1
2012-06-23Fix script "Running" behaviorBlueWall2-0/+20
Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057
2012-06-21Add item id, name, prim name and id to log message when state exists but ↵Justin Clark-Casey (justincc)1-5/+5
loading fails. Drop logging about memory limit exceeded to warn from error
2012-06-21Retrigger build - last jenkins run was glitchedJustin Clark-Casey (justincc)1-1/+2
2012-06-21Add state file location to errors logged when there's some issue with ↵Justin Clark-Casey (justincc)1-4/+4
retrieving state (e.g. exceeds memory limit)
2012-06-17 don't send a lot of avatar data when we are just changing position or ↵UbitUmarov1-4/+8
rotation ( SendTerseUpdateToAllClients() in place of SendAvatarDataToAllAgents() )
2012-06-17 split ugly expression in a if making it simpler to readUbitUmarov1-3/+5
2012-06-17Don't let scripts rotate root part of physical linksets like SL, Update ↵UbitUmarov1-35/+66
client rotation of avatars 'linked' to child parts. (put back some 'cosmetics' from previus commit). Still let lsl api use physics engine ideia of part Physical state on this where it should be SOP ideia, so is that is clear that sync with engine is SOP responsability.
2012-06-15Reapply the one change that was in the revert that was actually function, notMelanie1-1/+1
form