aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-11* Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey1-1/+3
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-1/+1
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-22Refactor log4net logger handling in script engine. (#3148)Jeff Ames1-6/+10
2008-09-27Add friendly error messages to both engines.Melanie Thielker1-0/+7
2008-09-26Remove another interface that is no longer neededMelanie Thielker1-1/+1
2008-09-26Remove all the subclassing complexity and script server interfaces fromMelanie Thielker1-1/+1
DNE and move all of DNE into the DotNetEngine directory. Remove references that would cause the script runtime to load the entire engine + scene into each script appdomain. This might help DNE memory consumption.
2008-09-25Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker1-25/+3
and makes it use a common set of types in both engine. Fixes the issues with running both engines and HTTP requests / listens / timers etc.. Also fixes a couple of minor Scene issues and a CTB by nullref.
2008-09-23Remove some debug outputMelanie Thielker1-3/+0
2008-09-23Switches the direct event postings in the API file over to the Shared/Melanie Thielker1-1/+6
new style of parameter passing, using the IEventReceiver interface.
2008-09-23Add IEventReceiver to DNE - a consolidation series patchMelanie Thielker1-6/+8
2008-09-23Remove Common/LSL_Types.cs. Both script engines now use a single versionMelanie Thielker1-0/+1
of the types, located in OpenSim/Region/ScriptEngines/Shared/LSL_Tyoes.cs Also changes the compiler in DotNetEngine to use that. You _will_ need to let your region recompile all your scripts!
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker1-0/+5
ordinary region modules and are able to coexist in one instance. See http://opensimulator.org/wiki/ScriptEngines for details. There were changes to OpenSim.ini.example, please note DefaultScriptEngine. Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-14Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:Charles Krinke1-0/+25
after using llTakeControls my sim receives about 200 messages per second, l of which get queued , this could be because there is no lag as the viewer and sim are on the same computer. The patch I have included checks to see if the "Changed" param is 0 then searches the EventQueue for Control messages being sent to the same localid, if it finds a message already in the Queue and Changed==0 then the new message is only notifing you the key is being held, since there is already a message the new one isnt needed so it isnt added to the queue.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-5/+5
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-18Formatting cleanup.Jeff Ames1-4/+4
2008-06-08* Fixed it so you can do a lot more llDetected* methods in many additional ↵Teravus Ovares1-1/+2
situations and have it work. * script Collision reporting works now in DotNetEngine
2008-06-05* This sends collision events to the script engine. Teravus Ovares1-1/+2
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-3/+0
(this took a while to run).
2008-04-20Removed some script engine noise from consoleTedd Hansen1-1/+1
2008-03-18Formatting cleanup.Jeff Ames1-27/+25
2008-03-03* Removed a bunch of compiler warnings.Adam Frisby1-1/+1
2008-02-22Bugfixes - Scripting works againTedd Hansen1-0/+1
2008-02-22Bugfixes - wasn't counting threads right++Tedd Hansen1-3/+2
2008-02-22Execution threads are now shared between regions too. Default thread count ↵Tedd Hansen1-46/+18
regardless of number of regions is now 3. This will save you around 33 threads for a normal 3x3 region server. But, this is totally completely untested. So it probably won't work for another patch or five.
2008-02-22From this commit and a few hours into the future ScriptEngine will be unstable:Tedd Hansen1-9/+9
* Speeding up ScriptEngine shutdown * Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution) You can choose more script exec threads if you want of course. In this commit: Sharing maintenance thread between all regions.
2008-02-21Fixes to ScriptEngine thread cleanup on destructorTedd Hansen1-9/+9
2008-02-21ScriptEngine changes in locking. Another step in direction of shared threads.Tedd Hansen1-17/+15
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-05Converted logging to use log4net.Jeff Ames1-13/+10
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-03Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen1-1/+2
working on 1 region. :) Using default warning level on C#/VB compile
2008-02-02Added load/unload queue size limitTedd Hansen1-0/+10
Added option to share script load/unload thread between regions Added event execution queue size limit + some bugfixes from all the changes
2008-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen1-16/+20
OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
2008-02-02Forgot to create an object before use. Now why can't .Net just do that ↵Tedd Hansen1-7/+10
itself? :)
2008-02-01SCRIPTING STILL BROKENTedd Hansen1-9/+33
Added comments and regions, restructured code Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG All modules should now refresh their configuration runtime Made all logging in ScriptEngine.Common get script name from actual engine Renamed LSLLongCmdHandler to AsyncLSLCommandManager Added auto-recover with 5 sec throttle for new MaintenanceThread
2008-02-01SCRIPT SUPPORT IS STILL BROKEN.Tedd Hansen1-96/+146
Bugfix: Scripts exceeding max and set to be killed were not killed, only removed. Added ability to re-read configuration while OpenSim is running All regions now sharing one MaintenanceThread New MaintenanceThread: - checks for script execution timeout - re-reads config - starts/stops threads if thread active count becomes too high/low compared to config Speed increase on event execution: - Reuse of try{}catch{} blocks - Time calculation on event execution
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