aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Hansen1-8/+20
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-15* Mother of all commits:Adam Frisby1-1/+1
* 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-2/+2
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.
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen1-0/+8
2007-12-27* Optimized usingslbsa711-2/+7
* shortened references * Removed redundant 'this' * Normalized EOF
2007-11-01ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen1-1/+2
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-20/+18
* 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-17fixing me some line endingsSean Dague1-120/+120
2007-09-14* fixed script compilationlbsa711-113/+113
* reversed //c# - if * rightifyed what's actually converted
2007-09-13If first 4 characters in script is "//C#" script will be treated as pure C# ↵Tedd Hansen1-2/+9
instead of LSL/C# hybrid. This means no preprocessing before compile.
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-113/+113
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-3/+3
member names to smallcapsy.
2007-08-25Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen1-1/+1
through already disposed logger. Thanks ckrinke
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen1-1/+2
LSL-script.
2007-08-25Removal of script that was unable to compile no longer crashes server.Tedd Hansen1-2/+5
Displays script compile error messages in-world.
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen1-0/+8
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
2007-08-23Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen1-1/+0
2007-08-22Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen1-1/+1
empty objects crash.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen1-16/+28
fired likewise. Bugfixes coming in next commit.
2007-08-18Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen1-1/+1
(no security yet). *phew* that only took me 12 hours of coding...
2007-08-18Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ ↵Tedd Hansen1-2/+3
folder - hopefully solves compile problem on Linux.
2007-08-18LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen1-6/+11
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-4/+7
2007-08-17Removed RAIL test from startup for now...Tedd Hansen1-0/+1
2007-08-15Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen1-0/+7
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-1/+18
Also added C# script support.
2007-08-12LSL BuiltIn implementation is now in Compiler\LSL\LSL_BaseClass. So users ↵Tedd Hansen1-2/+8
won't have to reference every internal command by object.
2007-08-12Code comments and cleanup, correct datatypes for key, vector, rotation, ↵Tedd Hansen1-2/+7
(hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
2007-08-12Script now compiles unsuccessfullyTedd Hansen1-3/+3
(unknown datatypes, no references)
2007-08-12LSL ScriptEngine now only needs to inherit from BaseClass and we will be ↵Tedd Hansen1-0/+45
MUCH closer to complete LSL support than we were yesterday.