aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-25Moved AsyncCommandManager into separate classes under "plugins".Tedd Hansen6-512/+737
2008-02-25eolTedd Hansen6-727/+727
2008-02-25Step 1 in reorganizing AsyncCommandManagerTedd Hansen7-679/+729
2008-02-25Initial patch for llSensor*Tedd Hansen1-3/+272
llSensor, llSensorRepeat, llSensorRemove, llDetectedName, llDetectedKey, llDetectedOwner, llDetectedType, llDetectedPos, llDetectedVel, llDetectedRot Thank you very much kinoc! :)
2008-02-25I'm the stupidest stupid in the whole world. :)Tedd Hansen1-3/+4
Fixed a bug in new Prim where I actually ADDED new values to old values instead of directly assigning them... Now that was a waste of time! :P
2008-02-22Fix for error message during startup (shared thread started processing ↵Tedd Hansen2-1/+4
region queue before queue objects were fully operational)
2008-02-22ScriptEngine works again (startup-nully-error gone)Tedd Hansen4-19/+18
2008-02-22One more: Async LSL command thread is also shared now.Tedd Hansen4-248/+275
2008-02-22Bugfixes - Scripting works againTedd Hansen2-2/+17
2008-02-22Some misplaced code made scripts never start :)Tedd Hansen1-14/+13
2008-02-22Better timing of MaintenanceThread's tasks (uses less CPU)Tedd Hansen1-20/+39
Updated OpenSim.ini.example
2008-02-22Bugfixes - wasn't counting threads right++Tedd Hansen3-17/+17
2008-02-22Minor annoying Exception-bug fixedTedd Hansen2-2/+3
2008-02-22Execution threads are now shared between regions too. Default thread count ↵Tedd Hansen3-242/+229
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-22Maintenance thread in charge of loading/unloading of scripts. 1 thread less ↵Tedd Hansen2-17/+28
per region. Total so far: 2 threads less per region Note: Currently causes delay in load/unload of scripts
2008-02-22Now last commit will compile too... The features just keep on coming!Tedd Hansen3-6/+12
2008-02-22From this commit and a few hours into the future ScriptEngine will be unstable:Tedd Hansen5-79/+87
* 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 Hansen4-17/+14
2008-02-21ScriptEngine changes in locking. Another step in direction of shared threads.Tedd Hansen2-24/+22
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen4-0/+4
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-20div+Tedd Hansen1-1/+1
threads console command will list all threads. This + yesterdays naming threads patch will give a good overview of what threads we have running.
2008-02-20Minor cleanup.Jeff Ames9-35/+19
2008-02-20llSetTimerEvent updated to use ticks instead of DateTime for internal timing.Tedd Hansen1-20/+37
2008-02-20llSetTimerEvent was setting seconds as milliseconds causing major problems ↵Tedd Hansen1-1/+1
in timed scripts...
2008-02-19From: Michael Osias <mosias@us.ibm.com>Sean Dague2-48/+112
This patch implements the llSendRemoteData command and fixes mantis 552, and possibly 586.
2008-02-18bring back some script engine debugging, hoping this will help track down ↵Sean Dague2-11/+11
the randoms segfaults
2008-02-18Patch from Michael Osias IBM (jimbo2120)Justin Clarke Casey1-0/+7
In his own words: If a prim becomes a listener or remote channel and the script is deleted, it cannot become a listener or channel again with a new script. This patch fixes that.
2008-02-10state_entry is now executed on state change.Tedd Hansen1-0/+6
2008-02-08Missed one event message that needed to beCharles Krinke1-8/+9
commented out.
2008-02-08Make timer events from scripts a little less chatty. Charles Krinke1-6/+8
DEBUG is defined by default in the Linux build.
2008-02-05Converted logging to use log4net.Jeff Ames8-82/+64
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 Ames3-12/+88
2008-02-03Temporarily disabled shared threads because of a bug. Script were only ↵Tedd Hansen2-2/+4
working on 1 region. :) Using default warning level on C#/VB compile
2008-02-02fixed a timing bug in config re-read. Apparently there is 1000000000 ns in ↵Tedd Hansen2-9/+10
one second...
2008-02-02Added commands to change config file from console:Tedd Hansen1-6/+6
CONFIG SET section key value value value CONFIG GET section key CONFIG SAVE (it saves, but does it save correctly?:) ScriptEngine will react correctly to any config change made while it is running.
2008-02-02Updated svn properties.Jeff Ames4-800/+800
2008-02-02Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen1-0/+2
2008-02-02Added load/unload queue size limitTedd Hansen4-18/+83
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-1/+6
OpenSim in 32-bit mode. Added VISUAL BASIC.NET-support //cs, //lsl and //vb as first characters of script will determine what compiler is used. Compile warnings are no longer treated as errors. Script will still run. Added a few useless and useful config options: Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup Loads of warnings for incorrect config
2008-02-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2-19/+28
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-02Added some error checking to MaintenanceThread, no-crash (just log) loading ↵Tedd Hansen1-27/+31
of script engines, and support to load multiple script engines
2008-02-01Moved iniFilePath to a static and put it in OpenSim.Application.iniFilePath.Tedd Hansen1-2/+9
Refreshing config based on this. Temporarily disabled feature to refresh config file while running.
2008-02-01Bugfix, maybe it won't crash during startup and crash somewhere else instead? :)Tedd Hansen1-1/+2
2008-02-01SCRIPTING STILL BROKENTedd Hansen10-395/+595
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 Hansen4-189/+412
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-01Config option to set number of scripts per AppDomainTedd Hansen2-2/+3
2008-02-01Added config options:Tedd Hansen2-2/+46
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 Hansen3-9/+55
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.