aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2008-09-02First batch of the unit test changes for the new constants semanticsMelanie Thielker1-1/+1
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02Correct the representation of the automatic null stringMelanie Thielker1-1/+1
2008-09-02Remove the ((bool)()) cast, since it can make c# barfMelanie Thielker1-2/+2
2008-09-02Change some chat output functions so that text is truncated atMelanie Thielker2-4/+11
1000 chars to avoid the exception thrown by libomv at 1100 chars. Change string->int conversion so it copes with non-numeric chars after the number and no longer uses a float to parse the value.
2008-09-02Add an explicit cast to bool for the if expression so that any base typesMelanie Thielker1-2/+2
that slip in will not cause it to break
2008-09-01Thank you, Ewe Loon, for a patch that fixes various aspects ofMelanie Thielker1-48/+48
llSetPrimitiveParams and llSetLinkPrimitiveParams
2008-09-01This is an attempt to fix the handling of constants in LSL.Melanie Thielker3-31/+34
It wraps constants in new LSLType(x), so that lists with constant values are processed correctly. Contains changes to the lsl.parser.cs that are not (yet) reflected in opensim-libs, since this experimental patch affects XEngine only. Also contains nuts.
2008-09-01Another attempt at fixing XEngine llSetPrimitiveParams: Make it acceptMelanie Thielker2-26/+26
LSLIntegers in lists, and attempt to address the scope issue on TRUE and FALSE with readonly static linkage
2008-08-29Maintis #2078Melanie Thielker1-3/+10
Thank you, ralphos, for a patch that corrects the handling of compiler warnings in the XEngine, which were erronoeously reported as errors!
2008-08-28Update svn properties, formatting cleanup.Jeff Ames1-17/+17
2008-08-28Thannk you, Ralphos, for a patch the corrects an improper cast inMelanie Thielker1-2/+2
llSetPrimitiveParams