aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Add an explicit cast to bool for the if expression so that any base typesMelanie Thielker2008-09-021-2/+2
| | | | | | that slip in will not cause it to break
* Thank you, Ewe Loon, for a patch that fixes various aspects ofMelanie Thielker2008-09-011-48/+48
| | | | | | llSetPrimitiveParams and llSetLinkPrimitiveParams
* This is an attempt to fix the handling of constants in LSL.Melanie Thielker2008-09-013-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.
* Another attempt at fixing XEngine llSetPrimitiveParams: Make it acceptMelanie Thielker2008-09-012-26/+26
| | | | | | | LSLIntegers in lists, and attempt to address the scope issue on TRUE and FALSE with readonly static linkage
* Maintis #2078Melanie Thielker2008-08-291-3/+10
| | | | | | | | Thank you, ralphos, for a patch that corrects the handling of compiler warnings in the XEngine, which were erronoeously reported as errors!
* Update svn properties, formatting cleanup.Jeff Ames2008-08-281-17/+17
|
* Thannk you, Ralphos, for a patch the corrects an improper cast inMelanie Thielker2008-08-281-2/+2
| | | | | | llSetPrimitiveParams
* Thank you, salahzar, for a patch that adds some more functionsMelanie Thielker2008-08-281-5/+51
| | | | | | from DotNetEngine into XEngine.
* Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,Melanie Thielker2008-08-281-3/+3
| | | | | | | | | which is a thin wrapper around a IWorkItemResult from the SmartThreadPool. However, it is very easy to reimplement on top of basic threading and therefore makes the IScriptInstance class independent of the specific threading implementation.
* Thank you, salahazar, for a patch that corrects the behavior ofMelanie Thielker2008-08-271-2/+5
| | | | | | | llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
* Refactor XScriptInstance to IScriptInstance and move into Shared/. NowMelanie Thielker2008-08-272-0/+1121
| | | | | | | | engines that want to use the XEngine's instance handling and state persistence can do so. IScriptInstance is optional, but it does require the SmartThreadPool if it is used.
* Refactor Executor into the script app domain and IScript. This changesMelanie Thielker2008-08-273-0/+255
| | | | | | | an implicit reference into a proxied one and further reduces memory consumption of XEngine
* Erm - make the distanc factor really work....Melanie Thielker2008-08-271-1/+1
| | | | | | (wipes egg off face)
* Implements the r6005 foes for XEngine as wellMelanie Thielker2008-08-271-1/+9
|
* Mantis#2045. Thank you kindly, Tyre for a patch that:Charles Krinke2008-08-251-60/+111
| | | | | | | | | | | This patch adds even more LSL compatibility to llSetPos() As stated in the wiki http://wiki.secondlife.com/wiki/LlSetPos, [^] movement should also be capped to 10m per call for unattached root prims. Beside this issue the attached patch adds (hopefully) all known LSL script delays (as ScriptSleep(), but still commented out) to LSL_BuiltIn_Commands.cs and LSL_Api.cs and a lot of format cleanup.
* Add the same delay factor in the XEngine section for the XEngineMelanie Thielker2008-08-251-2/+18
|
* Fix osAvatarPlayAnimation to actually do what it says on the boxMelanie Thielker2008-08-251-1/+1
|
* Mantis #2044Melanie Thielker2008-08-251-9/+92
| | | | | | | | | Thank you, salahzar, for a patch that corrects the behavior of PRIM_TYPE in llGetPrimitiveParams() and improves LSL conformance in llGetNumberOfSides();
* Thank you, salahzar, for a patch that adds llGetNumberOfSides and willMelanie Thielker2008-08-231-2/+105
| | | | | | | | | also enable LSLconformance on some texture functions as well. Applied the part of the patch in Shared/. The part for Common/ needs to be reworked to remove the reference into Shared/
* Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker2008-08-231-0/+1
| | | | | | | | | It is now possible to use module interfaces without referencing Scene. Place those interfaces in OpenSim/Region/Interfaces. They may not use any refs from OpenSim.Region.Environment as parameters. This resolves a circular library ref introduced in r5949
* Fixes the previous commit of llMakeLink for Shared/Melanie Thielker2008-08-191-2/+2
|
* Mantis #2001Melanie Thielker2008-08-191-1/+31
| | | | | | | | Thank you, nlin, for a patch that implements part of llCreateLink - DotNetEngine implementation by nlin. - Shared/ port by me.