Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert changes to TestStringsWithEscapedQuotesAndComments() so it will work ↵ | Dahlia Trimble | 2008-09-06 | 1 | -9/+21 |
| | | | | in Bamboo instead of windows | ||||
* | reformatted some of unit test standards to allow them to work when OpenSim ↵ | Dahlia Trimble | 2008-09-06 | 1 | -174/+159 |
| | | | | is built in Visual Studio | ||||
* | Mantis#2126. Thank you kindly, Ralphos for a patch that addresses: | Charles Krinke | 2008-09-05 | 1 | -0/+99 |
| | | | | | | | | | | | | | | Types extracted from a LSL_Types.list have to be down-cast initially to the exact type of value type object that the Object actually is. This would make for very cumbersome, ugly code when extracting list parameter items in ll functions where a few implicit conversions should be applied such as key -> LSLString and LSLInteger -> LSLFloat (but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem member functions to the LLS_Type.list class, where XXX is the name of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take a single, int parameter that is the item number to be extracted. | ||||
* | complete rationalization of unit tests that we currently run | Sean Dague | 2008-09-04 | 12 | -0/+0 |
| | |||||
* | normalize naming for OpenSim.Tests.Framework.dll | Sean Dague | 2008-09-04 | 1 | -0/+0 |
| | |||||
* | Mantis #2112 | Melanie Thielker | 2008-09-03 | 2 | -9/+90 |
| | | | | | | | Thannk you, ralphos, for a patch to clean up list item type handling and add a missing explicit cast in Shared/ | ||||
* | Fix and reactivate the unit tests on the XEngine | Melanie Thielker | 2008-09-02 | 1 | -103/+102 |
| | |||||
* | Temporarily disable the unit tests for Shared/ until they can be updated. | Melanie Thielker | 2008-09-02 | 1 | -21/+21 |
| | |||||
* | First batch of the unit test changes for the new constants semantics | Melanie Thielker | 2008-09-02 | 1 | -89/+89 |
| | | | | | | in XEngine. This turned out to be a lot of work to catch up. | ||||
* | Adding unit test for issue 2006, though it's commented out as those compiler | Mike Mazur | 2008-08-20 | 1 | -1/+34 |
| | | | | | | tests tend to tank on our continuous build server. | ||||
* | Formatting cleanup. | Jeff Ames | 2008-08-18 | 1 | -1/+1 |
| | |||||
* | * minor: rip out userserver stress project which never got filled out | Justin Clarke Casey | 2008-08-16 | 1 | -45/+0 |
| | |||||
* | Minor formatting cleanup. | Jeff Ames | 2008-08-07 | 1 | -8/+8 |
| | |||||
* | Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator | Mike Mazur | 2008-07-31 | 1 | -2/+9 |
| | | | | | | for Vector3 type. Fix issue 1872. | ||||
* | Thanks, sempuki, for a patch that moves all Grid Server's plugins to | Mike Mazur | 2008-07-31 | 1 | -1/+1 |
| | | | | | | PluginLoader. Fix issue 1871. | ||||
* | Allow the list hack from issue 1863 to compile, however its behavior is | Mike Mazur | 2008-07-31 | 1 | -0/+25 |
| | | | | | | | different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for details. | ||||
* | -make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be | Mike Mazur | 2008-07-31 | 6 | -0/+126 |
| | | | | | | | | | 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 | 1 | -0/+68 |
| | |||||
* | Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while | Mike Mazur | 2008-07-31 | 1 | -0/+125 |
| | | | | | | statements with no body. | ||||
* | More LSL_Types implicit/explicit cast changes. Fix issue 1854. | Mike Mazur | 2008-07-31 | 2 | -54/+54 |
| | |||||
* | When casting strings to int, use double.Parse() as strings may be floats. With | Mike Mazur | 2008-07-28 | 2 | -2/+84 |
| | | | | | | this commit, issue 1822 should be fixed. | ||||
* | -implement LSLString -> Quaternion explicit cast | Mike Mazur | 2008-07-28 | 3 | -0/+105 |
| | | | | | | | -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/+71 |
| | |||||
* | -copy LSL_Types tests from Common/ to Shared/ | Mike Mazur | 2008-07-28 | 5 | -1/+823 |
| | | | | | | -fix some whitespace/formatting | ||||
* | Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 & | Mike Mazur | 2008-07-27 | 1 | -0/+63 |
| | | | | | | 1832. | ||||
* | Add casts from integer to float. Fix issue 1822. | Mike Mazur | 2008-07-25 | 1 | -1/+31 |
| | |||||
* | -add test for newly introduced cast operators (issue 1818) | Mike Mazur | 2008-07-25 | 2 | -1/+16 |
| | | | | | | | -fix formatting -remove CompilerTest test since it seems to fail randomly | ||||
* | Update svn properties. Minor formatting cleanup. | Jeff Ames | 2008-07-24 | 1 | -7/+7 |
| | |||||
* | Refactor some tests. | Mike Mazur | 2008-07-24 | 3 | -344/+206 |
| | |||||
* | Replace implicit casts from LSLFloat to int and uint which were removed in | Mike Mazur | 2008-07-24 | 1 | -2/+2 |
| | | | | | | | | | r5487. Also put the unit tests back for Bamboo to execute them, let's see how this goes. | ||||
* | First version of position mapping between LSL <-> C# implemented. | Mike Mazur | 2008-07-23 | 2 | -3/+123 |
| | |||||
* | Update svn properties. Fix some inconsistent newlines. | Jeff Ames | 2008-07-19 | 1 | -62/+62 |
| | |||||
* | Mantis#1755. Thank you kindly, Matth for a patch that solves: | Charles Krinke | 2008-07-16 | 1 | -2/+2 |
| | | | | | | | | 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#1746. Thank you kindly, nlin for pointing out that | Charles Krinke | 2008-07-16 | 1 | -0/+62 |
| | | | | | | | | 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. | ||||
* | Mantis#1728. Thank you kindly, Mikem for a patch that solves: | Charles Krinke | 2008-07-14 | 1 | -0/+35 |
| | | | | | | The compiler was missing grammar rules for += etc. operators on vector.member variables, which the attached patch implements. | ||||
* | Patch #9142 (No mantis) | Melanie Thielker | 2008-07-12 | 1 | -68/+68 |
| | | | | | | | | | Add a config option to OpenSim.ini to select between script compilers in the XEngine without recompile. Set UseNewCompiler=true in OpenSim.ini and try it out. Creates the ICodeConverter interface and adapts the new compiler to it. | ||||
* | Thanks Mike for another LSL compiler patch which fixes a bug where 'vector ↵ | Johan Berntsson | 2008-07-11 | 1 | -1/+59 |
| | | | | v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;) | ||||
* | Patch from Mike: errors from the LSL/C# compilers are now reported to the ↵ | Johan Berntsson | 2008-07-10 | 1 | -0/+31 |
| | | | | user in-world | ||||
* | Patch from Mike: added unit tests for the LSL compiler | Johan Berntsson | 2008-07-08 | 1 | -0/+1303 |
| | |||||
* | Update svn properties. Formatting cleanup. | Jeff Ames | 2008-06-09 | 1 | -101/+101 |
| | |||||
* | Mantis#1469. Thank you kindly, Mikem for a patch that addresses: | Charles Krinke | 2008-06-09 | 1 | -0/+101 |
| | | | | | | | | | | | | | | 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/. | ||||
* | Fixed a build problem with r5019 (Mikems patch) | Johan Berntsson | 2008-06-06 | 2 | -0/+0 |
| | |||||
* | Minor formatting cleanup. | Jeff Ames | 2008-06-06 | 2 | -16/+16 |
| | |||||
* | Update svn properties. | Jeff Ames | 2008-06-06 | 2 | -691/+691 |
| | |||||
* | Mantis#1451. Thank you kindly, mikem for additional | Charles Krinke | 2008-06-05 | 2 | -0/+691 |
| | | | | | tests for LSL types and strings. | ||||
* | Formatting cleanup. | Jeff Ames | 2008-05-16 | 4 | -10/+10 |
| | |||||
* | Formatting cleanup. | Jeff Ames | 2008-05-14 | 3 | -14/+8 |
| | |||||
* | * Optimised using statements and namespace references across entire project ↵ | Adam Frisby | 2008-04-21 | 4 | -7/+3 |
| | | | | (this took a while to run). | ||||
* | changing more references to OpenSim.Data | Sean Dague | 2008-04-02 | 1 | -3/+3 |
| | |||||
* | Formatting cleanup. | Jeff Ames | 2008-03-18 | 8 | -210/+201 |
| |