aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-01Added config options:Tedd Hansen1-1/+4
ScriptThreadPriority to set script thread priority DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01Removed "Loading inventory for Primitive" message.Tedd Hansen1-1/+1
Fixed small bug in thread counter.
2008-02-01ExperimentalTedd Hansen1-7/+45
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
2008-02-01Highly experimentalTedd Hansen1-149/+99
A separate thread is used to enforce max function (event) execution time for scripts.
2008-01-19* Potential fix to the 'can't run a script anymore bug'Teravus Ovares1-6/+7
2008-01-17Added data structure to be passed through event execution queue so that ↵Tedd Hansen1-7/+29
events can use llDetect*-commands to find information about event.
2008-01-15* Mother of all commits:Adam Frisby1-1/+1
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-12Set eolTedd Hansen1-363/+363
2008-01-12Added license to new filesTedd Hansen1-2/+3
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-363/+362
ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common. Loads of things has been put into interfaces instead of the specific class. We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
2008-01-12ScriptServer communication is ok. Script is creatd on onrez. But since it ↵Tedd Hansen1-2/+2
can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen1-0/+22
2007-12-27* Optimized usingslbsa711-10/+11
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-2/+2
notice of doom
2007-11-08converted hard-coded chat type values to ChatTypeEnumJeff Ames1-1/+2
2007-11-01ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen1-8/+15
extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock. Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
2007-10-30* Optimized usingslbsa711-26/+38
* Shortened type references * Removed redundant 'this' qualifier
2007-09-14* Wired up chat so that channel goes into OnChatFromViewer. However:lbsa711-1/+1
* There's no libsl reply packet field for it, I guess other channels than 0 makes no sense sending back to clients. * We do not currently support objects listening, so there's really no way of actually using this feature. So; somebody please wire chat all the way to the scripts.
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-321/+321
will happen on the windows side now that eol-style is correct
2007-09-13Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed ↵Tedd Hansen1-36/+36
member names to smallcapsy.
2007-09-10* Took a stab at #388lbsa711-1/+4
2007-09-10mass update of urls in source code to new websiteSean Dague1-1/+1
2007-09-08Cut down on the number of compile warnings. Now down to 5: 4 are related to ↵MW1-2/+2
unused events on IClientAPI and 1 is a unused variable in LSL_BuiltIn_Commands (which I'll leave to Tedd, as he will know if it will be used in the future or not).
2007-08-26in-world run-time error-message no-w con-tains function-name.Tedd Hansen1-1/+1
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen1-0/+29
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 Hansen1-40/+47
was attempted executed after AppDomain was unloaded.
2007-08-25Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen1-2/+2
through already disposed logger. Thanks ckrinke
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen1-22/+33
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 Hansen1-1/+1
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 Hansen1-0/+1
2007-08-22GC.GetTotalMemory(true) was blocking.Tedd Hansen1-0/+3
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 Hansen1-0/+4
empty objects crash.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen1-24/+31
fired likewise. Bugfixes coming in next commit.
2007-08-19Code comments on recent changes in EventQueueManagerTedd Hansen1-9/+45
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-18Moved in-AppDomain event execution from Script to ↵Tedd Hansen1-1/+1
OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
2007-08-18Started on AppDomains for ScriptEngine. Moved llFunctions in ↵Tedd Hansen1-0/+1
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-2/+3
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-16* Now sending manager, host and root host to Script in constructor.lbsa711-2/+2
* 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-14krinkec's updates to ll* interface and functionsTedd Hansen1-0/+4
2007-08-14Removed some debugging. Removed *.lso from project include in prebuild.xml.Tedd Hansen1-2/+2
2007-08-14llSay() works again. Cleanup of debug messages.Tedd Hansen1-2/+2
2007-08-14ScriptEngine: Some error handling, logs to loggerTedd Hansen1-6/+6
2007-08-08Added ScriptEngine.DotNetEngineTedd Hansen1-0/+136