Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | -make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be | Mike Mazur | 2008-07-31 | 4 | -4/+52 | |
| | | | | | | | | | 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 | |||||
* | Allow assignments in if/while/do-while control statements. Fix issue 1862. | Mike Mazur | 2008-07-31 | 2 | -15384/+16022 | |
| | ||||||
* | Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while | Mike Mazur | 2008-07-31 | 4 | -20/+28 | |
| | | | | | | statements with no body. | |||||
* | More LSL_Types implicit/explicit cast changes. Fix issue 1854. | Mike Mazur | 2008-07-31 | 2 | -6/+6 | |
| | ||||||
* | Thank you, HomerHorwitz, for a patch that | Melanie Thielker | 2008-07-30 | 2 | -2/+20 | |
| | | | | | | implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams. | |||||
* | When casting strings to int, use double.Parse() as strings may be floats. With | Mike Mazur | 2008-07-28 | 2 | -4/+8 | |
| | | | | | | this commit, issue 1822 should be fixed. | |||||
* | -implement LSLString -> Quaternion explicit cast | Mike Mazur | 2008-07-28 | 2 | -0/+15 | |
| | | | | | | | -sync Shared/LSL_Types.cs with Common/LSL_Types.cs -get the test script in issue 1822 to compile | |||||
* | Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822. | Mike Mazur | 2008-07-28 | 1 | -0/+5 | |
| | ||||||
* | -copy LSL_Types tests from Common/ to Shared/ | Mike Mazur | 2008-07-28 | 2 | -9/+9 | |
| | | | | | | -fix some whitespace/formatting | |||||
* | Refresh LSLTypes.cs in Shared/ from the one in Common/, which was | Melanie Thielker | 2008-07-28 | 1 | -100/+45 | |
| | | | | | | more complete. | |||||
* | Reinstate the configuration option on XEngine's use of the lexical | Melanie Thielker | 2008-07-28 | 1 | -5/+1 | |
| | | | | | | | compiler. Changes the default in OpenSim.ini.example to "true" to allow for a broader user base for testing. | |||||
* | Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues ↵ | Mike Mazur | 2008-07-27 | 2 | -22/+25 | |
| | | | | 1651, 1339. | |||||
* | Re-fix r5681. Sorry for the inconvenience. We will now return you | Melanie Thielker | 2008-07-27 | 1 | -0/+1 | |
| | | | | | | to your scheduled scripting. | |||||
* | Addresses Mantis #1611 | Melanie Thielker | 2008-07-27 | 1 | -0/+3 | |
| | | | | | | | | Set thread culture for event processing threads in DotNetEngine. XEngine already had this. Maybe someone with a French OS can verify the fix. | |||||
* | Addresses Mantis #1688 | Melanie Thielker | 2008-07-27 | 2 | -2/+2 | |
| | | | | | | | | 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. | |||||
* | Mantis#1831.Thank you kindly, Francis for a patch that addresses: | Charles Krinke | 2008-07-27 | 2 | -30/+20 | |
| | | | | | Not all combinations of list order equally likely with llListRandomize() | |||||
* | Log to console if C# line/column lookup fails. | Mike Mazur | 2008-07-27 | 2 | -2/+4 | |
| | ||||||
* | Conversion from double to LSLInteger needs to be explicit. Fix issue 1826. | Mike Mazur | 2008-07-27 | 2 | -2/+2 | |
| | ||||||
* | Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 & | Mike Mazur | 2008-07-27 | 2 | -0/+40 | |
| | | | | | | 1832. | |||||
* | * Changed a number of field names to ccc (public members shouldn't be called m_) | lbsa71 | 2008-07-26 | 3 | -3/+3 | |
| | ||||||
* | Add casts from integer to float. Fix issue 1822. | Mike Mazur | 2008-07-25 | 2 | -0/+10 | |
| | ||||||
* | -add test for newly introduced cast operators (issue 1818) | Mike Mazur | 2008-07-25 | 2 | -4/+6 | |
| | | | | | | | -fix formatting -remove CompilerTest test since it seems to fail randomly | |||||
* | Add mingchen's fix for string->float cast to Shared/ | Melanie Thielker | 2008-07-25 | 1 | -0/+4 | |
| | ||||||
* | *Fixes #0001818: typecast string to float | mingchen | 2008-07-25 | 1 | -0/+4 | |
| | ||||||
* | llApplyImpulse now accepts any non-zero integer as not FALSE | Dahlia Trimble | 2008-07-25 | 2 | -21/+5 | |
| | ||||||
* | Update svn properties. Minor formatting cleanup. | Jeff Ames | 2008-07-24 | 2 | -5/+5 | |
| | ||||||
* | Implements llSetForce() and llGetForce(). These are experimental and the ↵ | Dahlia Trimble | 2008-07-24 | 2 | -6/+60 | |
| | | | | units may not match the Linden implementation. | |||||
* | Replace the try/catch with a null check. | Mike Mazur | 2008-07-24 | 2 | -12/+6 | |
| | ||||||
* | Replace implicit casts from LSLFloat to int and uint which were removed in | Mike Mazur | 2008-07-24 | 2 | -0/+20 | |
| | | | | | | | | | r5487. Also put the unit tests back for Bamboo to execute them, let's see how this goes. | |||||
* | refactor TaskInventoryItem Mask -> Permissions to be consistant with how things | Sean Dague | 2008-07-23 | 2 | -12/+12 | |
| | | | | | | are stored in the db. | |||||
* | Attempt to fix Mantis #1804 | Melanie Thielker | 2008-07-23 | 2 | -35/+9 | |
| | | | | | | | Fetches the correct link part to chenge. Please provide feedback, since I was not able to test all variants of this huge function. | |||||
* | Fix Mantis #1759 | Melanie Thielker | 2008-07-23 | 1 | -2/+2 | |
| | | | | | | Corrects reported agent positions. | |||||
* | refactored LandData to use properties, and cleaned up the naming on | Sean Dague | 2008-07-23 | 2 | -64/+64 | |
| | | | | | | | the properties a bit to be more consistant with other objects (having things like .Name .Description, etc). | |||||
* | Update svn properties. Formatting cleanup. Remove a compiler warning. | Jeff Ames | 2008-07-23 | 7 | -54/+54 | |
| | ||||||
* | Fix issue 1760. If the inventory item is not found, llSay() and throw an ↵ | Mike Mazur | 2008-07-23 | 2 | -7/+13 | |
| | | | | exception. | |||||
* | Enable LSL <-> C# source location mapping when reporing compiler errors to ↵ | Mike Mazur | 2008-07-23 | 2 | -3/+44 | |
| | | | | the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method. | |||||
* | First version of position mapping between LSL <-> C# implemented. | Mike Mazur | 2008-07-23 | 3 | -231/+500 | |
| | ||||||
* | Mantis#1801. Thank you kindly, Junta_Kohime for a patch that: | Charles Krinke | 2008-07-21 | 2 | -2/+2 | |
| | | | | | | | | | | | 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. | |||||
* | some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and ↵ | Dahlia Trimble | 2008-07-21 | 2 | -73/+98 | |
| | | | | llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products. | |||||
* | does some verification of the quaternion returned by llAxes2Rot and modifies ↵ | Dahlia Trimble | 2008-07-21 | 2 | -52/+69 | |
| | | | | the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation. | |||||
* | Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini | Melanie Thielker | 2008-07-20 | 2 | -28/+28 | |
| | | | | | | Defaulted to 65536 and 10, respectively | |||||
* | Mantis#1785. Thank you kindly, Junta_Kohime for a patch that" | Charles Krinke | 2008-07-19 | 2 | -5/+62 | |
| | | | | | | | | | | 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. | |||||
* | Fix prim link numbers (Mantis #1781) | Melanie Thielker | 2008-07-19 | 3 | -27/+21 | |
| | | | | | | | | | | | 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. | |||||
* | Mantis#1778. Thank you kindly, Junta_Kohime for a patch that: | Charles Krinke | 2008-07-18 | 2 | -4/+61 | |
| | | | | | | | llRot2Left and llRot2Up functions modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented. | |||||
* | * Fix http://opensimulator.org/mantis/view.php?id=1761 | Justin Clarke Casey | 2008-07-18 | 2 | -2/+2 | |
| | | | | | | * Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1 | |||||
* | Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770. | Mike Mazur | 2008-07-18 | 2 | -0/+10 | |
| | ||||||
* | Treat LSL_Types as special cases in llList2Integer and llList2Float. This ↵ | Mike Mazur | 2008-07-18 | 2 | -0/+36 | |
| | | | | could be implemented many other places, but let's do that on a case-by-case basis. | |||||
* | Mantis#1768. Thank you kindly, Junta_Kohime for a patch that: | Charles Krinke | 2008-07-18 | 2 | -2/+30 | |
| | | | | | | | llRot2Fwd function modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented. | |||||
* | Mantis#1598. Thank you kindly, Matth for a patch that addresses: | Charles Krinke | 2008-07-17 | 2 | -55/+105 | |
| | | | | | | | | | | | The previous implementation of llEuler2Rot was not mathematically incorrect, but it was an awkward way of posing the problem that led to a few degenerate cases which were not handled correctly - for example, PI rotations around X and Z axes were wrong. I put some comments in the source about how I arrived at the current implementation, which I think is easier to read, and gives results that match SL. | |||||
* | Mantis#1755. Thank you kindly, Matth for a patch that solves: | Charles Krinke | 2008-07-16 | 2 | -32/+107 | |
| | | | | | | | | 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. |