aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change the IScriptApi back to it's original form, removing XEngineMelanie Thielker2015-08-171-0/+2
| | | | | specific additions that should not have been there in the first place. Sleeping and time measurement are now completely internal to XEngine
* If ScriptStopStrategy hasn't been set to co-op in [XEngine] config, then ↵Justin Clark-Casey (justincc)2013-01-231-0/+8
| | | | | | | | | continue to generate C# that is functionality identical to historical generation This is to eliminate disruption until co-op termination has been well-tested. In non co-op mode, XEngine will continue to load DLLs of the existing Script class and the new XEngineScript class. Moving to co-op mode still requires existing script DLL deletion to force recompilation, either manually or by setting DeleteScriptsOnStartup = true for one run. This change also means that scripts which fail to initialize do not still show up as running scripts.
* Implement non-wait co-operative termination of scripts for XEngine in ↵Justin Clark-Casey (justincc)2013-01-171-5/+30
| | | | | | | | | | | | | addition to termination on wait. This involves inserting opensim_reserved_CheckForCoopTermination() calls in lsl -> c# translation at any place where the script could be in a loop with no wait calls. These places are for, while, do-while, label, user function call and manual event function call. Call goes through to an XEngineScriptBase which extends ScriptBase. IEngine is extended to supply necessary engine-specific parent class references and constructor parameters to Compiler. Unfortunately, since XEngineScriptBase has to be passed WaitHandle in its constructor, older compiled scripts will fail to load with an error on the OpenSim console. Such scripts will need to be recompiled, either by removing all *.dll files from the bin/ScriptEngines/<region-id> or by setting DeleteScriptsOnStartup = true in [XEngine] for one run. Automatic recompilation may be implemented in a later commit. This feature should not yet be used, default remains termination with Thread.Abort() which will work as normal once scripts are recompiled.
* Register the UrlModule for script engine events OnScriptRemoved and ↵Justin Clark-Casey (justincc)2012-01-141-7/+0
| | | | | | | | | OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script. Doing this in every script is unnecessary since the event trigger is parameterized by the item id. All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException. Registration moved to UrlModule so that the handler is registered for all script engine implementations. This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
* Add configurable path to script engine assembliesBlueWall2010-09-261-0/+1
| | | | | | | | | 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>
* Revert "Remove an insterface member that was never used"Melanie2009-12-221-0/+1
| | | | | | | It was used. By the API, which is dynamically loaded. So it didn't complain until it hit Bamboo This reverts commit 33d5018e94e52cb875bf43bced623bdc6aa41ef0.
* Remove an insterface member that was never usedMelanie2009-12-221-1/+0
|
* Correct an error where the config file name was always considered to be aMelanie Thielker2009-06-061-0/+1
| | | | | | | local file. This caused llHttpRequest and llSetInventoryPermsMask to fail on regions that load their config from a web server
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Introduce IXmlRpcRouter, an interface that allows registering XMLRPCMelanie Thielker2009-04-101-0/+3
| | | | | | | UUIDs with a central marshaller for grids, or publish the ULS for objects elsewhere.
* Add events to IScriptEngine to notify scripting modules of the removalMelanie Thielker2009-04-101-0/+7
| | | | | | | | | 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.
* Refactor log4net logger handling in script engine. (#3148)Jeff Ames2009-02-221-1/+0
|
* 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!
* An initial implementation of llMinEventDelay in XEngine.idb2008-12-211-0/+1
| | | | | | Not implemented yet in DotNetEngine. Fixes Mantis #2830
* Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker2008-11-081-3/+0
| | | | | | No user functionality yet
* Refactor IEventReceiver back into IScriptEngineMelanie Thielker2008-11-081-1/+30
|
* Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)Melanie Thielker2008-10-031-2/+0
| | | | | | | Causes the dataserver event to return "OpenSim" when running on OpenSim. Requires ThreatLevel to be "High" or above to function.
* Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker2008-09-261-4/+0
| | | | | | | | | The binaries are still different, but that is only a small step away now. The OSSLPrim has been removed. This commit will breal all scripts using Prim.Scale(), etc, syntax. It was not secure and will have to be brought back in another form.
* Some script engine interface changesMelanie Thielker2008-09-251-6/+0
|
* CONVERGENCE!!!!!!Melanie Thielker2008-09-251-3/+0
| | | | | | | | The entire LSL API is now in the single, shared file OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs This is for both engines. The OSSL function are still separate.
* Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker2008-09-241-1/+0
| | | | | | | LSL implementation files. Rename lots of stuff in XEngine for the same reason. Move methods between interfaces. Just refactor stuff.
* Decouple AsyncCommands from XEngine and the script instance. MakeMelanie Thielker2008-09-241-1/+0
| | | | | | | | all methods needed outside the API ststic. Async command processing is now wholly internal to the API. This sets the stage for the next convergence step.
* Alter tests to match up with the results after tyre's patchMelanie Thielker2008-09-231-11/+1
|
* * minor: method documentationJustin Clarke Casey2008-09-161-5/+17
|
* Provide a GetApi method on the IScriptEngine to get a named API referenceMelanie Thielker2008-09-131-0/+1
| | | | | | | This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-9/+9
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,Melanie Thielker2008-08-281-1/+1
| | | | | | | | | which is a thin wrapper around a IWorkItemResult from the SmartThreadPool. However, it is very easy to reimplement on top of basic threading and therefore makes the IScriptInstance class independent of the specific threading implementation.
* Thank you, salahazar, for a patch that corrects the behavior ofMelanie Thielker2008-08-271-1/+0
| | | | | | | llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
* Refactor XScriptInstance to IScriptInstance and move into Shared/. NowMelanie Thielker2008-08-271-0/+3
| | | | | | | | engines that want to use the XEngine's instance handling and state persistence can do so. IScriptInstance is optional, but it does require the SmartThreadPool if it is used.
* Mantis#1648. Thank you, Melanie for a patch that:Charles Krinke2008-07-021-0/+1
| | | | | Fix a script Xengine deadlock/hang if llResetScript is used in changed()
* From: kurt taylor (krtaylor)Dr Scofield2008-07-011-0/+1
| | | | | | | | Another new OSSL function for returning the name of the script engine currently running, osGetScriptEngineName, added to both DotNet and XEngine OSSL API.
* Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke2008-06-281-0/+1
| | | | | not break trunk.
* * Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, ↵lbsa712008-06-241-0/+59
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!