aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-17* Update on the script engine LSL parser. Blocks all static objects and ↵Teravus Ovares1-8/+50
method references.
2008-05-16Formatting cleanup.Jeff Ames2-29/+10
2008-05-13* Tweaked a regex that was returning invalid results in some cases.Teravus Ovares1-1/+1
2008-05-07* Change LSL -> C# translated script console output to use the logger (at ↵Justin Clarke Casey1-4/+7
DEBUG level) rather than Console.Writeline
2008-05-07Thank you, Middelink for a patch that fixes the regular expresionCharles Krinke1-2/+2
missing the numbers after the initial letter of the identifier.
2008-05-01* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares2-489/+1
script to publish the events anymore. * Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-04-30Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares3-241/+499
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-26* For info about this commit, see last commit.Teravus Ovares1-3/+16
2008-04-26* Error on System. references with 'CS20003: 'System' is null or not an object"Teravus Ovares1-0/+5
2008-04-25* Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares1-5/+5
2008-04-23* Fixed an annoying pop-up box when crossing borders.Teravus Ovares1-2/+2
2008-04-23* Fixes lsl scripts with no state_entry event at allTeravus Ovares1-1/+39
* Fixes event reporting on states with no state_entry in lsl scripts.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby2-16/+16
(this took a while to run).
2008-04-20Removed some script engine noise from consoleTedd Hansen1-3/+3
2008-04-20* Fixed up event discovery regexes to work with a specific string format m#1012Teravus Ovares1-2/+2
2008-04-20* Updates LSL2CS converterTeravus Ovares1-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.
2008-04-15Fixed LSL State support.Teravus Ovares1-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
2008-03-30**Big ass update warning**Adam Frisby1-0/+23
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-25Fix a couple more warnings.Jeff Ames1-5/+5
2008-03-18Formatting cleanup.Jeff Ames2-55/+51
2008-02-24By now you all have learned that when I'm committing scripting usually ↵Tedd Hansen1-3/+3
doesn't work, so no big surprise. :) Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
2008-02-24Forgot to change what class compiled scripts must inherit from to get their ↵Tedd Hansen1-3/+3
commands :)
2008-02-20Minor cleanup.Jeff Ames2-2/+2
2008-02-14* Made new Framework.Constants class, added RegionSize member.Adam Frisby1-23/+41
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-10The very beginnings of attachments (no detachments! :)Dalien Talbot1-14/+7
2008-02-10Bugfix to state command:Tedd Hansen1-2/+6
"state default;" rewrite to "state ("default");"
2008-02-10Bugfix on that last Quaternion/Vector patchTedd Hansen1-2/+2
2008-02-10Untested bugfix in state supportTedd Hansen1-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... :)
2008-02-10Added support for function calls as values in LSL-specific <0,0,0> and ↵Tedd Hansen1-2/+2
<0,0,0,0> Quaternion and Vector
2008-02-10Thank you very much, Hashbox for :Charles Krinke1-3/+3
Add scene-debug command to Enable/Disable scripting, collision, and physics from console.
2008-02-08* Dun-dun-dun. JavaScript scripting now actually works. :)Adam Frisby1-3/+2
2008-02-07Maybe VB.Net will compile now... who knows ;)Tedd Hansen1-8/+8
2008-02-07Same VB.Net patch done right.Tedd Hansen1-4/+9
2008-02-07VB.Net compiler might work on Windows now.Tedd Hansen1-1/+1
2008-02-06* Marking off which uses of catch (Exception e) is legit and which are not, ↵Adam Frisby1-2/+2
for later removal/replacement.
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-05Converted logging to use log4net.Jeff Ames1-17/+16
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-04* Replacing missing break statement from DotNetEngine/Compiler/LSL/Compiler.csAdam Frisby1-0/+1
2008-02-04* Added JavaScript support to OpenSim scripting. Totally Untested. Enjoy. :)Adam Frisby1-2/+19
2008-02-03Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen1-1/+1
working on 1 region. :) Using default warning level on C#/VB compile
2008-02-02Re-enabled AllowedCompilers functionTedd Hansen1-1/+1
Added notice in OpenSim.ini that config refresh function is disabled
2008-02-02Almost forgot to check in:Tedd Hansen1-1/+1
OpenSim.32BitLaunch.exe is a 32-bit application that loads OpenSim.exe using .Net framework, hence it is JIT-compiled to 32-bit. Use this app to start OpenSim on 64-bit systems (works great on Vista 64 :))
2008-02-02Note to self: Next time read debug-files on correct computer. It makes ↵Tedd Hansen1-1/+1
bughunting SO much easier! *jeesh*
2008-02-02Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen1-9/+12
2008-02-02Temporarily disabled AllowedCompilers so all 3 compilers are allowed.Tedd Hansen2-37/+31
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
2008-02-02Added header/footer of scripts to make C# and VB scripts much easier to write.Tedd Hansen1-8/+46
Added some logging on what is happening during compile.
2008-02-02Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)Tedd Hansen1-3/+3
2008-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen1-33/+222
OpenSim in 32-bit mode. Added VISUAL BASIC.NET-support //cs, //lsl and //vb as first characters of script will determine what compiler is used. Compile warnings are no longer treated as errors. Script will still run. Added a few useless and useful config options: Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup Loads of warnings for incorrect config
2008-01-22Giving Mantis #388 a shotTedd Hansen1-2/+3
2008-01-15* Mother of all commits:Adam Frisby2-19/+20
* 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.