aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-26Remove all the subclassing complexity and script server interfaces fromMelanie Thielker1-510/+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-26Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker1-2/+7
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-25Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker1-2/+17
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-23Switches the direct event postings in the API file over to the Shared/Melanie Thielker1-16/+13
new style of parameter passing, using the IEventReceiver interface.
2008-09-23Add IEventReceiver to DNE - a consolidation series patchMelanie Thielker1-2/+16
2008-09-21Change the scirpt engine loading mechanism. Script engines are nowMelanie Thielker1-1/+7
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-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-24/+24
* 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-07-08Mantis#1690. Thank you kindly, Melanie for a patch that:Charles Krinke1-0/+3
esets script permissions when a script is recompiled.
2008-06-28Mantis#1623. Thank you, Melanie for a patch that:Charles Krinke1-5/+12
Fully defines the equality operators on the lsl types and plubs in the script engine side of the work begun in 0001616 (aly, this one's for you)
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield1-3/+3
2008-05-25Thank you very much, Xantor for a patch that:Charles Krinke1-0/+4
Copying, reseting, dragging scripts cause unnecessary recompilation, slowing down the simulator and filling up the ScriptEngines directory with compiled .dll and misc. files. This patch keeps track of compiled assets since the last simulator restarts, and only recompiles new assets. (editing a script generates a new asset, so no problems there).
2008-05-16Formatting cleanup.Jeff Ames1-3/+3
2008-05-14More formatting cleanup.Jeff Ames1-4/+7
2008-05-08* You can haz more spring cleaning.Adam Frisby1-3/+1
* Eventually this codebase will be clean. >_>
2008-05-08* Some refactorings.Adam Frisby1-1/+1
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-07while I'm not convinced this is causing my current run awaySean Dague1-18/+21
loop, this queue manipulation is dead wrong as Queue is not a synchronized data structure. Hopefully this helps.
2008-05-01* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares1-0/+23
script to publish the events anymore. * Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-4/+2
(this took a while to run).
2008-03-25Comment out unused private methods.Jeff Ames1-40/+42
2008-03-18Formatting cleanup.Jeff Ames1-28/+25
2008-02-22Maintenance thread in charge of loading/unloading of scripts. 1 thread less ↵Tedd Hansen1-17/+23
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 Hansen1-2/+2
2008-02-22From this commit and a few hours into the future ScriptEngine will be unstable:Tedd Hansen1-26/+23
* 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-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-1/+1
2008-02-19From: Michael Osias <mosias@us.ibm.com>Sean Dague1-24/+32
This patch implements the llSendRemoteData command and fixes mantis 552, and possibly 586.
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 Ames1-3/+3
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-02Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen1-0/+2
2008-02-02Added load/unload queue size limitTedd Hansen1-10/+61
Added option to share script load/unload thread between regions Added event execution queue size limit + some bugfixes from all the changes
2008-02-01Bugfix, maybe it won't crash during startup and crash somewhere else instead? :)Tedd Hansen1-1/+2
2008-02-01SCRIPTING STILL BROKENTedd Hansen1-3/+20
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-01-17Added data structure to be passed through event execution queue so that ↵Tedd Hansen1-1/+2
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-347/+347
2008-01-12Added license to new filesTedd Hansen1-2/+3
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-454/+346
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-05Only one queue is used for load/unload of scripts.Tedd Hansen1-19/+22
So loading/unloading of scripts are now done in same sequence as they are called.
2007-12-30Added comments to ScriptEngine classes that explains what their purpose isTedd Hansen1-0/+11
2007-12-27* Optimized usingslbsa711-31/+34
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-12Thanks to Alondria for:Charles Krinke1-14/+17
llResetScript() is now functional. With this patch, Kan-script 0000003 should run. Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to NULL_KEY which then works to listen to everything.
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
2007-11-01ScriptServer fixes: Added more debug logging, mutex lock (to be ↵Tedd Hansen1-43/+59
extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock. Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
2007-10-30* Optimized usingslbsa711-50/+51
* Shortened type references * Removed redundant 'this' qualifier
2007-10-05getting all our line endings consistant againSean Dague1-1/+1
2007-09-18* Replaced usage of ClientView with IClientAPIlbsa711-2/+4
* Some propertification and hideousness of fields.
2007-09-17fixing me some line endingsSean Dague1-8/+8
2007-09-16Implemented: llSetText, llResetScript Tedd Hansen1-7/+14
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)