aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2008-08-28Thank you, salahzar, for a patch that adds some more functionsMelanie Thielker1-5/+51
from DotNetEngine into XEngine.
2008-08-28Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,Melanie Thielker1-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.
2008-08-27Thank you, salahazar, for a patch that corrects the behavior ofMelanie Thielker1-2/+5
llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
2008-08-27Refactor XScriptInstance to IScriptInstance and move into Shared/. NowMelanie Thielker2-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.
2008-08-27Refactor Executor into the script app domain and IScript. This changesMelanie Thielker3-0/+255
an implicit reference into a proxied one and further reduces memory consumption of XEngine
2008-08-27Erm - make the distanc factor really work....Melanie Thielker1-1/+1
(wipes egg off face)
2008-08-27Implements the r6005 foes for XEngine as wellMelanie Thielker1-1/+9
2008-08-25Mantis#2045. Thank you kindly, Tyre for a patch that:Charles Krinke1-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.
2008-08-25Add the same delay factor in the XEngine section for the XEngineMelanie Thielker1-2/+18
2008-08-25Fix osAvatarPlayAnimation to actually do what it says on the boxMelanie Thielker1-1/+1
2008-08-25Mantis #2044Melanie Thielker1-9/+92
Thank you, salahzar, for a patch that corrects the behavior of PRIM_TYPE in llGetPrimitiveParams() and improves LSL conformance in llGetNumberOfSides();
2008-08-23Thank you, salahzar, for a patch that adds llGetNumberOfSides and willMelanie Thielker1-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/
2008-08-23Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker1-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
2008-08-19Fixes the previous commit of llMakeLink for Shared/Melanie Thielker1-2/+2
2008-08-19Mantis #2001Melanie Thielker1-1/+31
Thank you, nlin, for a patch that implements part of llCreateLink - DotNetEngine implementation by nlin. - Shared/ port by me.
2008-08-19Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs.Mike Mazur1-91/+96
2008-08-19Apply Godfrey's patch (originally in r5872) to Shared/LSL_Types.cs as well.Mike Mazur1-2/+94
2008-08-18Formatting cleanup.Jeff Ames12-187/+185
2008-08-17Update svn properties, minor formatting cleanup.Jeff Ames1-42/+42
2008-08-17Mantis#1974. Thank you BlueWall for a patch that:Charles Krinke1-0/+42
adds handling for PRIM_PHYSICS, PRIM_PHANTOM in llSetPrimitiveParams()
2008-08-17Update svn properties, minor formatting cleanup.Jeff Ames1-32/+32
2008-08-16Mantis#1971. Thank you kindly, BlueWall for a patch that:Charles Krinke1-2/+40
The included patch enable handling for PRIM_FULLBRIGHT in llSetPrimitiveParams().
2008-08-16Update svn properties, minor formatting cleanup.Jeff Ames1-75/+75
2008-08-16Mantis#1964. Thank you kindly, BlueWall for a patch that:Charles Krinke1-3/+63
Parch adds PRIM_BUMP_SHINY handling to llSetPrimitiveParams
2008-08-16Mantis#1963. Thank you kindly, Krtaylor for a patch that solves:Charles Krinke1-0/+10
XEngine missing string constructor for LSLInteger and LSLFloat
2008-08-16Refactor a lot of direct calls to OGS1 to use the cached version instead.Melanie Thielker2-6/+7
Scripts can now no longer DOS the user server and there are a lot fewer gratuitious lookups of user profile data.
2008-08-15Pantis #1957Melanie Thielker1-3/+11
Thank you, Leaf, for a patch that implements llGetAnimationList() XEngine implementation added by myself.
2008-08-15Mantis #1961Melanie Thielker1-0/+34
Thank you, BlueWall, for a patch that adds PRIM_GLOW