aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares2008-04-301-241/+9
| | | | | | | 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.
* * For info about this commit, see last commit.Teravus Ovares2008-04-261-3/+16
|
* * Error on System. references with 'CS20003: 'System' is null or not an object"Teravus Ovares2008-04-261-0/+5
|
* * Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares2008-04-251-5/+5
|
* * Fixed an annoying pop-up box when crossing borders.Teravus Ovares2008-04-231-2/+2
|
* * Fixes lsl scripts with no state_entry event at allTeravus Ovares2008-04-231-1/+39
| | | | | * Fixes event reporting on states with no state_entry in lsl scripts.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-11/+11
| | | | (this took a while to run).
* * Fixed up event discovery regexes to work with a specific string format m#1012Teravus Ovares2008-04-201-2/+2
|
* * Updates LSL2CS converterTeravus Ovares2008-04-201-1/+199
| | | | | | | | | * All objects are not touchable by default now * When a script listens for one of the touch events in the state, an object becomes touchable. * All LSL scripts report which events they consume now ** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event. ** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
* Fixed LSL State support.Teravus Ovares2008-04-151-33/+43
| | | | | | | | * Re-applied Tedd's patch that got overwritten. * Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s]) * Added a state(string) method to BuiltIn_Commands_BaseClass
* Formatting cleanup.Jeff Ames2008-03-181-29/+26
|
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* The very beginnings of attachments (no detachments! :)Dalien Talbot2008-02-101-14/+7
|
* Bugfix to state command:Tedd Hansen2008-02-101-2/+6
| | | | | "state default;" rewrite to "state ("default");"
* Bugfix on that last Quaternion/Vector patchTedd Hansen2008-02-101-2/+2
|
* Untested bugfix in state supportTedd Hansen2008-02-101-4/+7
| | | | | | Replaced (?<s1>(?![a-zA-Z_]+)\s*)" + @"([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ with (?<s1>(?![a-zA-Z_]+)\s*)" + @"(state\s+)?([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ Lets see what happens now... :)
* Added support for function calls as values in LSL-specific <0,0,0> and ↵Tedd Hansen2008-02-101-2/+2
| | | | <0,0,0,0> Quaternion and Vector
* Fixed regex in LSL2CSConverter so it will properly handle casting to ↵alondria2008-02-061-2/+2
| | | | | | | (string) part of vector (eg. vector.z) This fixes Mantis 388
* 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