| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
LSLInteger + literal integer is not an LSLInteger.
The included patch fixes the issue: LSLInteger + literal
integer is not an LSLInteger (also fixed for -,*,/)
|
| |
|
|
|
|
|
|
| |
Fully defines the equality operators on the lsl types and plubs
in the script engine side of the work begun in 0001616 (aly, this one's for you)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life:
list mylist = [];
mylist += [1, 2, 3];
mylist += "four";
list newlist = mylist + 5.0;
The problem is that the LSL_Types.list class does not have an operator for adding a string to a list.
I am including a patch which implements adding a string, integer or float to a list.
I am also including tests. The file LSL_TypesTestList.cs belongs in
OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LSL scripts in which a float type is cast to a string or a string type
is cast to a float do not compile. When the script is translated from
LSL to C#, the LSL float type is translated into double. There is no
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also
added two methods to the LSLString type to facilitate float <-> string casts.
|
| |
|
|
|
|
|
| |
Fixing LSL multiplication and division operators for quaternions
|
| |
|
| |
|
|
|
|
|
|
|
| |
of the key of the payer to an Explicit one.
* Fixes Mantis: #1045
|
|
|
|
|
|
| |
Stop .net generating ambiguous operator errors when two integers are compared for equality in LSL
|
|
|
|
|
| |
from a string to a vector in OSSL.
|
| |
|
|
|
|
|
| |
llParticleSystem and osDynamicTexture issues.
|
| |
|
|
|
|
| |
cast more generic (Thanks Melanie!)
|
|
|
|
|
|
|
| |
explicitly in many cases Thanks Melanie!
* Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
|
|
|
|
| |
the Quaternion constructors to catch 0,0,0,0 quaternions and convert them to 0,0,0,1 (as 0,0,0,0 is implicitly converted to 0,0,0,1 in LSL and will crash libsl if left which will in turn crash the simulator)
|
|
|
|
|
| |
llListSort() in linear and strided modes.
|
|
|
|
|
| |
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
|
|
|
|
| |
(this took a while to run).
|
|
|
|
|
|
|
| |
This fixes a bug in LSL_Types.list GetSublist that was manifest if the
source list was empty and negative indices were used.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
methods. Added LIST_STAT_HARMONIC_MEAN in addition to LL's LIST_STAT_*
|
| |
|
|
|
|
|
| |
Some preliminary work on llSetStatus and llGetStatus.
|
|
|
|
|
|
|
| |
casting.
(Thanks to dalien on informing me how easy the math was for these).
|
| |
|
|
|
|
|
|
|
| |
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
|
| |
|
| |
|
|
|
|
| |
(nant)
|
|
|
|
| |
because of dependencies. Made some changes to new LSLString.
|
|
|
|
| |
string/integer/float functions too.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Adding some more support to Vectors and Rotations
Description * String->Vector/Rotation added
* Vector * and / a double added.
|
|
|
|
|
|
|
| |
* shortened references
* Removed redundant 'this'
* Normalized EOF
|
|
|
|
|
|
|
| |
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
|
|
|
|
|
|
|
|
|
|
|
|
| |
The list type and a bunch of support functions to LSL
Added/ReImplmented: llGetListLength(), llList2Integer(), osList2Double() (note rename),
llList2Float(), llList2String(), llList2Key(), llList2Vector(), llList2Rot(),
llList2List(), llDeleteSubList(), llGetListEntryType(), llList2CSV(), llCSV2List(),
llListInsertList(), llDumpList2String(),
Borked Still: llListSort(), llListRandomize(), llList2ListStrided(), llListFindList(),
Changed: llHTTPRequest() (Made wrapper of LSL_Types.list->List<string>)
|
|
|
|
|
|
|
|
|
|
| |
rot * rot, vec / rot, == and != overriders for Rotations and Vectors.
Also: llRotBetween(), llGetRegionTimeDilation(). And fixing:
Error in LSL2CSConverter that botched a variable with a type name in it (ex: rotationCenter)
Fixed: Error in LSL2CSConverter that parsed which() loops incorrectly.
Fixed: Changed definition of Quaternion to <x, y, z, r> from <x, y, z, t> (As per LSL)
Finished: llEuler2Rot()
|
|
|
|
|
|
|
|
|
|
| |
float * vector, vector * float, vector / float, vector + vector,
vector - vector, vector * vector, vector % vector and changing
x, y, z, (and r) parts of vector and rotation to be lower case
(similar to LL's LSL vectors/rots). With these changes we should
expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.
|
|
|
|
|
|
| |
* Shortened type references
* Removed redundant 'this' qualifier
|
| |
|
|
|
|
|
|
| |
will happen on the windows side now that eol-style is correct
|