aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-25Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen1-19/+104
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-22Debug shows how many bytes (total) a script (assembly) uses after compile ↵Tedd Hansen1-4/+4
and load.
2007-08-22GC.GetTotalMemory(true) was blocking.Tedd Hansen1-4/+7
We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen1-74/+54
fired likewise. Bugfixes coming in next commit.
2007-08-20Some minor changes + krinkec's updates to ll* functions.Tedd Hansen1-1/+1
2007-08-19Added "StopScriot()" to ScriptManager. Stops Executor from executing events ↵Tedd Hansen1-33/+36
in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
2007-08-19Code comments on recent changes in EventQueueManagerTedd Hansen1-3/+3
2007-08-19Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen1-2/+12
times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
2007-08-19Moved script loading from ScriptManager to AppDomainManager. Now increases ↵Tedd Hansen1-28/+2
scripts loaded count in AppDomain properly.
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen1-66/+14
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-52/+58
(no security yet). *phew* that only took me 12 hours of coding...
2007-08-18Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ ↵Tedd Hansen1-2/+4
folder - hopefully solves compile problem on Linux.
2007-08-18Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen1-14/+11
2007-08-18Moved LSL_BuiltIn_Commands_Interface.cs to a separate library ↵Tedd Hansen1-5/+1
(OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs).
2007-08-18Started on AppDomains for ScriptEngine. Moved llFunctions in ↵Tedd Hansen1-11/+52
LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
2007-08-17Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen1-13/+11
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
2007-08-17Removed RAIL test from startup for now...Tedd Hansen1-1/+2
2007-08-17Added RAIL.dllTedd Hansen1-1/+1
Updated DotSets.dll and Mono.PEToolkit.dll Started on microthreading - currently display exception during startup
2007-08-16* Now sending manager, host and root host to Script in constructor.lbsa711-17/+43
* Changed how Script accesses World * Implemented llSay, llWhisper and llShout * Added SetText() to IScriptHost, implemented llText * Minor renamings to conform with code conventions
2007-08-16* Introduced IScriptHost as an interface to fetching object data from scripts.lbsa711-5/+10
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-14krinkec's updates to ll* interface and functionsTedd Hansen1-45/+67
2007-08-14Correct caps of Default.lsl for Linux. Thanks again krinkec. :)Tedd Hansen1-1/+1
2007-08-14llSay() works again. Cleanup of debug messages.Tedd Hansen1-2/+2
2007-08-14ScriptEngine: Some error handling, logs to loggerTedd Hansen1-9/+9
2007-08-13Common script for all objects (Default.lsl). ScriptEngine touch_start event ↵Tedd Hansen1-4/+4
now works, but llSay only outputs to server console.
2007-08-12ScriptEngine successfully compiles script, we are now even further than LSO was.Tedd Hansen1-7/+15
Also added C# script support.
2007-08-12ScriptManager now uses LSL-compiler.Tedd Hansen1-18/+20
LSL_BuiltIn_Commands_TestImplementation.cs no longer needs updating.
2007-08-12Code comments and cleanup, correct datatypes for key, vector, rotation, ↵Tedd Hansen1-1/+1
(hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
2007-08-10Renamed Compiler.LSL to Compiler.LSOTedd Hansen1-16/+16
2007-08-08Added ScriptEngine.DotNetEngineTedd Hansen1-0/+232