aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen8-40/+216
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 Hansen6-41/+166
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-23Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen4-11/+2
2007-08-23More lsl functions (thanks to ldviopeng and wjordan!)Brian McBee1-9/+40
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 Hansen4-12/+17
We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
2007-08-22Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen3-2/+8
empty objects crash.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen6-138/+160
fired likewise. Bugfixes coming in next commit.
2007-08-22A case of 'while I was working someone set me up the bomb'.lbsa711-1/+2
2007-08-22* Added stub OnRezScript handler with plentiful of commentslbsa711-0/+11
2007-08-20Some minor changes + krinkec's updates to ll* functions.Tedd Hansen3-11/+68
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 Hansen2-12/+48
2007-08-19Sped up EventQueueManager response time (scripts now respond quickly). Added ↵Tedd Hansen1-39/+117
support for multiple threads executing events on objects, but only one thread on one script at the time (to utilize MultiCore/hyperthreading CPU's).
2007-08-19Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen2-32/+33
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 Hansen2-33/+36
scripts loaded count in AppDomain properly.
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen6-136/+59
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
2007-08-18Added (theoretical) AppDomain cleanup code.Tedd Hansen1-17/+89
2007-08-18Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen3-53/+88
(no security yet). *phew* that only took me 12 hours of coding...
2007-08-18Script loads into separate AppDomain without errors. Events and llFunctions ↵Tedd Hansen3-4/+5
not working yet.
2007-08-18Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ ↵Tedd Hansen2-4/+7
folder - hopefully solves compile problem on Linux.
2007-08-18LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen5-192/+203
Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken.
2007-08-18Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen6-60/+29
2007-08-18Moved LSL_BuiltIn_Commands_Interface.cs to a separate library ↵Tedd Hansen7-642/+533
(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 Hansen9-457/+563
LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
2007-08-18llstrenglength (thanks ldvoipeng!)Brian McBee1-1/+13
2007-08-18lsl test cases, and llregioncorner (thanks Dalien!)Brian McBee1-1/+1
2007-08-17Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen6-22/+23
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 Hansen2-1/+3
2007-08-17Added RAIL.dllTedd Hansen2-1/+42
Updated DotSets.dll and Mono.PEToolkit.dll Started on microthreading - currently display exception during startup
2007-08-17krinkec's updates to ll* interface and functions.Tedd Hansen2-7/+14
2007-08-16* Now sending manager, host and root host to Script in constructor.lbsa717-49/+114
* 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.lbsa713-8/+31
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-15compile error removed :)Tedd Hansen1-8/+0
2007-08-15Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen4-436/+774
and double (instead of float).
2007-08-15* Applying ckrinke's LSL baseclass changes (Thanks!)Adam Frisby2-80/+114
2007-08-15* Fixed bug with llModPowAdam Frisby1-6/+6
* Implemented llSleep * Implemented llGetEnergy (always returns 1.0) * Implemented llGetRegionName * Implemented llGetRegionTimeDilation (always returns 1.0) * Implemented llGetRegionFPS (always returns 10.0)
2007-08-15* New LSL functionsAdam Frisby2-6/+17
+ llAsin / llAcos + llMD5String + llModPow + llGetUnixTime
2007-08-14Minor change to LSL_BaseClass adding pseudocode to World.SimChatTedd Hansen1-2/+13
2007-08-14krinkec's updates to ll* interface and functionsTedd Hansen5-218/+342
2007-08-14Correct caps of Default.lsl for Linux. Thanks again krinkec. :)Tedd Hansen1-1/+1
2007-08-14Removed some debugging. Removed *.lso from project include in prebuild.xml.Tedd Hansen2-3/+3
2007-08-14llSay() works again. Cleanup of debug messages.Tedd Hansen5-9/+9
2007-08-14ScriptEngine: Some error handling, logs to loggerTedd Hansen7-415/+32
2007-08-13Common script for all objects (Default.lsl). ScriptEngine touch_start event ↵Tedd Hansen7-17/+22
now works, but llSay only outputs to server console.
2007-08-13(DotNet) ScriptEngine is now loaded and added to Scene during startup.Tedd Hansen2-41/+1
2007-08-13krinkec's updates to ll* interface and functionsTedd Hansen2-242/+382
2007-08-12ScriptEngine successfully compiles script, we are now even further than LSO was.Tedd Hansen3-10/+35
Also added C# script support.
2007-08-12ScriptManager now uses LSL-compiler.Tedd Hansen2-19/+21
LSL_BuiltIn_Commands_TestImplementation.cs no longer needs updating.
2007-08-12LSL_BaseClass now receives scene during initTedd Hansen2-24/+6