aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-09-23Added delay loop to give a newly created assembly time to appear. OnAlan M Webb1-32/+71
Linux (as an example), it is possible for the existence check to fail because the file is not yet recognized by the file system. Although the loop has a 250mS delay, in practise, the existence test in the for loop is successful and no delay is introduced. Next, this takes care of the two, unpredictable, situations where a script fails to compile. The first is caused by an occasional SEGV in the underlying mono VM while mcs is running, the second is caused by file system latency. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-31Change the return value if the compiler to "object" to allow compilersMelanie1-2/+2
to return dynamic method objects
2009-06-21Publish a method on ICompiler to generate the CIL assembly pathMelanie Thielker1-0/+7
Cause group deeding to apply next owner perms
2009-06-10Formatting cleanup.Jeff Ames1-1/+1
2009-06-09Formatting cleanup. Ignore some generated files.Jeff Ames1-7/+7
2009-06-05Thank you, thomax, for a patch to provide finer-grained access control toMelanie Thielker1-1/+9
scripting. Fixes Mantis #2862
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-04-10Add events to IScriptEngine to notify scripting modules of the removalMelanie Thielker1-2/+5
of objects from the scene, and of scripts from objects. This facilitates the development of modules that can register prims with externall servers for inbound email and XMLRPC. Currently implemented in XEngine only. Also applying cmickeyb's compiler locking patch, since it seems risk-free.
2009-04-02Fix a nullref when compiling non-LSL scriptsMelanie Thielker1-5/+8
2009-03-27* minor: remove one mono compiler warningJustin Clarke Casey1-1/+1
2009-03-26Read the .map files in on sim startup. Also clean them up when an assemblyMelanie Thielker1-1/+29
is deleted.
2009-03-26Avoid preprocessing scripts on region restart just to generate the lineMelanie Thielker1-11/+23
number map. Instead, write the map to a file for later use. That is not yet used, so currently runtime errors after a sim restart will have wrong line numbers
2009-03-24Thank you, dslake, for a patch that speeds up the Delete Old Files optionMelanie Thielker1-13/+19
in the compiler. Committed with changes. Fixes Mantis #3325
2009-03-11* Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey1-2/+1
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-02-25* minor: Remove most mono compiler warningsJustin Clarke Casey1-1/+1
2009-02-25Fixes Mantis #3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke1-0/+1
Deals with the multiple warning side affect introduced earlier.
2009-02-23Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames1-1/+1
2009-02-23Mantis#3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke1-0/+21
Adds a warning for an LSL construct that exploits a popular list memory saving hack.
2009-02-22Refactor log4net logger handling in script engine. (#3148)Jeff Ames1-23/+21
2009-02-18Fix the windows sharing violations on script crossingsMelanie Thielker1-1/+43
2009-02-16cleanupDr Scofield1-6/+0
2009-02-16From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>Dr Scofield1-8/+17
This changeset fixes a rather nasty script compile bug that manifests itself under heavy load.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-1/+1
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-12-03Remove a line of debug info in XEngine that i missedMelanie Thielker1-1/+1
2008-12-02Remove some of the XEngine chattinessMelanie Thielker1-3/+3
2008-11-29Start scripts in attachments only after a successful attach. ElimininateMelanie Thielker1-0/+12
a gratuitious asset fetch when region crossing.
2008-11-12* Set defaults on the allowed LSL Compilers to 'lsl' unless you've specified ↵Teravus Ovares1-1/+1
otherwise.
2008-11-08Refactor IEventReceiver back into IScriptEngineMelanie Thielker1-2/+2
2008-09-27Add friendly error messages to both engines.Melanie Thielker1-73/+152
2008-09-26Mantis #2277Melanie Thielker1-1/+0
Patch up a type name change in libomv. Thanks for tracking that down, idb
2008-09-26Compiler Connection! One world, one compiler!Melanie Thielker1-2/+2
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker1-30/+13
ordinary region modules and are able to coexist in one instance. See http://opensimulator.org/wiki/ScriptEngines for details. There were changes to OpenSim.ini.example, please note DefaultScriptEngine. Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-15* minor: recomment the console c# script printout I accidentally left in on ↵Justin Clarke Casey1-1/+1
the last ocmmit
2008-09-15* minor: eat up some yummy warningsJustin Clarke Casey1-1/+2
2008-08-29Maintis #2078Melanie Thielker1-3/+10
Thank you, ralphos, for a patch that corrects the handling of compiler warnings in the XEngine, which were erronoeously reported as errors!
2008-08-18Formatting cleanup.Jeff Ames1-2/+0
2008-07-28Reinstate the configuration option on XEngine's use of the lexicalMelanie Thielker1-5/+1
compiler. Changes the default in OpenSim.ini.example to "true" to allow for a broader user base for testing.
2008-07-27Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues ↵Mike Mazur1-2/+6
1651, 1339.
2008-07-27Log to console if C# line/column lookup fails.Mike Mazur1-1/+2
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames1-1/+1
2008-07-23Enable LSL <-> C# source location mapping when reporing compiler errors to ↵Mike Mazur1-3/+28
the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
2008-07-16Mantis#1753. Thank you kindly, Kinoc for a patch that:Charles Krinke1-0/+1
Brings Yield Prolog up to date with sourceforge version 0.9.10 Patched applies to both DotNet and XEngine.
2008-07-12Patch #9142 (No mantis)Melanie Thielker1-4/+8
Add a config option to OpenSim.ini to select between script compilers in the XEngine without recompile. Set UseNewCompiler=true in OpenSim.ini and try it out. Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-08another patch from Mike: the llscript compiler is now available in XEngine ↵Johan Berntsson1-0/+3
as well. Thanks Mike
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield1-6/+6
2008-06-26Mantis#1602. Thank you, Kinoc for a patch to:Charles Krinke1-3/+47
Patch to activate YieldProlog on Xengine. Only adds YieldProlog to assembly if required.
2008-06-24* Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, ↵lbsa711-35/+35
api and compiler out of XEngine" "First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done." Thank you, Melanie!
2008-06-07Patch for mantis#1493: Several patches to xengine. Thanks Melanie!Adam Johnson1-3/+8
2008-06-04Formatting cleanup, minor refactoring, svn properties.Jeff Ames1-24/+19
2008-05-30* This is Melanie's XEngine script engine. I've not tested this real well, ↵Teravus Ovares1-24/+71
however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active.