aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-26Remove all the subclassing complexity and script server interfaces fromMelanie Thielker1-2/+2
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-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker1-1/+1
Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-2/+2
* 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-1/+1
2008-08-15Update svn properties, formatting cleanup, fix a couple compiler warnings.Jeff Ames1-1/+1
2008-08-13Mantis#1941. Thank you kindly, Tyre for a patch thatCharles Krinke1-34/+4
makes progress in extracting the line number of LSL script execution errors.
2008-08-12Minor formatting cleanup.Jeff Ames1-1/+1
2008-08-10Mantis#1910. Thank you kindly, HomerHorwitz for a patch that:Charles Krinke1-1/+5
In case you run the server with mono --debug OpenSim.exe line numbers are reported as <filename>:<linenumber>, so no "at line" is found. That led to an exception, which is caught since r5766. The attached patch fixes this for mono;
2008-08-07Minor formatting cleanup.Jeff Ames1-2/+2
2008-08-05* oops, fix build break from last checkinJustin Clarke Casey1-2/+2
2008-08-05* possible fix for event queue problems (exceptions and event count max ↵Justin Clarke Casey1-1/+17
exceeded issues) seen in osgrid meeting today * From the logs, I'm guessing probable cause is that an exception generated by a bad index given to substring error line number conversion stopped the script being killed, leading to continuous events that filled up the log (maybe) * Someone will need to go back and fix this properly
2008-07-27Re-fix r5681. Sorry for the inconvenience. We will now return youMelanie Thielker1-0/+1
to your scheduled scripting.
2008-07-27Addresses Mantis #1611Melanie Thielker1-0/+3
Set thread culture for event processing threads in DotNetEngine. XEngine already had this. Maybe someone with a French OS can verify the fix.
2008-06-05Mantis#1459. Thank you kindly, CMickeyb for a patch that:Charles Krinke1-2/+5
the function that reports errors in event handling is not computing the line numbers correctly for windows paths (and probably linux paths). As a result, the conversion to int throws an exception. note... i'm not sure why we extract the line number, convert it to an int, then convert it back to a string... but hey... :-)
2008-06-04applied patch from mantis #1268 , thanks mikemMW1-0/+4
2008-05-28Formatting cleanup.Jeff Ames1-1/+1
2008-05-26This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield1-1/+1
llOwnerSay() via the newly created Scene.SimBroadcast() call.
2008-05-22Mantis 1357 Patch - Thanks mikem!Adam Johnson1-4/+8
2008-05-14Formatting cleanup.Jeff Ames1-2/+2
2008-05-14* Removed 19 warningsTeravus Ovares1-1/+1
2008-05-11* Changed implicit string conversion to LSL_Types.LSLString in money event ↵Teravus Ovares1-2/+2
of the key of the payer to an Explicit one. * Fixes Mantis: #1045
2008-05-06De-tabify source.Jeff Ames1-12/+12
2008-05-05* Unraveled the DEBUG_CHANNEL mystery.Teravus Ovares1-2/+2
* Moved script errors to the debug channel. * Typing '/2147483647 OK' results in a debug_channel message. * Expanded the available parameters that are send-able through IClientAPI
2008-05-02Thank you kindly, Melanie for a patch to solveCharles Krinke1-1/+13
llParticleSystem and osDynamicTexture issues.
2008-04-22* Implemented NoScript areas (without loosing script state).Teravus Ovares1-9/+13
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-4/+1
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-03* Removed a bunch of compiler warnings.Adam Frisby1-1/+1
2008-02-22Fix for error message during startup (shared thread started processing ↵Tedd Hansen1-0/+3
region queue before queue objects were fully operational)
2008-02-22ScriptEngine works again (startup-nully-error gone)Tedd Hansen1-4/+4
2008-02-22One more: Async LSL command thread is also shared now.Tedd Hansen1-161/+167
2008-02-22Bugfixes - wasn't counting threads right++Tedd Hansen1-2/+3
2008-02-22Execution threads are now shared between regions too. Default thread count ↵Tedd Hansen1-193/+209
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-21Fixes to ScriptEngine thread cleanup on destructorTedd Hansen1-1/+1
2008-02-21ScriptEngine changes in locking. Another step in direction of shared threads.Tedd Hansen1-7/+7
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen1-0/+1
compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
2008-02-20Minor cleanup.Jeff Ames1-5/+5
2008-02-18bring back some script engine debugging, hoping this will help track down ↵Sean Dague1-8/+8
the randoms segfaults
2008-02-08Missed one event message that needed to beCharles Krinke1-8/+9
commented out.
2008-02-05Converted logging to use log4net.Jeff Ames1-16/+16
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-05Added copyright statements.Jeff Ames1-7/+29
2008-02-02Updated svn properties.Jeff Ames1-314/+314
2008-02-01SCRIPTING STILL BROKENTedd Hansen1-23/+59
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-93/+127
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/+42
ScriptThreadPriority to set script thread priority DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01ExperimentalTedd Hansen1-2/+4
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
2008-02-01Highly experimentalTedd Hansen1-0/+201
A separate thread is used to enforce max function (event) execution time for scripts.