aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-26Remove all the subclassing complexity and script server interfaces fromMelanie Thielker1-317/+0
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-26Remove interfaces that are no longer used from DNEMelanie Thielker1-6/+1
2008-09-26Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker1-1/+72
The binaries are still different, but that is only a small step away now. The OSSLPrim has been removed. This commit will breal all scripts using Prim.Scale(), etc, syntax. It was not secure and will have to be brought back in another form.
2008-09-25Some script engine interface changesMelanie Thielker1-0/+21
2008-09-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker1-3/+3
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-25CONVERGENCE!!!!!!Melanie Thielker1-0/+5
The entire LSL API is now in the single, shared file OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs This is for both engines. The OSSL function are still separate.
2008-09-25Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker1-5/+20
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-24Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker1-2/+6
LSL implementation files. Rename lots of stuff in XEngine for the same reason. Move methods between interfaces. Just refactor stuff.
2008-09-23Switches the direct event postings in the API file over to the Shared/Melanie Thielker1-1/+2
new style of parameter passing, using the IEventReceiver interface.
2008-09-23Add IEventReceiver to DNE - a consolidation series patchMelanie Thielker1-1/+14
2008-09-23Update the permissions system to handle scripts and notecards the wayMelanie Thielker1-1/+1
it was meant to. No functional changes, just better code
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker1-5/+19
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-05-16Formatting cleanup.Jeff Ames1-2/+2
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-7/+5
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-28/+25
2008-03-12there was a single instance where the log4net object was notSean Dague1-1/+1
static readonly. I suspect this was the cause of mantis #500.
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