aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-30Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares1-52/+124
explicitly in many cases Thanks Melanie! * Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
2008-04-29* Applying melanie's List2Vector and List2Rot patch. Added a routine in ↵Teravus Ovares1-0/+6
the Quaternion constructors to catch 0,0,0,0 quaternions and convert them to 0,0,0,1 (as 0,0,0,0 is implicitly converted to 0,0,0,1 in LSL and will crash libsl if left which will in turn crash the simulator)
2008-04-26Thank you Melanie for implementingCharles Krinke1-0/+64
llListSort() in linear and strided modes.
2008-04-24* Patch from Melanie. Mantis: 1040. Thanks Melanie!Teravus Ovares1-0/+62
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-13/+13
(this took a while to run).
2008-04-16From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-13/+60
This fixes a bug in LSL_Types.list GetSublist that was manifest if the source list was empty and negative indices were used.
2008-03-21Adds in +, -, and / operators for Rotations (and fixes Mantis 671)alondria1-0/+17
2008-03-18Formatting cleanup.Jeff Ames1-28/+25
2008-03-11Refactor out some duplicate code.Jeff Ames1-3/+3
2008-03-03* Removed a bunch of compiler warnings.Adam Frisby1-1/+1
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-10Implements llListStatistics() and a bunch-o-LSL_Types.list statistical ↵alondria1-0/+229
methods. Added LIST_STAT_HARMONIC_MEAN in addition to LL's LIST_STAT_*
2008-02-06Fixed typo in Mag() (Thanks lc_tuco for pointing this out)Jeff Ames1-1/+1
2008-02-05Added explicit Quaternion->string and list->string conversions.alondria1-0/+21
Some preliminary work on llSetStatus and llGetStatus.
2008-02-03Added llRot2Fwd, llRot2Left, and llRot2Up as well as explicit vector->string ↵alondria1-0/+5
casting. (Thanks to dalien on informing me how easy the math was for these).
2008-02-02Added llParseString2List (and a few extra methods to LSL_Types.list).alondria1-0/+23
2008-01-15* Mother of all commits:Adam Frisby1-2/+2
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-01Fixed nant compile problemTedd Hansen1-8/+17
2008-01-01Trying to fix nant compile errorTedd Hansen1-327/+318
2008-01-01Temp removed new data types patch from Mantis #272, causing compile problems ↵Tedd Hansen1-336/+337
(nant)
2008-01-01Minor changes. Changed Prebuild.xml to avoid first-time-compile error ↵Tedd Hansen1-306/+330
because of dependencies. Made some changes to new LSLString.
2008-01-01Adrianas 0000272 -- I think we need to implement standard ↵Tedd Hansen1-0/+304
string/integer/float functions too.
2008-01-01Fixed string issue in compilerTedd Hansen1-34/+48
2007-12-31Correction of last commitTedd Hansen1-0/+5
2007-12-30In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen1-0/+3
2007-12-27Thank you again, Alondria for:Charles Krinke1-2/+55
Adding some more support to Vectors and Rotations Description * String->Vector/Rotation added * Vector * and / a double added.
2007-12-27* Optimized usingslbsa711-30/+36
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-19Misc. cleanup:Jeff Ames1-5/+17
* added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
2007-12-18Many Thanks to Alondria for adding:Charles Krinke1-0/+114
The list type and a bunch of support functions to LSL Added/ReImplmented: llGetListLength(), llList2Integer(), osList2Double() (note rename), llList2Float(), llList2String(), llList2Key(), llList2Vector(), llList2Rot(), llList2List(), llDeleteSubList(), llGetListEntryType(), llList2CSV(), llCSV2List(), llListInsertList(), llDumpList2String(), Borked Still: llListSort(), llListRandomize(), llList2ListStrided(), llListFindList(), Changed: llHTTPRequest() (Made wrapper of LSL_Types.list->List<string>)
2007-12-15Thanks again to Alondria for adding: math support forCharles Krinke1-43/+150
rot * rot, vec / rot, == and != overriders for Rotations and Vectors. Also: llRotBetween(), llGetRegionTimeDilation(). And fixing: Error in LSL2CSConverter that botched a variable with a type name in it (ex: rotationCenter) Fixed: Error in LSL2CSConverter that parsed which() loops incorrectly. Fixed: Changed definition of Quaternion to <x, y, z, r> from <x, y, z, t> (As per LSL) Finished: llEuler2Rot()
2007-12-12Thanks to Alondria for: Adding vector->string and rotation->string,Charles Krinke1-24/+90
float * vector, vector * float, vector / float, vector + vector, vector - vector, vector * vector, vector % vector and changing x, y, z, (and r) parts of vector and rotation to be lower case (similar to LL's LSL vectors/rots). With these changes we should expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.
2007-10-30* Optimized usingslbsa711-12/+14
* Shortened type references * Removed redundant 'this' qualifier
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa711-0/+28
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-53/+53
will happen on the windows side now that eol-style is correct
2007-08-18LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen1-0/+53
Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken.