aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix regex for string->int cast to accept leading spaces and a signMelanie Thielker2008-09-021-1/+1
|
* Change some chat output functions so that text is truncated atMelanie Thielker2008-09-021-1/+8
| | | | | | | | 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.
* This is an attempt to fix the handling of constants in LSL.Melanie Thielker2008-09-011-19/+19
| | | | | | | | | | 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.
* Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs.Mike Mazur2008-08-191-91/+96
|
* Apply Godfrey's patch (originally in r5872) to Shared/LSL_Types.cs as well.Mike Mazur2008-08-191-2/+94
|
* Formatting cleanup.Jeff Ames2008-08-181-11/+11
|
* Mantis#1963. Thank you kindly, Krtaylor for a patch that solves:Charles Krinke2008-08-161-0/+10
| | | | | XEngine missing string constructor for LSLInteger and LSLFloat
* -make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can beMike Mazur2008-07-311-0/+24
| | | | | | | | | 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
* More LSL_Types implicit/explicit cast changes. Fix issue 1854.Mike Mazur2008-07-311-3/+3
|
* When casting strings to int, use double.Parse() as strings may be floats. WithMike Mazur2008-07-281-2/+4
| | | | | | this commit, issue 1822 should be fixed.
* -implement LSLString -> Quaternion explicit castMike Mazur2008-07-281-0/+10
| | | | | | | -sync Shared/LSL_Types.cs with Common/LSL_Types.cs -get the test script in issue 1822 to compile
* -copy LSL_Types tests from Common/ to Shared/Mike Mazur2008-07-281-6/+6
| | | | | | -fix some whitespace/formatting
* Refresh LSLTypes.cs in Shared/ from the one in Common/, which wasMelanie Thielker2008-07-281-100/+45
| | | | | | more complete.
* Conversion from double to LSLInteger needs to be explicit. Fix issue 1826.Mike Mazur2008-07-271-1/+1
|
* Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &Mike Mazur2008-07-271-0/+20
| | | | | | 1832.
* Add casts from integer to float. Fix issue 1822.Mike Mazur2008-07-251-0/+5
|
* -add test for newly introduced cast operators (issue 1818)Mike Mazur2008-07-251-4/+5
| | | | | | | -fix formatting -remove CompilerTest test since it seems to fail randomly
* Add mingchen's fix for string->float cast to Shared/Melanie Thielker2008-07-251-0/+4
|
* Replace implicit casts from LSLFloat to int and uint which were removed inMike Mazur2008-07-241-0/+10
| | | | | | | | | r5487. Also put the unit tests back for Bamboo to execute them, let's see how this goes.
* Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.Mike Mazur2008-07-181-0/+5
|
* Mantis#1755. Thank you kindly, Matth for a patch that solves:Charles Krinke2008-07-161-14/+54
| | | | | | | | 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.
* Mantis#1673. Thank you kindly, Matth for a patch that:Charles Krinke2008-07-101-0/+20
| | | | | | | LSLInteger + literal integer is not an LSLInteger. The included patch fixes the issue: LSLInteger + literal integer is not an LSLInteger (also fixed for -,*,/)
* Comment out StringTest until we use it somewhere.Charles Krinke2008-06-281-16/+16
|
* Minor formatting cleanup.Jeff Ames2008-06-251-1/+1
|
* * Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, ↵lbsa712008-06-241-0/+1519
api and compiler out of XEngine" "First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done." Thank you, Melanie!