aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-25Step 1 in reorganizing AsyncCommandManagerTedd Hansen1-2/+2
2008-02-22Fix for error message during startup (shared thread started processing ↵Tedd Hansen1-1/+1
region queue before queue objects were fully operational)
2008-02-22ScriptEngine works again (startup-nully-error gone)Tedd Hansen1-1/+1
2008-02-22One more: Async LSL command thread is also shared now.Tedd Hansen1-19/+9
2008-02-22Minor annoying Exception-bug fixedTedd Hansen1-1/+1
2008-02-22Now last commit will compile too... The features just keep on coming!Tedd Hansen1-2/+2
2008-02-22From this commit and a few hours into the future ScriptEngine will be unstable:Tedd Hansen1-11/+15
* 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-20Minor cleanup.Jeff Ames1-1/+1
2008-02-18bring back some script engine debugging, hoping this will help track down ↵Sean Dague1-3/+3
the randoms segfaults
2008-02-05Converted logging to use log4net.Jeff Ames1-21/+13
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-02fixed a timing bug in config re-read. Apparently there is 1000000000 ns in ↵Tedd Hansen1-6/+6
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-02Added load/unload queue size limitTedd Hansen1-1/+4
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-3/+8
OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
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-01SCRIPTING STILL BROKENTedd Hansen1-19/+51
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-0/+12
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 Hansen1-1/+1
2008-02-01ExperimentalTedd Hansen1-0/+6
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
2008-01-12Set eolTedd Hansen1-131/+131
2008-01-12Added license to new filesTedd Hansen1-2/+3
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-123/+130
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-3/+3
can not access Scene it sort of crashes right away ;) Added some sample placeholders for implementing rest of LSL events.
2008-01-09Dynamic loading of ScriptEngine in ScriptServerTedd Hansen1-1/+7
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
2007-12-30server->script event path almost ready for remote scriptengine (translation ↵Tedd Hansen1-12/+5
table between local script ID and remote script ID missing)
2007-12-30In this commit I am using an editor feature called "Save All" before I commit.Tedd Hansen1-1/+2
2007-12-27* Optimized usingslbsa711-1/+1
* 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-10-30* Optimized usingslbsa711-21/+12
* Shortened type references * Removed redundant 'this' qualifier
2007-10-19changes to pass nini config object to the modules that getSean Dague1-132/+133
loaded so that they may read out any bits they are interested in
2007-10-10* Gave ModuleLoader some good lovin'lbsa711-132/+132
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin * Made LogBase thread-safe (or at least not thread-ignorant) * Ignored some genned files
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-132/+132
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-10/+10
member names to smallcapsy.
2007-09-10mass update of urls in source code to new websiteSean Dague1-1/+1
2007-09-08Converted the LSL scripting engine into a IRegionModule, so now all ↵MW1-2/+31
"modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back). Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having. Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance. Some early work to prepare for improving the way clients are updated (about prims etc).
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen1-0/+2
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-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen1-19/+13
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-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/+3
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-1/+4
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-3/+10
* 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-3/+3
2007-08-14llSay() works again. Cleanup of debug messages.Tedd Hansen1-2/+2
2007-08-14ScriptEngine: Some error handling, logs to loggerTedd Hansen1-4/+8
2007-08-13Common script for all objects (Default.lsl). ScriptEngine touch_start event ↵Tedd Hansen1-0/+1
now works, but llSay only outputs to server console.
2007-08-13(DotNet) ScriptEngine is now loaded and added to Scene during startup.Tedd Hansen1-1/+1
2007-08-09ScriptEngine just needs 2 events hooked up and llSay() implemented to work. ↵Tedd Hansen1-2/+2
See TODO.txt for details.
2007-08-08Added ScriptEngine.DotNetEngineTedd Hansen1-87/+77