aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Removal of script that was unable to compile no longer crashes server.Tedd Hansen2007-08-253-14/+45
| | | | | Displays script compile error messages in-world.
* Test to see if this change improves or makes worse the texture sending bugMW2007-08-251-0/+2
|
* testing Tedds temporary CIA-standinTedd Hansen2007-08-251-1/+0
|
* testing Tedds temporary CIA-standinTedd Hansen2007-08-251-0/+1
|
* Added class for "long commands" (command that returns as event) with ↵Tedd Hansen2007-08-259-77/+259
| | | | 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-257-60/+190
| | | | 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.
* Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen2007-08-234-11/+2
|
* More lsl functions (thanks to ldviopeng and wjordan!)Brian McBee2007-08-231-9/+40
|
* 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-224-12/+17
| | | | | We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
* Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen2007-08-223-2/+8
| | | | empty objects crash.
* (Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen2007-08-226-138/+160
| | | | fired likewise. Bugfixes coming in next commit.
* A case of 'while I was working someone set me up the bomb'.lbsa712007-08-221-1/+2
|
* * Added stub OnRezScript handler with plentiful of commentslbsa712007-08-221-0/+11
|
* Some minor changes + krinkec's updates to ll* functions.Tedd Hansen2007-08-203-11/+68
|
* Added "StopScriot()" to ScriptManager. Stops Executor from executing events ↵Tedd Hansen2007-08-192-34/+53
| | | | 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-192-12/+48
|
* Sped up EventQueueManager response time (scripts now respond quickly). Added ↵Tedd Hansen2007-08-191-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).
* Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen2007-08-193-39/+70
| | | | 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-192-33/+36
| | | | scripts loaded count in AppDomain properly.
* Did I forget to add IScript.cs? Yes I did...Tedd Hansen2007-08-181-0/+12
|
* Moved in-AppDomain event execution from Script to ↵Tedd Hansen2007-08-188-137/+107
| | | | OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
* Added (theoretical) AppDomain cleanup code.Tedd Hansen2007-08-181-17/+89
|
* Scripts are working again. Scripts are now loaded into limited AppDomains ↵Tedd Hansen2007-08-184-53/+98
| | | | | | | (no security yet). *phew* that only took me 12 hours of coding...
* Script loads into separate AppDomain without errors. Events and llFunctions ↵Tedd Hansen2007-08-183-4/+5
| | | | not working yet.
* Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ ↵Tedd Hansen2007-08-182-4/+7
| | | | folder - hopefully solves compile problem on Linux.
* LSL Compiler now only referring required assemblies (DotNetEngine and ↵Tedd Hansen2007-08-187-277/+341
| | | | 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.
* Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen2007-08-188-60/+64
|
* Moved LSL_BuiltIn_Commands_Interface.cs to a separate library ↵Tedd Hansen2007-08-187-14/+534
| | | | (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-189-457/+563
| | | | LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
* llstrenglength (thanks ldvoipeng!)Brian McBee2007-08-181-1/+13
|
* lsl test cases, and llregioncorner (thanks Dalien!)Brian McBee2007-08-181-1/+1
|
* Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen2007-08-176-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.
* Removed RAIL test from startup for now...Tedd Hansen2007-08-172-1/+3
|
* Added RAIL.dllTedd Hansen2007-08-172-1/+42
| | | | | | Updated DotSets.dll and Mono.PEToolkit.dll Started on microthreading - currently display exception during startup
* krinkec's updates to ll* interface and functions.Tedd Hansen2007-08-172-7/+14
|
* * Now sending manager, host and root host to Script in constructor.lbsa712007-08-167-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
* * Introduced IScriptHost as an interface to fetching object data from scripts.lbsa712007-08-163-8/+31
| | | | | | * This meant introducing AbsolutePosition on all objects (since SimChat wants that)
* compile error removed :)Tedd Hansen2007-08-151-8/+0
|
* Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) ↵Tedd Hansen2007-08-154-436/+774
| | | | and double (instead of float).
* * Applying ckrinke's LSL baseclass changes (Thanks!)Adam Frisby2007-08-152-80/+114
|
* * Fixed bug with llModPowAdam Frisby2007-08-151-6/+6
| | | | | | | | | * Implemented llSleep * Implemented llGetEnergy (always returns 1.0) * Implemented llGetRegionName * Implemented llGetRegionTimeDilation (always returns 1.0) * Implemented llGetRegionFPS (always returns 10.0)
* * New LSL functionsAdam Frisby2007-08-152-6/+17
| | | | | | | | + llAsin / llAcos + llMD5String + llModPow + llGetUnixTime
* Minor change to LSL_BaseClass adding pseudocode to World.SimChatTedd Hansen2007-08-141-2/+13
|
* krinkec's updates to ll* interface and functionsTedd Hansen2007-08-145-218/+342
|
* Correct caps of Default.lsl for Linux. Thanks again krinkec. :)Tedd Hansen2007-08-141-1/+1
|
* Removed some debugging. Removed *.lso from project include in prebuild.xml.Tedd Hansen2007-08-142-3/+3
|
* llSay() works again. Cleanup of debug messages.Tedd Hansen2007-08-145-9/+9
|
* ScriptEngine: Some error handling, logs to loggerTedd Hansen2007-08-147-415/+32
|
* Common script for all objects (Default.lsl). ScriptEngine touch_start event ↵Tedd Hansen2007-08-137-17/+22
| | | | now works, but llSay only outputs to server console.