aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* **Big ass update warning**Adam Frisby2008-03-301-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.
* Fix a couple more warnings.Jeff Ames2008-03-251-5/+5
|
* Formatting cleanup.Jeff Ames2008-03-181-26/+25
|
* By now you all have learned that when I'm committing scripting usually ↵Tedd Hansen2008-02-241-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. :)
* Forgot to change what class compiled scripts must inherit from to get their ↵Tedd Hansen2008-02-241-3/+3
| | | | commands :)
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* * Made new Framework.Constants class, added RegionSize member.Adam Frisby2008-02-141-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.
* Thank you very much, Hashbox for :Charles Krinke2008-02-101-3/+3
| | | | | | | Add scene-debug command to Enable/Disable scripting, collision, and physics from console.
* * Dun-dun-dun. JavaScript scripting now actually works. :)Adam Frisby2008-02-081-3/+2
|
* Maybe VB.Net will compile now... who knows ;)Tedd Hansen2008-02-071-8/+8
|
* Same VB.Net patch done right.Tedd Hansen2008-02-071-4/+9
|
* VB.Net compiler might work on Windows now.Tedd Hansen2008-02-071-1/+1
|
* * Marking off which uses of catch (Exception e) is legit and which are not, ↵Adam Frisby2008-02-061-2/+2
| | | | for later removal/replacement.
* Converted logging to use log4net.Jeff Ames2008-02-051-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.
* * Replacing missing break statement from DotNetEngine/Compiler/LSL/Compiler.csAdam Frisby2008-02-041-0/+1
|
* * Added JavaScript support to OpenSim scripting. Totally Untested. Enjoy. :)Adam Frisby2008-02-041-2/+19
|
* Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen2008-02-031-1/+1
| | | | | | | working on 1 region. :) Using default warning level on C#/VB compile
* Re-enabled AllowedCompilers functionTedd Hansen2008-02-021-1/+1
| | | | | Added notice in OpenSim.ini that config refresh function is disabled
* Almost forgot to check in:Tedd Hansen2008-02-021-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 :))
* Note to self: Next time read debug-files on correct computer. It makes ↵Tedd Hansen2008-02-021-1/+1
| | | | bughunting SO much easier! *jeesh*
* Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen2008-02-021-9/+12
|
* Temporarily disabled AllowedCompilers so all 3 compilers are allowed.Tedd Hansen2008-02-021-8/+20
| | | | | Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
* Added header/footer of scripts to make C# and VB scripts much easier to write.Tedd Hansen2008-02-021-8/+46
| | | | | Added some logging on what is happening during compile.
* Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)Tedd Hansen2008-02-021-3/+3
|
* Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2008-02-021-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
* * Mother of all commits:Adam Frisby2008-01-151-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.
* Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen2008-01-121-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.
* Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen2007-12-301-0/+8
|
* * Optimized usingslbsa712007-12-271-2/+7
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen2007-11-011-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.
* * Optimized usingslbsa712007-10-301-20/+18
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* * Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa712007-10-151-0/+28
|
* fixing me some line endingsSean Dague2007-09-171-120/+120
|
* * fixed script compilationlbsa712007-09-141-113/+113
| | | | | | * reversed //c# - if * rightifyed what's actually converted
* If first 4 characters in script is "//C#" script will be treated as pure C# ↵Tedd Hansen2007-09-131-2/+9
| | | | instead of LSL/C# hybrid. This means no preprocessing before compile.
* remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague2007-09-131-113/+113
| | | | | | 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-3/+3
| | | | member names to smallcapsy.
* Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen2007-08-251-1/+1
| | | | through already disposed logger. Thanks ckrinke
* Script compiler should now show error on correct line number in original ↵Tedd Hansen2007-08-251-1/+2
| | | | LSL-script.
* Removal of script that was unable to compile no longer crashes server.Tedd Hansen2007-08-251-2/+5
| | | | | Displays script compile error messages in-world.
* Added class for "long commands" (command that returns as event) with ↵Tedd Hansen2007-08-251-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).
* Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen2007-08-231-1/+0
|
* Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen2007-08-221-1/+1
| | | | empty objects crash.
* (Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen2007-08-221-16/+28
| | | | fired likewise. Bugfixes coming in next commit.
* Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen2007-08-181-1/+1
| | | | | | | (no security yet). *phew* that only took me 12 hours of coding...
* Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ ↵Tedd Hansen2007-08-181-2/+3
| | | | folder - hopefully solves compile problem on Linux.
* LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen2007-08-181-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.
* Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen2007-08-181-4/+7
|
* Removed RAIL test from startup for now...Tedd Hansen2007-08-171-0/+1
|
* Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen2007-08-151-0/+7
| | | | and double (instead of float).