aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge MasterMelanie2010-09-261-2/+3
|
* Comment and remove JScript support. Mono 2.7Dev and 2.8 no longer include theMelanie2010-06-011-19/+19
| | | | needed libraries
* Compiler.cs contained method GetCompilerOutput which, apparently,unknown2010-04-281-4/+7
| | | | | | | was not used, but exactly the same path was calculated inline. This patch does some minor refactoring by replacing inline path calculation with GetCompilerOutput. This doesn't actually affect anything, just minor prettifying of the code
* FINALLY! Script compile errors now appear in the script error pane,Melanie2009-12-221-1/+1
| | | | not in a funky debug window.
* * Misc. formatting cleanup for the previous patchJohn Hurliman2009-10-291-25/+26
| | | | * Added the new AppDomainLoading variable to the [XEngine] section in the example config
* OptimizationsDan Lake2009-10-291-84/+72
|
* Add copyright header. Formatting cleanup.Jeff Ames2009-09-291-28/+22
|
* Added delay loop to give a newly created assembly time to appear. OnAlan M Webb2009-09-231-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>
* Change the return value if the compiler to "object" to allow compilersMelanie2009-08-311-2/+2
| | | | to return dynamic method objects
* Publish a method on ICompiler to generate the CIL assembly pathMelanie Thielker2009-06-211-0/+7
| | | | | | Cause group deeding to apply next owner perms
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* Formatting cleanup. Ignore some generated files.Jeff Ames2009-06-091-7/+7
|
* Thank you, thomax, for a patch to provide finer-grained access control toMelanie Thielker2009-06-051-1/+9
| | | | | | | scripting. Fixes Mantis #2862
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Add events to IScriptEngine to notify scripting modules of the removalMelanie Thielker2009-04-101-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.
* Fix a nullref when compiling non-LSL scriptsMelanie Thielker2009-04-021-5/+8
|
* * minor: remove one mono compiler warningJustin Clarke Casey2009-03-271-1/+1
|
* Read the .map files in on sim startup. Also clean them up when an assemblyMelanie Thielker2009-03-261-1/+29
| | | | | | is deleted.
* Avoid preprocessing scripts on region restart just to generate the lineMelanie Thielker2009-03-261-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
* Thank you, dslake, for a patch that speeds up the Delete Old Files optionMelanie Thielker2009-03-241-13/+19
| | | | | | | in the compiler. Committed with changes. Fixes Mantis #3325
* * Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey2009-03-111-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)
* * minor: Remove most mono compiler warningsJustin Clarke Casey2009-02-251-1/+1
|
* Fixes Mantis #3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke2009-02-251-0/+1
| | | | | Deals with the multiple warning side affect introduced earlier.
* Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames2009-02-231-1/+1
|
* Mantis#3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke2009-02-231-0/+21
| | | | | | | Adds a warning for an LSL construct that exploits a popular list memory saving hack.
* Refactor log4net logger handling in script engine. (#3148)Jeff Ames2009-02-221-23/+21
|
* Fix the windows sharing violations on script crossingsMelanie Thielker2009-02-181-1/+43
|
* cleanupDr Scofield2009-02-161-6/+0
|
* From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>Dr Scofield2009-02-161-8/+17
| | | | | | | This changeset fixes a rather nasty script compile bug that manifests itself under heavy load.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-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!
* Remove a line of debug info in XEngine that i missedMelanie Thielker2008-12-031-1/+1
|
* Remove some of the XEngine chattinessMelanie Thielker2008-12-021-3/+3
|
* Start scripts in attachments only after a successful attach. ElimininateMelanie Thielker2008-11-291-0/+12
| | | | | | a gratuitious asset fetch when region crossing.
* * Set defaults on the allowed LSL Compilers to 'lsl' unless you've specified ↵Teravus Ovares2008-11-121-1/+1
| | | | otherwise.
* Refactor IEventReceiver back into IScriptEngineMelanie Thielker2008-11-081-2/+2
|
* Add friendly error messages to both engines.Melanie Thielker2008-09-271-73/+152
|
* Mantis #2277Melanie Thielker2008-09-261-1/+0
| | | | | | Patch up a type name change in libomv. Thanks for tracking that down, idb
* Compiler Connection! One world, one compiler!Melanie Thielker2008-09-261-2/+2
|
* Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker2008-09-211-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.
* * minor: recomment the console c# script printout I accidentally left in on ↵Justin Clarke Casey2008-09-151-1/+1
| | | | the last ocmmit
* * minor: eat up some yummy warningsJustin Clarke Casey2008-09-151-1/+2
|
* Maintis #2078Melanie Thielker2008-08-291-3/+10
| | | | | | | | Thank you, ralphos, for a patch that corrects the handling of compiler warnings in the XEngine, which were erronoeously reported as errors!
* Formatting cleanup.Jeff Ames2008-08-181-2/+0
|
* Reinstate the configuration option on XEngine's use of the lexicalMelanie Thielker2008-07-281-5/+1
| | | | | | | compiler. Changes the default in OpenSim.ini.example to "true" to allow for a broader user base for testing.
* Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues ↵Mike Mazur2008-07-271-2/+6
| | | | 1651, 1339.
* Log to console if C# line/column lookup fails.Mike Mazur2008-07-271-1/+2
|
* Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames2008-07-231-1/+1
|
* Enable LSL <-> C# source location mapping when reporing compiler errors to ↵Mike Mazur2008-07-231-3/+28
| | | | the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
* Mantis#1753. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-07-161-0/+1
| | | | | | Brings Yield Prolog up to date with sourceforge version 0.9.10 Patched applies to both DotNet and XEngine.
* Patch #9142 (No mantis)Melanie Thielker2008-07-121-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.