Commit Graph

30 Commits (6ca23c112342d1027f135a9da3423bc85699e433)

Author SHA1 Message Date
Charles Krinke 0106f96716 Mantis#1755. Thank you kindly, Matth for a patch that solves:
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.
2008-07-16 14:30:22 +00:00
Charles Krinke 4350613f1d Mantis#1746. Thank you kindly, nlin for pointing out that
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.
2008-07-16 03:07:54 +00:00
Charles Krinke 476e08286e Mantis#1728. Thank you kindly, Mikem for a patch that solves:
The compiler was missing grammar rules for += etc. operators on 
vector.member variables, which the attached patch implements.
2008-07-14 01:07:21 +00:00
Melanie Thielker d85774c101 Patch #9142 (No mantis)
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.
2008-07-12 01:34:36 +00:00
Johan Berntsson 130d8047a2 Thanks Mike for another LSL compiler patch which fixes a bug where 'vector v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;) 2008-07-11 08:33:53 +00:00
Johan Berntsson d41c1f40a8 Patch from Mike: errors from the LSL/C# compilers are now reported to the user in-world 2008-07-10 05:40:45 +00:00
Johan Berntsson 27d9aeab0c Patch from Mike: added unit tests for the LSL compiler 2008-07-08 08:42:17 +00:00
Jeff Ames dfb63b5623 Update svn properties. Formatting cleanup. 2008-06-09 08:46:33 +00:00
Charles Krinke 0d07cf9ddd Mantis#1469. Thank you kindly, Mikem for a patch that addresses:
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/.
2008-06-09 01:06:59 +00:00
Johan Berntsson 9002329a7d Fixed a build problem with r5019 (Mikems patch) 2008-06-06 05:28:26 +00:00
Jeff Ames fbd37c420f Minor formatting cleanup. 2008-06-06 01:19:15 +00:00
Jeff Ames 2818dd800e Update svn properties. 2008-06-06 00:25:43 +00:00
Charles Krinke 16707b741e Mantis#1451. Thank you kindly, mikem for additional
tests for LSL types and strings.
2008-06-05 23:36:59 +00:00
Jeff Ames 65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Jeff Ames c995d60d37 Formatting cleanup. 2008-05-14 05:11:23 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Sean Dague 86cf07f1c4 changing more references to OpenSim.Data 2008-04-02 15:38:44 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Jeff Ames cd6f4a57e7 Added copyright heaaders. Minor cleanup. 2008-03-04 04:11:37 +00:00
Adam Frisby 415fc22e5e * Removed a bunch of compiler warnings. 2008-03-03 09:54:39 +00:00
Jeff Ames a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Jeff Ames 3b9d332f84 Added copyright notices. 2008-02-17 01:16:40 +00:00
Justin Clarke Casey 24ac86931a update eol-style 2008-02-08 18:18:56 +00:00
Adam Frisby a1625a5410 * Applying mantis 339 patches round 2 -- Thanks daedius 2008-02-08 17:54:30 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Justin Clarke Casey f5340b6470 * Stubbed out beginnings of a user server stress test
* Does absolutely nothing at the moment
2008-01-25 17:37:18 +00:00
Sean Dague 32869aec47 apply http://bug.opensecondlife.org/view.php?id=512 from chillken
which cleans up the verbose logic
2007-10-25 15:34:43 +00:00
Sean Dague d4bb430f78 get rid of all the ^M line endings 2007-10-19 20:28:18 +00:00
lbsa71 b48390213b * Applied Chillken patch #418: copyright-r2094.patch updating copyright messages. Thanks Chillken! 2007-10-15 07:25:32 +00:00
Tleiades Hax 87d99ee2a2 Added unit tests, based on nunit for the IInventoryData 2007-10-10 17:00:29 +00:00