aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Temporarily disabled AllowedCompilers so all 3 compilers are allowed.Tedd Hansen2008-02-021-29/+11
| | | | | Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
* Giving Mantis #388 a shotTedd Hansen2008-01-221-2/+3
|
* * Mother of all commits:Adam Frisby2008-01-151-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.
* Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen2008-01-121-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.
* Fixed string issue in compilerTedd Hansen2008-01-011-1/+1
|
* Correction of last commitTedd Hansen2007-12-311-1/+1
|
* In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen2007-12-301-0/+4
|
* * Optimized usingslbsa712007-12-271-2/+2
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Many Thanks to Alondria for adding:Charles Krinke2007-12-181-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>)
* Thanks again to Alondria for adding: math support forCharles Krinke2007-12-151-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()
* Again, thanks to Alondria for: adding llGetTime, llResetTime, and ↵Charles Krinke2007-12-141-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.
* "list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. ↵Charles Krinke2007-12-091-1/+1
| | | | Thanks to ChrisD/Gromit for pointing these out.
* ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen2007-11-011-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.
* * Optimized usingslbsa712007-10-301-30/+52
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* * Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa712007-10-151-0/+28
|
* Implemented: llSetText, llResetScript Tedd Hansen2007-09-161-5/+5
| | | | | Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
* Now loading "OpenSim.Region.ScriptEngine.Common.dll" into scripts AppDomain ↵Tedd Hansen2007-09-151-5/+6
| | | | and "using OpenSim.Region.ScriptEngine.Common;" at start of script when converted from LSL. Vectors and rotations now works.
* remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague2007-09-131-265/+265
| | | | | | will happen on the windows side now that eol-style is correct
* Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed ↵Tedd Hansen2007-09-131-16/+16
| | | | member names to smallcapsy.
* Some work on Module loading/management.MW2007-09-041-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)
* Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW2007-08-261-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)
* in-world run-time error-message no-w con-tains function-name.Tedd Hansen2007-08-261-11/+11
|
* Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen2007-08-261-3/+23
| | | | require script to be compiled with (slow) debug information.
* Script compiler should now show error on correct line number in original ↵Tedd Hansen2007-08-251-10/+10
| | | | LSL-script.
* oops , shouldn't have committed my local testing changesMW2007-08-251-1/+0
|
* Test to see if this change improves or makes worse the texture sending bugMW2007-08-251-0/+2
|
* Script loads into separate AppDomain without errors. Events and llFunctions ↵Tedd Hansen2007-08-181-1/+3
| | | | not working yet.
* LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen2007-08-181-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.
* Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen2007-08-181-1/+1
|
* Started on AppDomains for ScriptEngine. Moved llFunctions in ↵Tedd Hansen2007-08-181-4/+1
| | | | LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
* Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen2007-08-171-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.
* * Now sending manager, host and root host to Script in constructor.lbsa712007-08-161-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
* * Introduced IScriptHost as an interface to fetching object data from scripts.lbsa712007-08-161-0/+1
| | | | | | * This meant introducing AbsolutePosition on all objects (since SimChat wants that)
* Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen2007-08-151-1/+8
| | | | and double (instead of float).
* Common script for all objects (Default.lsl). ScriptEngine touch_start event ↵Tedd Hansen2007-08-131-1/+1
| | | | now works, but llSay only outputs to server console.
* ScriptEngine successfully compiles script, we are now even further than LSO was.Tedd Hansen2007-08-121-2/+2
| | | | | Also added C# script support.
* LSL BuiltIn implementation is now in Compiler\LSL\LSL_BaseClass. So users ↵Tedd Hansen2007-08-121-6/+7
| | | | won't have to reference every internal command by object.
* Code comments and cleanup, correct datatypes for key, vector, rotation, ↵Tedd Hansen2007-08-121-54/+22
| | | | (hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
* Script now compiles unsuccessfullyTedd Hansen2007-08-121-27/+133
| | | | | (unknown datatypes, no references)
* LSL ScriptEngine now only needs to inherit from BaseClass and we will be ↵Tedd Hansen2007-08-121-0/+2
| | | | MUCH closer to complete LSL support than we were yesterday.
* Initial LSL to C# converter, not working yet!Tedd Hansen2007-08-121-0/+156