aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-06Fixed regex in LSL2CSConverter so it will properly handle casting to ↵alondria1-2/+2
(string) part of vector (eg. vector.z) This fixes Mantis 388
2008-02-02Temporarily disabled AllowedCompilers so all 3 compilers are allowed.Tedd Hansen1-29/+11
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
2008-01-22Giving Mantis #388 a shotTedd Hansen1-2/+3
2008-01-15* Mother of all commits:Adam Frisby1-18/+19
* 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-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-1/+1
ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common. Loads of things has been put into interfaces instead of the specific class. We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
2008-01-01Fixed string issue in compilerTedd Hansen1-1/+1
2007-12-31Correction of last commitTedd Hansen1-1/+1
2007-12-30In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen1-0/+4
2007-12-27* Optimized usingslbsa711-2/+2
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-18Many Thanks to Alondria for adding:Charles Krinke1-2/+2
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-4/+7
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-14Again, thanks to Alondria for: adding llGetTime, llResetTime, and ↵Charles Krinke1-3/+3
llGetAndResetTime. Also for fixing Rot/Vector Regex from being too greedy by removing bug in the LSL->C# converter that was causing the vector and rotation parser.
2007-12-09"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. ↵Charles Krinke1-1/+1
Thanks to ChrisD/Gromit for pointing these out.
2007-11-01ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen1-0/+4
extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock. Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
2007-10-30* Optimized usingslbsa711-30/+52
* 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-16Implemented: llSetText, llResetScript Tedd Hansen1-5/+5
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
2007-09-15Now loading "OpenSim.Region.ScriptEngine.Common.dll" into scripts AppDomain ↵Tedd Hansen1-5/+6
and "using OpenSim.Region.ScriptEngine.Common;" at start of script when converted from LSL. Vectors and rotations now works.
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-265/+265
will happen on the windows side now that eol-style is correct
2007-09-13Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed ↵Tedd Hansen1-16/+16
member names to smallcapsy.
2007-09-04Some work on Module loading/management.MW1-4/+1
Some more modules templates classes (hoping that someone will pick some of these and work on implementing them). Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them). Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim. Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
2007-08-26Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW1-1/+0
the assetcache and asset server). Attempt to fix bug # 326. (crashing when using save-xml and hollow prims) Attempt to fix bug # 328 (limit of 50 items in a folder)
2007-08-26in-world run-time error-message no-w con-tains function-name.Tedd Hansen1-11/+11
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen1-3/+23
require script to be compiled with (slow) debug information.
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen1-10/+10
LSL-script.
2007-08-25oops , shouldn't have committed my local testing changesMW1-1/+0
2007-08-25Test to see if this change improves or makes worse the texture sending bugMW1-0/+2
2007-08-18Script loads into separate AppDomain without errors. Events and llFunctions ↵Tedd Hansen1-1/+3
not working yet.
2007-08-18LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen1-5/+10
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.
2007-08-18Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen1-1/+1
2007-08-18Started on AppDomains for ScriptEngine. Moved llFunctions in ↵Tedd Hansen1-4/+1
LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
2007-08-17Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen1-2/+1
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
2007-08-16* Now sending manager, host and root host to Script in constructor.lbsa711-1/+5
* Changed how Script accesses World * Implemented llSay, llWhisper and llShout * Added SetText() to IScriptHost, implemented llText * Minor renamings to conform with code conventions
2007-08-16* Introduced IScriptHost as an interface to fetching object data from scripts.lbsa711-0/+1
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-15Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen1-1/+8
and double (instead of float).
2007-08-13Common script for all objects (Default.lsl). ScriptEngine touch_start event ↵Tedd Hansen1-1/+1
now works, but llSay only outputs to server console.
2007-08-12ScriptEngine successfully compiles script, we are now even further than LSO was.Tedd Hansen1-2/+2
Also added C# script support.
2007-08-12LSL BuiltIn implementation is now in Compiler\LSL\LSL_BaseClass. So users ↵Tedd Hansen1-6/+7
won't have to reference every internal command by object.
2007-08-12Code comments and cleanup, correct datatypes for key, vector, rotation, ↵Tedd Hansen1-54/+22
(hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
2007-08-12Script now compiles unsuccessfullyTedd Hansen1-27/+133
(unknown datatypes, no references)
2007-08-12LSL ScriptEngine now only needs to inherit from BaseClass and we will be ↵Tedd Hansen1-0/+2
MUCH closer to complete LSL support than we were yesterday.
2007-08-12Initial LSL to C# converter, not working yet!Tedd Hansen1-0/+156