aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dump OpenSim 0.9.0.1 into it's own branch.onefang2019-05-191-106/+124
|
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-031-162/+152
|
* Add a reference to OpenMetaverseType.dll to compiled script assemblies.Melanie2012-08-181-0/+2
|
* Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)2012-07-111-5/+3
| | | | | | | constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
* Adds a new script command 'modInvoke' to invoke registered functionsMic Bowman2012-03-151-1/+4
| | | | | | | | | from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...)
* Add a regression test to compile and start a script. Remove ↵Justin Clark-Casey (justincc)2012-02-071-3/+7
| | | | | | | | Path.GetDirectoryName when getting assembly loading path in Compiler.CompileFromDotNetText(). The Path.GetDirectoryName call in Compiler.CompileFromDotNetText is unnecessary since AppDomain.CurrentDomain.BaseDirectory is always a directory. Later path concatenation is already done by Path.Combine() which handles any trailing slash. Removing Path.GetDirectoryName() will not affect the runtime but allows NUnit to work since it doesn't add a trailing slash to AppDomain.CurrentDomain.BaseDirectory.
* Optionally, don't delete previously compiled scripts on startupOren Hurvitz2011-06-241-5/+14
|
* Add configurable path to script engine assembliesBlueWall2010-09-261-2/+3
| | | | | | | | | Adding ability to place script engine assemblies outside the codebase directories. Uses new [XEngine] option: ScriptEnginesPath = "path_to_assemblies" Signed-off-by: Melanie <melanie@t-data.com>
* 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
|