| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
of the types, located in OpenSim/Region/ScriptEngines/Shared/LSL_Tyoes.cs
Also changes the compiler in DotNetEngine to use that. You _will_ need to
let your region recompile all your scripts!
|
|
|
|
|
|
|
|
| |
Thank you, tyre, for a patch that refactors LSL to use a unified set of
method signatures and type names, reorders methods and removes unused
and adds new method stubs.
|
| |
|
|
|
|
|
|
|
| |
Thank you, idb, for a patch that fixes an overflow issue in casting
string -> int for both engines, and adds tests!
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
llListSort() sorts integers and floats in ASCII order rather than numeric order
|
|
|
|
|
|
| |
for Vector3 type. Fix issue 1872.
|
|
|
|
|
|
|
|
|
| |
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
|
| |
|
|
|
|
|
|
| |
this commit, issue 1822 should be fixed.
|
|
|
|
|
|
|
| |
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
|
| |
|
|
|
|
|
|
| |
-fix some whitespace/formatting
|
| |
|
|
|
|
|
|
| |
1832.
|
| |
|
|
|
|
|
|
|
| |
-fix formatting
-remove CompilerTest test since it seems to fail randomly
|
| |
|
|
|
|
|
|
|
|
|
| |
r5487.
Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
|
| |
|
|
|
|
|
|
|
|
| |
When using math operators +,-,*,/ in an LSL script with an LSLFloat
and an integer literal the wrong result is returned. This patch
adds operators to the LSLFloat type to handle this case.
|
|
|
|
|
|
|
|
| |
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns
a component-wise vector multiplication; it should return a
scalar dot product. Thanks to M. Igarashi for the patch.
|
|
|
|
|
| |
with Windows compiled, the automated build failed.
|
|
|
|
|
|
|
| |
Dot product operator in LSL_Types.cs incorrectly returns a
component-wise vector multiplication; it should return a scalar
dot product. Thanks to M. Igarashi for the patch.
|
|
|
|
|
|
|
| |
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.
|
| |
|