aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-08-07Mantis#1888. Thank you kindly, Tyre for a patch that:Charles Krinke1-1/+28
This patch adds the missing parcel and region flag constants for LSL scripts. Tested with .Net and XEngine
2008-08-07Minor formatting cleanup.Jeff Ames1-10/+10
2008-08-01Mantis#1859. Thank you kindly, Lmmz for a patch that:Charles Krinke1-3/+3
Implements llForceMouselook().
2008-07-31Mantis#1868. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke1-1/+1
0001868: llXorBase64StringsCorrect leads to error if second string shorter than first which was an off by one error.
2008-07-31Thank you, HomerHorwitz, for a patch that implements ↵Melanie Thielker2-2/+90
llSetCameraParams/llClearCameraParams. Fixes Mantis #1867
2008-07-31Thank you, HomerHorwitz, for a patch that add PERMISSION_CONTROL_CAMERAMelanie Thielker2-0/+3
Fixes Mantis #1861
2008-07-31Thank you, sacha magne, for a patch that implementsMelanie Thielker2-0/+4
llRequestSimulatorData("simname", DATA_SIM_RELEASE) Fixes Mantis #1866
2008-07-31Allow the list hack from issue 1863 to compile, however its behavior isMike Mazur1-7699/+7741
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for details.
2008-07-31-make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can beMike Mazur2-2/+26
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
2008-07-31Allow assignments in if/while/do-while control statements. Fix issue 1862.Mike Mazur1-7692/+8011
2008-07-31Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-whileMike Mazur2-10/+14
statements with no body.
2008-07-31More LSL_Types implicit/explicit cast changes. Fix issue 1854.Mike Mazur1-3/+3
2008-07-30Thank you, HomerHorwitz, for a patch thatMelanie Thielker1-1/+10
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
2008-07-28When casting strings to int, use double.Parse() as strings may be floats. WithMike Mazur1-2/+4
this commit, issue 1822 should be fixed.
2008-07-28-implement LSLString -> Quaternion explicit castMike Mazur1-0/+10
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs -get the test script in issue 1822 to compile
2008-07-28-copy LSL_Types tests from Common/ to Shared/Mike Mazur1-6/+6
-fix some whitespace/formatting
2008-07-28Refresh LSLTypes.cs in Shared/ from the one in Common/, which wasMelanie Thielker1-100/+45
more complete.
2008-07-28Reinstate the configuration option on XEngine's use of the lexicalMelanie Thielker1-5/+1
compiler. Changes the default in OpenSim.ini.example to "true" to allow for a broader user base for testing.
2008-07-27Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues ↵Mike Mazur1-2/+6
1651, 1339.
2008-07-27Addresses Mantis #1688Melanie Thielker1-1/+1
Changes erroneous return value of llGetLinkname() to "" for nonexistent prims. Corrects an issue where the root prim of a linked set, upon delink, retains the part number 1.
2008-07-27Mantis#1831.Thank you kindly, Francis for a patch that addresses:Charles Krinke1-16/+10
Not all combinations of list order equally likely with llListRandomize()
2008-07-27Log to console if C# line/column lookup fails.Mike Mazur1-1/+2
2008-07-27Conversion from double to LSLInteger needs to be explicit. Fix issue 1826.Mike Mazur1-1/+1
2008-07-27Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &Mike Mazur1-0/+20
1832.
2008-07-26* Changed a number of field names to ccc (public members shouldn't be called m_)lbsa711-1/+1
2008-07-25Add casts from integer to float. Fix issue 1822.Mike Mazur1-0/+5
2008-07-25-add test for newly introduced cast operators (issue 1818)Mike Mazur1-4/+5
-fix formatting -remove CompilerTest test since it seems to fail randomly
2008-07-25Add mingchen's fix for string->float cast to Shared/Melanie Thielker1-0/+4
2008-07-25llApplyImpulse now accepts any non-zero integer as not FALSEDahlia Trimble1-9/+1
2008-07-24Update svn properties. Minor formatting cleanup.Jeff Ames1-3/+3
2008-07-24Implements llSetForce() and llGetForce(). These are experimental and the ↵Dahlia Trimble1-3/+30
units may not match the Linden implementation.
2008-07-24Replace the try/catch with a null check.Mike Mazur1-6/+3
2008-07-24Replace implicit casts from LSLFloat to int and uint which were removed inMike Mazur1-0/+10
r5487. Also put the unit tests back for Bamboo to execute them, let's see how this goes.
2008-07-23refactor TaskInventoryItem Mask -> Permissions to be consistant with how thingsSean Dague1-6/+6
are stored in the db.
2008-07-23Attempt to fix Mantis #1804Melanie Thielker1-18/+5
Fetches the correct link part to chenge. Please provide feedback, since I was not able to test all variants of this huge function.
2008-07-23Fix Mantis #1759Melanie Thielker1-2/+2
Corrects reported agent positions.
2008-07-23refactored LandData to use properties, and cleaned up the naming onSean Dague1-32/+32
the properties a bit to be more consistant with other objects (having things like .Name .Description, etc).
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames4-19/+19
2008-07-23Fix issue 1760. If the inventory item is not found, llSay() and throw an ↵Mike Mazur1-4/+7
exception.
2008-07-23Enable LSL <-> C# source location mapping when reporing compiler errors to ↵Mike Mazur1-3/+28
the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
2008-07-23First version of position mapping between LSL <-> C# implemented.Mike Mazur1-111/+246
2008-07-21Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke1-1/+1
I found a problem trying to get s value directly from a quaternion q. Compiling a script which directly access to q.s value, caused the following error: CS0103: 'The . symbol cannot be used in LSL except in float values or vector components'. Detected around: q.s I did a small change to allow alphabetic letter "s" to be interpretated as valid identifier. This solves the problem.
2008-07-21some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and ↵Dahlia Trimble1-36/+48
llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
2008-07-21does some verification of the quaternion returned by llAxes2Rot and modifies ↵Dahlia Trimble1-31/+39
the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
2008-07-20Make the max sizes of physical and nonphysical prims configurable in OpenSim.iniMelanie Thielker1-14/+14
Defaulted to 65536 and 10, respectively
2008-07-19Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"Charles Krinke1-2/+31
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s> is equal to <-x,-y,-z,-s>. The result may be different from LSL output, but it is correct. A problem of rounding caused an error of square rooting of zero as negative number, corrected by squaring again. Function tested 360° along 3 axes. Vector fwd, left and up have to be normalized.
2008-07-19Fix prim link numbers (Mantis #1781)Melanie Thielker1-9/+9
Implements additional unlink modes (unlink root prim from link set, some multi-set operations). Linking (single and mutiple) fully implemented. Consistent numbering of links while in world. Link/delink with predictable link numbering. Correct link numbers in LSL. Not all multi-set ops implemented. Link numbers still change when taken and re-rezzed.
2008-07-18Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke1-2/+30
llRot2Left and llRot2Up functions modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented.
2008-07-18* Fix http://opensimulator.org/mantis/view.php?id=1761Justin Clarke Casey1-1/+1
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.Mike Mazur1-0/+5