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