aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add constants wrapping code from XEngine to DNE. This syncs up the parsersMelanie Thielker2008-09-231-364/+0
| | | | | | | between the engines again. Also, committed r60 in opensim libs with the parser source changes.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-1/+1
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-211-1/+1
| | | | | | | | | | | I found a problem trying to get s value directly from a quaternion q. Compiling a script which directly access to q.s value, caused the following error: CS0103: 'The . symbol cannot be used in LSL except in float values or vector components'. Detected around: q.s I did a small change to allow alphabetic letter "s" to be interpretated as valid identifier. This solves the problem.
* Mantis#1753. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-07-161-0/+2
| | | | | | Brings Yield Prolog up to date with sourceforge version 0.9.10 Patched applies to both DotNet and XEngine.
* Mantis#1451. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-051-1/+1
| | | | | | | | | | | | | LSL scripts in which a float type is cast to a string or a string type is cast to a float do not compile. When the script is translated from LSL to C#, the LSL float type is translated into double. There is no string <-> double cast in C#, so compilation fails. There is a LSLFloat type, however it seems unfinished and is not used. I am attaching a patch that implements the LSLFloat type. I have also added two methods to the LSLString type to facilitate float <-> string casts.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-301-4/+4
|
* * Fix string literal with URL + LLcommand();Teravus Ovares2008-05-291-5/+5
| | | | | | * Added 'detected around: value' when a x.Y detect occurs to help debug. * Fixed object text is too long to store to the database (wikilith)
* * Resolves comment removal in string literals in the LSL2CSConverterTeravus Ovares2008-05-281-17/+19
|
* another take on the whole string cleansing, by adding specific poisonSean Dague2008-05-271-2/+5
| | | | | | keywords in foo.bar strings. Add items to the poison array to block them.
* * Revert last commit as it opens sim owners up to all sorts of nasty ↵Teravus Ovares2008-05-271-3/+3
| | | | | | | | scripts. * If the regex that we're using isn't good enough, we really need to make it better.
* comment out the x.y security check in the script engine because it's so ↵Sean Dague2008-05-271-3/+6
| | | | | | | | aggressive it blocks string = "http://osgrid.org", amoung other things.
* Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames2008-05-181-12/+3
| | | | types and null.
* * whoops, misplaced / where should have been \Teravus Ovares2008-05-171-1/+1
|
* * Update on the script engine LSL parser. Blocks all static objects and ↵Teravus Ovares2008-05-171-8/+50
| | | | method references.
* Formatting cleanup.Jeff Ames2008-05-161-23/+4
|
* * Tweaked a regex that was returning invalid results in some cases.Teravus Ovares2008-05-131-1/+1
|
* Thank you, Middelink for a patch that fixes the regular expresionCharles Krinke2008-05-071-2/+2
| | | | | | missing the numbers after the initial letter of the identifier.
* 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
|