aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/Executor.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-0/+2
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-0/+2
2010-01-11Whitespace cleanupMelanie1-2/+2
2010-01-11Adds llRotTarget and the events at_rot_target and not_at_rot_target.Revolution1-3/+4
Signed-off-by: Melanie <melanie@t-data.com>
2009-08-07Another stab at cmickeyb's patch for script GC.Melanie1-21/+1
Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
2009-08-07Revert the XEngine memleak patch, it causes premature GC.Melanie1-1/+21
This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
2009-08-06|From: James J Greensky <jame.j.greensky@intel.com>Melanie1-21/+1
|Date: Wed, 5 Aug 2009 09:51:52 -0700 |Subject: [PATCH] Closed two major memory leaks for scripted objects | |Two major memory leaks for the scripted objects were fixed |- One leak had to do with remoting acrossing app domains. When a script and | its controlling agent communicate across an application boundary, it calls | functions on a stub proxy object that then invokes the remote method on | the object in the other app domain. These stub objects (two for each script) | were setup to have infinate lifetimes and were never being garbage collected. |- The second leak was the result of adding a scene object part instance method | to a scene event and never removing it. This cause the event's delegate list | to maintain a link to that object which is then never freed as the scene event | object is never destroyed. Patch applied, please direct feedback to me. Possible issue: Longtime idle scripts like vendors may fail.
2009-06-10Formatting cleanup.Jeff Ames1-1/+1
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-18From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-2/+2
Fixes: [1] Sharing exception on remote OAR management [2] Occasional 505 error talking to Tomcat [3] Occasional mono aborts caused by mlog in the script engine's app domain (mono 2.4)
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-10/+13
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2008-11-27Test commit.. just contains div trace and other stuff.Tedd Hansen1-5/+2
2008-10-07Restore "friendly errors" to the XEngineMelanie Thielker1-7/+10
2008-10-06Mantis#2336. Thank you kindly, Ralphos for a patch that:Charles Krinke1-3/+8
Prevent EventAbortException inner exceptions of TargetInvocationException being re-thrown from OpenSim.Region.ScriptEngine.Shared.ScriptBase. Executor.ExecuteEvent
2008-10-05Update svn properties, minor formatting cleanup.Jeff Ames1-13/+13
2008-10-04Mantis#2316. Thank you kindly, CMickeyb for a patch that:Charles Krinke1-2/+14
Addresses llDie issues. The attached patch catches run time exceptions that occur during method invocation (of type TargetInvocationException) and exposes the internal exception. This makes it possible to pass out the SelfDeleteException. Also added handlers in a couple places to make sure that exception was being passed out far enough to be handled correctly. Tested on DNE.
2008-09-02fix: PostInitialise() not being called on script engines (nasty one that)Dr Scofield1-1/+1
cleanup: warnings, readability
2008-08-27Refactor Executor into the script app domain and IScript. This changesMelanie Thielker1-33/+90
an implicit reference into a proxied one and further reduces memory consumption of XEngine
2008-08-04Fix wrong bitmask value in script engine that would make a mess ofMelanie Thielker1-1/+1
the ObjectFlags. Good catch, gsky, thank you!
2008-06-24* Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, ↵lbsa711-7/+9
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-05-30* This is Melanie's XEngine script engine. I've not tested this real well, ↵Teravus Ovares1-39/+2
however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active.
2008-05-16Formatting cleanup.Jeff Ames1-1/+1
2008-05-01* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares1-4/+97
script to publish the events anymore. * Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+0
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-27/+26
2008-03-17From: Alan M Webb <awebb@vnet.ibm.com>Sean Dague1-0/+21
Here's a diff of the changes I have made in support of the following LSL script functions. llSetScriptState llGetScriptState llCSV2List llListRandomize llList2ListStrided llListFindList llResetOtherScript llGetScriptName It was necessary to modify ExecutorBase in support of the ScriptState implementations. I also modified SceneObjectPart and SceneObjectPart.Inventory to corrects a quoting mismatch in the commentary that through off live parsing of the files. I also simplified the State definition at the start of BuiltinCommands.
2008-03-04Added copyright heaaders. Minor cleanup.Jeff Ames1-2/+1
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-16Update svn properties.Jeff Ames1-108/+108
2008-02-16Forgot one small but important line .. ;)Tedd Hansen1-0/+1
2008-02-16Fixed ScriptEngine config in OpenSim.ini.example that was out of place.Tedd Hansen1-139/+107
Added some info to failure on GridServices listening port so people can see what actually went wrong. Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common. + some accumulated patches
2007-10-30* Optimized usingslbsa711-46/+42
* Shortened type references * Removed redundant 'this' qualifier
2007-10-15* Applied Chillken patch #418: copyright-r2094.patch updating copyright ↵lbsa711-0/+28
messages. Thanks Chillken!
2007-10-05Some more work on new ScriptEngine.Tedd Hansen1-1/+1
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-115/+115
will happen on the windows side now that eol-style is correct
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen1-13/+15
require script to be compiled with (slow) debug information.
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen1-2/+2
LSL-script.
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen1-37/+43
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
2007-08-25Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen1-19/+24
InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
2007-08-19Added "StopScriot()" to ScriptManager. Stops Executor from executing events ↵Tedd Hansen1-1/+17
in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
2007-08-19Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen1-7/+37
times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen1-1/+47
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
2007-08-18Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen1-0/+10
(no security yet). *phew* that only took me 12 hours of coding...