aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | minor: remove some recent mono compiler warningsJustin Clark-Casey (justincc)2012-07-071-1/+1
| | |
| * | Remove redundant SetScene() function in Scene.AddSceneObject()Justin Clark-Casey (justincc)2012-07-072-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.Talun2012-07-063-0/+41
| | | | | | | | | | | | Allow NPCS to touch obects.
* | | Merge branch 'avination' into careminsterMelanie2012-07-063-46/+191
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * | added llSetVelocity. will refuse to work on vehicles and on attachments ( ↵UbitUmarov2012-07-063-1/+29
| | | | | | | | | | | | this last may need fix) added also some code for llSetAngularVelocity but not working still
| * | Add an EventType enum and Type field to the poll service event args. This allowsMelanie2012-07-051-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.
| * | Implement the buggy version of llXorBase64Strings() for compatibility's sakeMelanie2012-07-021-3/+84
| | |
| * | Bring casing of llSHA1String in line with SLMelanie2012-07-011-1/+1
| | |
| * | don't recoil attachments doing llRezObject()UbitUmarov2012-06-291-2/+8
| | |
| * | Merge branch 'avination' into ubitworkUbitUmarov2012-06-291-0/+2
| |\ \
| * | | reactivate physics raycasts on llCastRay() until it's clear what is its ↵UbitUmarov2012-06-281-1/+1
| | | | | | | | | | | | | | | | problem if any...
| * | | Merge branch 'avination' into ubitworkUbitUmarov2012-06-282-3/+4
| |\ \ \
| * | | | don't send a lot of avatar data when we are just changing position or ↵UbitUmarov2012-06-171-4/+8
| | | | | | | | | | | | | | | | | | | | rotation ( SendTerseUpdateToAllClients() in place of SendAvatarDataToAllAgents() )
| * | | | split ugly expression in a if making it simpler to readUbitUmarov2012-06-171-3/+5
| | | | |
| * | | | Don't let scripts rotate root part of physical linksets like SL, Update ↵UbitUmarov2012-06-171-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.
* | | | | Merge branch 'master' into careminsterMelanie2012-07-058-274/+416
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * | | | regrade osFormatString, osMatchString and osReplaceString to VeryLow.Justin Clark-Casey (justincc)2012-07-051-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-057-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-041-40/+36
| | | | | | | | | | | | | | | | | | | | dictionary
| * | | | refactor: In llGetNotecardLine() use existing GetInventoryItem() rather than ↵Justin Clark-Casey (justincc)2012-07-041-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-041-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-041-13/+9
| | | | | | | | | | | | | | | | | | | | renamed from ScriptByName()
| * | | | refactor: In llGetInventoryType() use existing GetInventoryItem()Justin Clark-Casey (justincc)2012-07-041-11/+5
| | | | |
| * | | | refactor: In llGetInventoryCreator() use existing GetInventoryItem()Justin Clark-Casey (justincc)2012-07-041-12/+8
| | | | |
| * | | | refactor: In llGetInventoryPermMask() use existing GetInventoryItem()Justin Clark-Casey (justincc)2012-07-041-24/+21
| | | | |
| * | | | refactor: in llGetInventoryPermMask use existing GetInventoryItem()Justin Clark-Casey (justincc)2012-07-041-23/+19
| | | | |
| * | | | refactor: In llRemoteLoadScriptPin() use existing GetInventoryItem()Justin Clark-Casey (justincc)2012-07-041-20/+5
| | | | |
| * | | | refactor: replace use of LSL_Api.GetTaskInventoryItem() with existing ↵Justin Clark-Casey (justincc)2012-07-041-22/+11
| | | | | | | | | | | | | | | | | | | | GetInventoryItem()
| * | | | refactor: In llGetInventoryKey() use existing GetInventoryItem()Justin Clark-Casey (justincc)2012-07-041-15/+9
| | | | |
| * | | | In llMessageLinked() use GetInventoryItems() rather than cloning ↵Justin Clark-Casey (justincc)2012-07-041-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-041-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-041-11/+5
| | | | | | | | | | | | | | | | | | | | rather than have it iterate through TaskInventory itself.
| * | | | refactor: In llRemoveInventory() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)2012-07-041-14/+9
| | | | | | | | | | | | | | | | | | | | rather than have it iterate through TaskInventory itself.
| * | | | refactor: make llGiveInventory() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)2012-07-041-24/+11
| | | | | | | | | | | | | | | | | | | | rather than iterate through TaskInventory itself.
| * | | | Add preservation of running state of scripts when drag-copying.Melanie2012-07-011-0/+12
| | | | |
* | | | | Merge branch 'master' into careminsterMelanie2012-06-292-20/+24
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/Framework/Scenes/Scene.cs
| * | | | Change AttachmentsModule.DetachSingleAttachmentToInv() to accept a SOG ↵Justin Clark-Casey (justincc)2012-06-281-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
| * | | | If rest of first line after colon is blank then still warn about running in ↵Justin Clark-Casey (justincc)2012-06-281-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XEngine if engine specified does not exist. This is to take account of situations where the user was intending to specify a script engine using colon using its default language. This probably generates few false positive as scripts are less likely to end a first line colon with a comment for other purposes.
* | | | | Merge branch 'avination' into careminsterMelanie2012-06-293-3/+6
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceWorkerThread.cs
| * | | | Return NPC instead of AGENT in the detect parameters for touch, collision andMelanie2012-06-281-0/+2
| | |_|/ | |/| | | | | | | | | | sensor.
| * | | Disable physics raycast until it can be seen to. Fix distance calculationMelanie2012-06-261-2/+3
| | | | | | | | | | | | | | | | for some results.
| * | | Correct a wrong error constantMelanie2012-06-261-1/+1
| | |/ | |/|
* | | Revert "Mantis 5977 Corrections to llRegionSayTo"Melanie2012-06-281-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 679da63da617d031e5e7ae3f2d2a29db1a23ace3. Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
* | | Merge branch 'master' into careminsterMelanie2012-06-282-24/+48
|\ \ \ | | |/ | |/| | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs
| * | Avoid reporting false positives when a colon is in a comment in the first ↵Justin Clark-Casey (justincc)2012-06-281-17/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | line of a script where the user was not trying to select a different script engine. This works by only posting the "Selected engine unavailable" message if we're falling back on XEngine and the language is one handled by XEngine. In cases where the language is not handled or not allowed, the user will still be notified by the later compiler error. This avoids the overwhelming majority of false positives where the first line contains a : for other reasons (e.g. source control systems, vim settings, etc.) Ultimately, I think it would be better to detect script language/engine with a mechanism that didn't just rely on : detection (e.g like #! in unix scripts).
| * | minor: reuse colon index calculation in XEngine.OnRezScript. The index if a ↵Justin Clark-Casey (justincc)2012-06-281-2/+2
| | | | | | | | | | | | colon is found on the first line will always be the same as for the whole script.
| * | Add stub for llCastRayBlueWall2012-06-261-0/+5
| | |
* | | Merge branch 'master' into careminsterMelanie2012-06-264-36/+70
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
| * | Fix script "Running" behaviorBlueWall2012-06-234-0/+37
| | | | | | | | | | | | Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057
| * | Avoid race condition between m_PrimObjects iteration in ↵Justin Clark-Casey (justincc)2012-06-221-14/+14
| | | | | | | | | | | | XEngine.PostObjectEvent and places where the list is modified by extending the m_PrimObjects lock.