| Commit message (Collapse) | Author | Files | Lines |
|
Solves SetPrimitiveParams, Revolutions not calculated
properly.
|
|
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.
|
|
llParseString functions throw exception when passed a
list of variables and this patch adds logic to solve
this to LSL_Api.cs
|
|
Thannk you, ralphos, for a patch to clean up list item type handling
and add a missing explicit cast in Shared/
|
|
Thank you, ralphos, for a patch that fixes an InvalidCastException
in llSetPrimitveParams.
|
|
|
|
Prevent a null reference exception when reset is pressed on a script
while it's being compiled.
|
|
fixes that, and should get us back to compile state.
|
|
|
|
|
|
cleanup: warnings, readability
|
|
|
|
in XEngine. This turned out to be a lot of work to catch up.
|
|
|
|
|
|
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.
|
|
that slip in will not cause it to break
|
|
llSetPrimitiveParams and llSetLinkPrimitiveParams
|
|
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.
|
|
LSLIntegers in lists, and attempt to address the scope issue on TRUE
and FALSE with readonly static linkage
|
|
* llParseString functions throw exception when passed a list of variables
* Thanks!
|
|
Thank you, ralphos, for a patch that corrects the handling of compiler
warnings in the XEngine, which were erronoeously reported as errors!
|
|
|
|
llSetPrimitiveParams
|
|
from DotNetEngine into XEngine.
|
|
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.
|
|
llDetectedLink(). Also a small refactor to remove an interface member
from IScriptEngine.
|
|
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.
|
|
an implicit reference into a proxied one and further reduces memory
consumption of XEngine
|
|
(wipes egg off face)
|
|
|
|
LSL's arbitrary 10 m limit on object movement.
Also implements the 10 m maximum rezzing distance, subhect to the same
factor.
|
|
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.
|
|
|
|
at 1.0, it allows delays to function as coded. Smaller values will
reduce, larger values will increase the delays. A value of 0 is
permitted and results in on delay being applied.
|
|
|
|
Thank you, salahzar, for a patch that corrects the behavior
of PRIM_TYPE in llGetPrimitiveParams() and improves LSL
conformance in llGetNumberOfSides();
|
|
The version of llSetLinkPrimitiveParams in LSL_BuiltIn_Commands.cs
has not been kept in sync with the additional functionality made
recently to the llSetLinkPrimitiveParams implementation in
LSL_Api.cs which includes support for setting glow, full bright and
other privative parameters. A patch to LSL_BuiltIn_Commands.cs is
provided the incorperates this functionality (duplicated).
|
|
Thank you, salahzar, for a patch that implements llGetNumberOfSides()
for the DotNetEngine.
|
|
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/
|
|
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
|
|
This patch improves LSL conformance by inserting a 0.2 second delay
into llSetPos/llSetRot, as the function specification states.
Thanks to M. Igarashi for the patch.
|
|
|
|
Thank you, nlin, for a patch that implements part of llCreateLink
- DotNetEngine implementation by nlin.
- Shared/ port by me.
|
|
|
|
|
|
|
|
|
|
adds handling for PRIM_PHYSICS, PRIM_PHANTOM in
llSetPrimitiveParams()
|
|
|