aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert changes to TestStringsWithEscapedQuotesAndComments() so it will work ↵Dahlia Trimble2008-09-061-9/+21
| | | | in Bamboo instead of windows
* reformatted some of unit test standards to allow them to work when OpenSim ↵Dahlia Trimble2008-09-061-174/+159
| | | | is built in Visual Studio
* Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:Charles Krinke2008-09-051-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 runSean Dague2008-09-0412-0/+0
|
* normalize naming for OpenSim.Tests.Framework.dllSean Dague2008-09-041-0/+0
|
* Mantis #2112Melanie Thielker2008-09-032-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 XEngineMelanie Thielker2008-09-021-103/+102
|
* Temporarily disable the unit tests for Shared/ until they can be updated.Melanie Thielker2008-09-021-21/+21
|
* First batch of the unit test changes for the new constants semanticsMelanie Thielker2008-09-021-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 compilerMike Mazur2008-08-201-1/+34
| | | | | | tests tend to tank on our continuous build server.
* Formatting cleanup.Jeff Ames2008-08-181-1/+1
|
* * minor: rip out userserver stress project which never got filled outJustin Clarke Casey2008-08-161-45/+0
|
* Minor formatting cleanup.Jeff Ames2008-08-071-8/+8
|
* Thanks, M. Igarashi & nlin, for a patch that implements unary minus operatorMike Mazur2008-07-311-2/+9
| | | | | | for Vector3 type. Fix issue 1872.
* Thanks, sempuki, for a patch that moves all Grid Server's plugins toMike Mazur2008-07-311-1/+1
| | | | | | PluginLoader. Fix issue 1871.
* Allow the list hack from issue 1863 to compile, however its behavior isMike Mazur2008-07-311-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 beMike Mazur2008-07-316-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 Mazur2008-07-311-0/+68
|
* Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-whileMike Mazur2008-07-311-0/+125
| | | | | | statements with no body.
* More LSL_Types implicit/explicit cast changes. Fix issue 1854.Mike Mazur2008-07-312-54/+54
|
* When casting strings to int, use double.Parse() as strings may be floats. WithMike Mazur2008-07-282-2/+84
| | | | | | this commit, issue 1822 should be fixed.
* -implement LSLString -> Quaternion explicit castMike Mazur2008-07-283-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 Mazur2008-07-281-0/+71
|
* -copy LSL_Types tests from Common/ to Shared/Mike Mazur2008-07-285-1/+823
| | | | | | -fix some whitespace/formatting
* Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &Mike Mazur2008-07-271-0/+63
| | | | | | 1832.
* Add casts from integer to float. Fix issue 1822.Mike Mazur2008-07-251-1/+31
|
* -add test for newly introduced cast operators (issue 1818)Mike Mazur2008-07-252-1/+16
| | | | | | | -fix formatting -remove CompilerTest test since it seems to fail randomly
* Update svn properties. Minor formatting cleanup.Jeff Ames2008-07-241-7/+7
|
* Refactor some tests.Mike Mazur2008-07-243-344/+206
|
* Replace implicit casts from LSLFloat to int and uint which were removed inMike Mazur2008-07-241-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 Mazur2008-07-232-3/+123
|
* Update svn properties. Fix some inconsistent newlines.Jeff Ames2008-07-191-62/+62
|
* Mantis#1755. Thank you kindly, Matth for a patch that solves:Charles Krinke2008-07-161-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 thatCharles Krinke2008-07-161-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 Krinke2008-07-141-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 Thielker2008-07-121-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 Berntsson2008-07-111-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 Berntsson2008-07-101-0/+31
| | | | user in-world
* Patch from Mike: added unit tests for the LSL compilerJohan Berntsson2008-07-081-0/+1303
|
* Update svn properties. Formatting cleanup.Jeff Ames2008-06-091-101/+101
|
* Mantis#1469. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-091-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 Berntsson2008-06-062-0/+0
|
* Minor formatting cleanup.Jeff Ames2008-06-062-16/+16
|
* Update svn properties.Jeff Ames2008-06-062-691/+691
|
* Mantis#1451. Thank you kindly, mikem for additional Charles Krinke2008-06-052-0/+691
| | | | | tests for LSL types and strings.
* Formatting cleanup.Jeff Ames2008-05-164-10/+10
|
* Formatting cleanup.Jeff Ames2008-05-143-14/+8
|
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-214-7/+3
| | | | (this took a while to run).
* changing more references to OpenSim.DataSean Dague2008-04-021-3/+3
|
* Formatting cleanup.Jeff Ames2008-03-188-210/+201
|