aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-01revert changeset 4469 as this breaks the script engine.Sean Dague1-7/+1
2008-05-01From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-0/+3
MInor patch - more script function cleanup and comments
2008-05-01* Applied Mantis#1106 - fix missing cast from LSLInteger to uint, make int ↵Adam Frisby1-1/+7
cast more generic (Thanks Melanie!)
2008-05-01* Thanks to Mic Bowman for inspiring me to look at that we are still using ↵Adam Frisby3-6/+3
ASCIIEncoder in places we shouldn't.
2008-05-01* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares8-494/+166
script to publish the events anymore. * Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-05-01* Breaking all the code, breaking all the code..!Adam Frisby1-1/+1
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01* Cleaned namespaces of entire solution. OpenSim directories now correspond ↵Adam Frisby1-88/+88
with namespaces.
2008-05-01* Assorted spring cleanings.Adam Frisby3-5/+6
2008-05-01* Applying Mantis#1097 - Thanks Xantor!Adam Frisby1-3/+6
- Fix for llRound (now rounds in LL-compatible fashion, rather than using bankers rounding) - Implementation of llAngleBetween
2008-04-30* Sometimes you know, you do something really stupid.Adam Frisby5-6/+6
* This is one of those times (should fix build)
2008-04-30* Patch by Melanie. Implements proper objectflags on child objects. Thanks ↵Teravus Ovares2-6/+6
Melanie! RE: 0001079: r4387. touch() event does not fire when touch script is in root prim and child prims are touched
2008-04-30Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares11-339/+684
explicitly in many cases Thanks Melanie! * Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
2008-04-29* Applying Xantor's patch 0001089 - Added llRot2Angle, ↵Teravus Ovares3-9/+174
llRot2Axis,llAxisAngle2Rot. Re-implemented llRot2Euler, llEuler2Rot
2008-04-29* Applying melanie's List2Vector and List2Rot patch. Added a routine in ↵Teravus Ovares2-2/+8
the Quaternion constructors to catch 0,0,0,0 quaternions and convert them to 0,0,0,1 (as 0,0,0,0 is implicitly converted to 0,0,0,1 in LSL and will crash libsl if left which will in turn crash the simulator)
2008-04-28wrap a common exception that we get on shutdown of the script engine to keepSean Dague1-4/+9
people from thinking it's a real issue.
2008-04-27* Patch from XenReborn to make remove-region work properly without needing ↵Teravus Ovares1-0/+10
to do a change-region first. Careful though. I still suggest you do a change-region first. * Patch from Melanie to implement touch_end. * Thanks XenReborn!. Thanks Melanie!
2008-04-26Thank you Melanie for implementingCharles Krinke2-36/+65
llListSort() in linear and strided modes.
2008-04-26* Committing Mantis #1061 - llRegionSay and llSetPrimitiveParams ↵Adam Frisby3-29/+191
implementations. Thanks Melanie!
2008-04-26* For info about this commit, see last commit.Teravus Ovares1-3/+16
2008-04-26* Error on System. references with 'CS20003: 'System' is null or not an object"Teravus Ovares1-0/+5
2008-04-25* Applying mantis#1048 - Patch for osSetRegionWaterHeight()Adam Frisby5-3/+20
2008-04-25* Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares4-14/+17
2008-04-24* Patch from Melanie. Mantis: 1040. Thanks Melanie!Teravus Ovares2-8/+65
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
2008-04-24replace hard tabs with 4 spaces to be consistant in the source.Sean Dague2-197/+197
Please adjust your editors to not use hard tabs.
2008-04-24* From: Alan M Webb <awebb.vnet.ibm.com>Justin Clarke Casey1-1/+1
* Patch to fix negative indices bug in llListInsertList
2008-04-23* Fixed an annoying pop-up box when crossing borders.Teravus Ovares1-2/+2
2008-04-23* Patch from Melanie. Mantis 0001037: Add various internal plumbing to ↵Teravus Ovares3-8/+71
the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie! * Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23* Fixes lsl scripts with no state_entry event at allTeravus Ovares1-1/+39
* Fixes event reporting on states with no state_entry in lsl scripts.
2008-04-23* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares1-4/+12
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results. * Three axis works well enough to play with it anyway. More work is needed here. * Fixed an incorrectly named method in ODE.NET
2008-04-23* Patch #1026 - llDialog support -- Thanks Melanie!Adam Frisby1-9/+54
2008-04-23* Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie!Adam Frisby1-16/+213
2008-04-23* Applying Mantis #1020 (Animations) - Thanks Melanie.Adam Frisby1-1/+1
2008-04-23From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-2/+12
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-22* Implements llScriptDangerTeravus Ovares3-5/+14
* Made the scene's scriptDanger method more generic so both the llScriptDanger method and the Script engine method use the same private method.
2008-04-22* Implemented NoScript areas (without loosing script state).Teravus Ovares1-9/+13
2008-04-22* Patch from Mic Bowman(cmickeyb) that implements llUnsit. Thanks Mic!Teravus Ovares1-1/+38
* I expanded upon his patch just a bit to incorporate the following. * if the avatar is sitting on this object, then we can unsit them. * If the object owner also owns the parcel or if the land is group owned and the object is group owned by the same group or if the object is owned by a person with estate access, then we can unsit them.
2008-04-21* Committing fix for previous build breakage. Sorry!Adam Frisby1-2/+2
* Committing namespace/usings fixes for ThirdParty directory, missed in previous commit.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby42-316/+212
(this took a while to run).
2008-04-20Removed some script engine noise from consoleTedd Hansen4-8/+8
2008-04-20Moved script engine os* commands to OSSL_BuilIn_Commands.cs and ↵Tedd Hansen4-324/+340
OSSL_BuilIn_Commands_Interface.cs where they belong.
2008-04-20* Fixed up event discovery regexes to work with a specific string format m#1012Teravus Ovares1-2/+2
2008-04-20* Updates LSL2CS converterTeravus Ovares4-1/+209
* All objects are not touchable by default now * When a script listens for one of the touch events in the state, an object becomes touchable. * All LSL scripts report which events they consume now ** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event. ** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
2008-04-18From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-42/+219
Robust implementations of GetSubString, InsertString, and DeleteSubstring. The existing implementations only worked for arguments consistent with the underlying .Net implementation and did not accomodate LL's negative indices.
2008-04-18Mantis #851, 100% CPU on unhandlet HTTP event. Thanks cmickeyb.Tedd Hansen1-9/+21
2008-04-18Thank you, Melanie, very kindly for a patch that : Charles Krinke1-2/+15
Implements llGetInventoryKey with perms checking. Adds perms checking to llGetTexture, adds type checking to llStartSound, allows llSetTexture to reference textures by name
2008-04-17From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-5/+98
This provides fixed implementations for llListReplaceList and llList2CSV. llListReplaceList was broken except for simple indices. llList2CSV did not handle processing of an empty list.
2008-04-16* From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-2/+47
* Here's an updated ListInsertList implementation, tested to be LL compliant.
2008-04-16From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-13/+60
This fixes a bug in LSL_Types.list GetSublist that was manifest if the source list was empty and negative indices were used.
2008-04-16* From Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-4/+23
* Yet more script function cleanup - Patch fixes many different script functions: NotImplemented that weren't there at all, redundant or unneeded m_host.AddScriptLPS, etc
2008-04-15Fixed LSL State support.Teravus Ovares3-35/+57
* Re-applied Tedd's patch that got overwritten. * Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s]) * Added a state(string) method to BuiltIn_Commands_BaseClass