aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-27Stopped EntityBase from implementing IScriptHost, as don't think it should, ↵MW1-2/+2
multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway. Added llGetOwner function, and tested the ll functions that I added in last commit.
2007-08-27Another small tweak to image sending.MW1-3/+7
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
2007-08-27Fixing llList2double issue (Thanks ldvoipeng)Brian McBee1-1/+1
2007-08-26llList-commands from ldvoipeng, new Default.lsl from dalienTedd Hansen1-14/+83
2007-08-26Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW1-1/+0
the assetcache and asset server). Attempt to fix bug # 326. (crashing when using save-xml and hollow prims) Attempt to fix bug # 328 (limit of 50 items in a folder)
2007-08-26in-world run-time error-message no-w con-tains function-name.Tedd Hansen3-12/+16
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen4-42/+108
require script to be compiled with (slow) debug information.
2007-08-26Bugfix for last commit, { instead of (Tedd Hansen1-1/+1
2007-08-26Fixed bug that occurs sometimes on script unload where queued script event ↵Tedd Hansen2-41/+57
was attempted executed after AppDomain was unloaded.
2007-08-25Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen2-3/+3
through already disposed logger. Thanks ckrinke
2007-08-25Forgot mutex lock on List<> for timersTedd Hansen1-11/+15
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen4-13/+16
LSL-script.
2007-08-25oops , shouldn't have committed my local testing changesMW1-1/+0
2007-08-25Removal of script that was unable to compile no longer crashes server.Tedd Hansen3-14/+45
Displays script compile error messages in-world.
2007-08-25Test to see if this change improves or makes worse the texture sending bugMW1-0/+2
2007-08-25testing Tedds temporary CIA-standinTedd Hansen1-1/+0
2007-08-25testing Tedds temporary CIA-standinTedd Hansen1-0/+1
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen9-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).
2007-08-25Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen7-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.
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 Hansen2-34/+53
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 Hansen3-39/+70
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-18Did I forget to add IScript.cs? Yes I did...Tedd Hansen1-0/+12
2007-08-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen8-137/+107
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 Hansen4-53/+98
(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 Hansen7-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.
2007-08-18Working on AppDomains. Scripting is now officially broken. :]Tedd Hansen8-60/+64
2007-08-18Moved LSL_BuiltIn_Commands_Interface.cs to a separate library ↵Tedd Hansen7-14/+534
(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