aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added some further clipping to color- and alpha-values.Homer Horwitz2008-09-141-49/+51
|
* Mantis #2186Melanie Thielker2008-09-141-12/+12
| | | | | | Prevent illegal color values from being set.
* Fixed several cases of inverted colors and alpha in DNE and XEngine.Homer Horwitz2008-09-131-35/+35
| | | | | | Added clamping to 0.0 - 1.0 for R, G, B, and A.
* Update svn properties. Minor formatting cleanup. Fix some minor typos. ↵Jeff Ames2008-09-131-18/+2
| | | | Remove some old dead code.
* Mantis #2018Melanie Thielker2008-09-131-3/+0
| | | | | | | Read animation data from avataranimations.xml to allow default animations to be started and stopped by name from scripts.
* Mantis #2182Melanie Thielker2008-09-131-1/+1
| | | | | | Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
* Fix some string to float casting nastiness. The "train script" nowMelanie Thielker2008-09-132-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.
* Provide a GetApi method on the IScriptEngine to get a named API referenceMelanie Thielker2008-09-131-0/+7
| | | | | | | This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs
* Change all LSL functions to return LSL types instead of base types.Melanie Thielker2008-09-132-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.
* Fix string parameters to functions taking lists as arguments. LSLMelanie Thielker2008-09-131-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.
* Mantis #511Melanie Thielker2008-09-101-4/+8
| | | | | | | Allow parsing of hexadecimal int constants from strings. Also fixes a DBNull value in the touch type field crashing the sim
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-102-9/+9
| | | | | Fix unreachable code due to typo in llDetectedGroup.
* Mantis#2153. Thank you kindly, Godfrey for a patch that solves:Charles Krinke2008-09-101-0/+8
| | | | | | | osSetDynamicTextureData() produces error on console if ExtraParams passed empty string
* From: alan_webb@us.ibm.comSean Dague2008-09-091-0/+2
| | | | | | | Make CHANGED constants consistent with LSL, and consistent across the code base
* Fix llResetScript() and the reset button to actually restore globalMelanie Thielker2008-09-092-7/+32
| | | | | | | variables to their initializer values, rather then zeroing them. Also handles lists properly now.
* Update svn properties, formatting cleanup.Jeff Ames2008-09-092-3/+3
|
* Fix state xxx within state xxx itself triggering a state "change" toMelanie Thielker2008-09-091-0/+3
| | | | | | same state
* Fix string -> int cast to variableMelanie Thielker2008-09-091-3/+8
|
* Fix delimiter access from list for llParseStringKeepNullsMelanie Thielker2008-09-091-4/+4
|
* Remove casting nastiness in LSL_ApiMelanie Thielker2008-09-081-76/+76
|
* Correct state handling and state event masks. Prims will now showMelanie Thielker2008-09-082-30/+37
| | | | | | touch, pay, etc script states correctly.
* changes to Test directory structure per opensim-dev conversationSean Dague2008-09-087-0/+2953
|
* Adapt the unit tests to the new list rules, change some casts toMelanie Thielker2008-09-082-7/+13
| | | | | | new method for testing
* Mantis #2147Melanie Thielker2008-09-082-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.
* Mantis #2144Melanie Thielker2008-09-081-3/+3
| | | | | | Adjust XEngine llSetAlpha to a change in the underlying type
* Mantis #2145Melanie Thielker2008-09-081-24/+24
| | | | | | Fix a number of casting issues in XEngine's API
* Implement proper persistence of the following prim properties:Melanie Thielker2008-09-083-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.
* Implement llEjectFromLand.Charles Krinke2008-09-081-1/+12
|
* Add implementation for llSetSoundRadius().Charles Krinke2008-09-081-1/+1
|
* * Implements llGroundSlope, llGroundNormal and llGroundContour in LSL_Api.cs ↵Adam Frisby2008-09-071-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.
* Xengine patch to force a persistence save on script creation. This preventsMelanie Thielker2008-09-072-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
* Mantis #2138Melanie Thielker2008-09-071-2/+2
| | | | | | Thank you, HomerHorwitz, for a patch that fixes llGetKey()
* Return 0 for no wind and 0 for no clouds fromCharles Krinke2008-09-071-2/+0
| | | | | | | both llWind and llCloud and remove the "NotImplemented" status leaving us with about 74 "NotImplemented" LSL-C# wrapper functions.
* Mantis #2133Melanie Thielker2008-09-061-2/+1
| | | | | | | Thank you, Xugu Madison and ChrisDown, for a patch that fixes linux filename extensions from .Xml back to .xml
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-0612-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.
* Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:Charles Krinke2008-09-052-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.
* Thank you kindly, KrTaylor for a patch that adds:Charles Krinke2008-09-051-3/+8
| | | | | | | | llParseString functions throw exception when passed a list of variables and this patch adds logic to solve this to LSL_Api.cs
* Mantis #2112Melanie Thielker2008-09-032-8/+13
| | | | | | | Thannk you, ralphos, for a patch to clean up list item type handling and add a missing explicit cast in Shared/
* Mantis #2097Melanie Thielker2008-09-031-3/+3
| | | | | | | Thank you, ralphos, for a patch that fixes an InvalidCastException in llSetPrimitveParams.
* clean up and fixing a typo.Dr Scofield2008-09-031-1/+2
|
* Mantis #2109Melanie Thielker2008-09-031-0/+2
| | | | | | | Prevent a null reference exception when reset is pressed on a script while it's being compiled.
* a piece of LSL_API changes got checked in incorectly with 6091. ThisSean Dague2008-09-021-1/+1
| | | | | | fixes that, and should get us back to compile state.
* Committing the missing resource file for MSSQL. Sorry...Melanie Thielker2008-09-021-1/+1
|
* Small fix to a cast in list parsingMelanie Thielker2008-09-021-1/+1
|
* fix: PostInitialise() not being called on script engines (nasty one that)Dr Scofield2008-09-021-1/+1
| | | | | | cleanup: warnings, readability
* Fix regex for string->int cast to accept leading spaces and a signMelanie Thielker2008-09-021-1/+1
|
* First batch of the unit test changes for the new constants semanticsMelanie Thielker2008-09-021-1/+1
| | | | | | in XEngine. This turned out to be a lot of work to catch up.
* Correct the representation of the automatic null stringMelanie Thielker2008-09-021-1/+1
|
* Remove the ((bool)()) cast, since it can make c# barfMelanie Thielker2008-09-021-2/+2
|
* Change some chat output functions so that text is truncated atMelanie Thielker2008-09-022-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.