aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-15* minor: eat up some yummy warningsJustin Clarke Casey1-1/+2
2008-09-15Add the option to use Allow_osFunction = false for each OS functionMelanie Thielker1-0/+11
in the XEngine section
2008-09-15Add more granularity and a risk asessment system to the OSSL API in XEngine.Melanie Thielker1-60/+254
Adds the fix from Mantis #2197 in it's new form. Stage one of the scripting security changes, more to come.
2008-09-15Mantis#2197. Thank you kindly, Tyre, for a patch that:Charles Krinke4-1/+67
adds the new function osTeleportAgent().
2008-09-14Added some further clipping to color- and alpha-values.Homer Horwitz1-49/+51
2008-09-14Mantis #2186Melanie Thielker1-12/+12
Prevent illegal color values from being set.
2008-09-13Fixed several cases of inverted colors and alpha in DNE and XEngine.Homer Horwitz1-35/+35
Added clamping to 0.0 - 1.0 for R, G, B, and A.
2008-09-13Update svn properties. Minor formatting cleanup. Fix some minor typos. ↵Jeff Ames1-18/+2
Remove some old dead code.
2008-09-13Mantis #2018Melanie Thielker1-3/+0
Read animation data from avataranimations.xml to allow default animations to be started and stopped by name from scripts.
2008-09-13Mantis #2182Melanie Thielker1-1/+1
Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
2008-09-13Fix some string to float casting nastiness. The "train script" nowMelanie Thielker2-3/+14
works. Also makes llGetFreeMemory return the constant 16384. LLGetFreeMemory is useless in SL, as it never goes up, only down. So, the only thing it is used for, in practice, is to detect an imminent stack/heap collision, a danger we don't have.
2008-09-13Provide a GetApi method on the IScriptEngine to get a named API referenceMelanie Thielker1-0/+7
This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs
2008-09-13Change all LSL functions to return LSL types instead of base types.Melanie Thielker2-261/+223
Remove some unused osFunctions that were left in the LSL function file from the separation way back when. Inline the osSetParcelMediaURL code to get rid of the osFunction. Really need to add a way for one API to call another.
2008-09-13Fix string parameters to functions taking lists as arguments. LSLMelanie Thielker1-0/+4
functions return CLI strings, which, in the case of lists, don't get wrapped. Therefore, the list had to be able to deal with that CLI type here. The correct fix would be to change all LSL function returns to LSL types.
2008-09-10Mantis #511Melanie Thielker1-4/+8
Allow parsing of hexadecimal int constants from strings. Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10Update svn properties, minor formatting cleanup.Jeff Ames2-9/+9
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10Mantis#2153. Thank you kindly, Godfrey for a patch that solves:Charles Krinke1-0/+8
osSetDynamicTextureData() produces error on console if ExtraParams passed empty string
2008-09-09From: alan_webb@us.ibm.comSean Dague1-0/+2
Make CHANGED constants consistent with LSL, and consistent across the code base
2008-09-09Fix llResetScript() and the reset button to actually restore globalMelanie Thielker2-7/+32
variables to their initializer values, rather then zeroing them. Also handles lists properly now.
2008-09-09Update svn properties, formatting cleanup.Jeff Ames2-3/+3
2008-09-09Fix state xxx within state xxx itself triggering a state "change" toMelanie Thielker1-0/+3
same state
2008-09-09Fix string -> int cast to variableMelanie Thielker1-3/+8
2008-09-09Fix delimiter access from list for llParseStringKeepNullsMelanie Thielker1-4/+4
2008-09-08Remove casting nastiness in LSL_ApiMelanie Thielker1-76/+76
2008-09-08Correct state handling and state event masks. Prims will now showMelanie Thielker2-30/+37
touch, pay, etc script states correctly.
2008-09-08changes to Test directory structure per opensim-dev conversationSean Dague7-0/+2953
2008-09-08Adapt the unit tests to the new list rules, change some casts toMelanie Thielker2-7/+13
new method for testing
2008-09-08Mantis #2147Melanie Thielker2-26/+27
Thank you, ralphos, for a patch the adapts llSetColor and friends to a change in the underlying types. Also, thank you for a much cleaner way of casting types out of lists, which I will adopt throughout.
2008-09-08Mantis #2144Melanie Thielker1-3/+3
Adjust XEngine llSetAlpha to a change in the underlying type
2008-09-08Mantis #2145Melanie Thielker1-24/+24
Fix a number of casting issues in XEngine's API
2008-09-08Implement proper persistence of the following prim properties:Melanie Thielker3-9/+23
Floating text, Rotation, Texture animation, Particle System This will make "Eye Candy" scripts work without modification in XEngine. The use of the CHANGED_REGION_RESTART hack is no longer needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08Implement llEjectFromLand.Charles Krinke1-1/+12
2008-09-08Add implementation for llSetSoundRadius().Charles Krinke1-1/+1
2008-09-07* Implements llGroundSlope, llGroundNormal and llGroundContour in LSL_Api.cs ↵Adam Frisby1-6/+36
- these functions are orthogonal to each other and the core implementation is in GroundSlope. * Please note that this implementation has not been mathematically verified to be correct-as-described, it is probable that this implementation may produce differing results to Linden Lab. Testing (and test data) would be appreciated.
2008-09-07Xengine patch to force a persistence save on script creation. This preventsMelanie Thielker2-6/+28
duplicate delivery of state_entry if a region is restarted just after saving the script. Changes script state saves to no longer abort long- running event handlers. Queues the save instead. Adds shutdown handler to save script state on irderly shutdown
2008-09-07Mantis #2138Melanie Thielker1-2/+2
Thank you, HomerHorwitz, for a patch that fixes llGetKey()
2008-09-07Return 0 for no wind and 0 for no clouds fromCharles Krinke1-2/+0
both llWind and llCloud and remove the "NotImplemented" status leaving us with about 74 "NotImplemented" LSL-C# wrapper functions.
2008-09-06Mantis #2133Melanie Thielker1-2/+1
Thank you, Xugu Madison and ChrisDown, for a patch that fixes linux filename extensions from .Xml back to .xml
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares12-382/+380
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-05Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:Charles Krinke2-8/+70
Types extracted from a LSL_Types.list have to be down-cast initially to the exact type of value type object that the Object actually is. This would make for very cumbersome, ugly code when extracting list parameter items in ll functions where a few implicit conversions should be applied such as key -> LSLString and LSLInteger -> LSLFloat (but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem member functions to the LLS_Type.list class, where XXX is the name of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take a single, int parameter that is the item number to be extracted.
2008-09-05Thank you kindly, KrTaylor for a patch that adds:Charles Krinke1-3/+8
llParseString functions throw exception when passed a list of variables and this patch adds logic to solve this to LSL_Api.cs
2008-09-03Mantis #2112Melanie Thielker2-8/+13
Thannk you, ralphos, for a patch to clean up list item type handling and add a missing explicit cast in Shared/
2008-09-03Mantis #2097Melanie Thielker1-3/+3
Thank you, ralphos, for a patch that fixes an InvalidCastException in llSetPrimitveParams.
2008-09-03clean up and fixing a typo.Dr Scofield1-1/+2
2008-09-03Mantis #2109Melanie Thielker1-0/+2
Prevent a null reference exception when reset is pressed on a script while it's being compiled.
2008-09-02a piece of LSL_API changes got checked in incorectly with 6091. ThisSean Dague1-1/+1
fixes that, and should get us back to compile state.
2008-09-02Committing the missing resource file for MSSQL. Sorry...Melanie Thielker1-1/+1
2008-09-02Small fix to a cast in list parsingMelanie Thielker1-1/+1
2008-09-02fix: PostInitialise() not being called on script engines (nasty one that)Dr Scofield1-1/+1
cleanup: warnings, readability
2008-09-02Fix regex for string->int cast to accept leading spaces and a signMelanie Thielker1-1/+1