aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-28Formatting cleanup.Jeff Ames1-2/+2
2008-05-26This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield1-2/+2
llOwnerSay() via the newly created Scene.SimBroadcast() call.
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-2/+2
2008-05-25Thank you very much, Xantor for a patch that:Charles Krinke1-2/+28
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-1/+1
2008-05-05* Unraveled the DEBUG_CHANNEL mystery.Teravus Ovares1-1/+1
* 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-01* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares1-0/+2
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-1/+1
(this took a while to run).
2008-04-20Removed some script engine noise from consoleTedd Hansen1-3/+3
2008-03-18* Applied Grumly57 patch for #781; Thanks, Grumly!lbsa711-7/+7
2008-03-18Formatting cleanup.Jeff Ames1-26/+26
2008-02-24Ok, so NOW scripts work. New patch to break them coming soon.Tedd Hansen1-1/+1
2008-02-24Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added ↵Tedd Hansen1-3/+1
new OSSL_BuilIn_Commands class where we can start adding our own modular commands.
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames1-1/+1
2008-02-06* Marking off which uses of catch (Exception e) is legit and which are not, ↵Adam Frisby1-3/+3
for later removal/replacement.
2008-02-05Converted logging to use log4net.Jeff Ames1-12/+11
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-05Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't ↵Tedd Hansen1-1/+0
work anyway. Added js to OpenSim.ini.example.
2008-02-02Bugfixes. Now it even reads configuration before it uses it! ;)Tedd Hansen1-7/+9
2008-02-02Added header/footer of scripts to make C# and VB scripts much easier to write.Tedd Hansen1-0/+3
Added some logging on what is happening during compile.
2008-02-02Added load/unload queue size limitTedd Hansen1-3/+3
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. 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 Hansen1-8/+8
OpenSim in 32-bit mode. Fixed ScriptEngine.Common startup problems.
2008-02-01SCRIPTING STILL BROKENTedd Hansen1-1/+1
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-21Small bug in ResetScriptTedd Hansen1-7/+1
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-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-366/+72
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)
2007-09-14* Wired up chat so that channel goes into OnChatFromViewer. However:lbsa711-1/+1
* There's no libsl reply packet field for it, I guess other channels than 0 makes no sense sending back to clients. * We do not currently support objects listening, so there's really no way of actually using this feature. So; somebody please wire chat all the way to the scripts.
2007-09-13implement llGetScale and llSetScaleSean Dague1-1/+1
drop IScriptHost for now and just use SceneObjectPart, given how many of SceneObjectPart's properties we need for the script engine
2007-09-13remove ^M, as native storage should be UNIX format, and ^M in/out mashingSean Dague1-408/+408
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-29/+29
member names to smallcapsy.
2007-09-10mass update of urls in source code to new websiteSean Dague1-1/+1
2007-08-28startup event on script added to object, not all inside object.Tedd Hansen1-6/+18
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen1-26/+41
require script to be compiled with (slow) debug information.
2007-08-26Fixed bug that occurs sometimes on script unload where queued script event ↵Tedd Hansen1-1/+10
was attempted executed after AppDomain was unloaded.
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen1-0/+2
LSL-script.
2007-08-25Removal of script that was unable to compile no longer crashes server.Tedd Hansen1-11/+40
Displays script compile error messages in-world.
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen1-8/+10
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).