aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-04-15Convert both script engines to new region module format. Add proper unloadMelanie Thielker1-4/+12
handling to XEngine. Add needed stubs to DotNetEngine.
2009-04-12Fix a regression where animations would only be sent if the avatar hasMelanie Thielker1-2/+36
attachments. Convert base types to LSL types for event marshalling through IScriptModule to avoid parameter errors.
2009-04-11Adding a script event, changed(CHANGED_ANIMATION)Melanie Thielker1-0/+9
This is sent to all root prims of all attachments of an avatar when the animation state changes. llGetAnimation() can thenbe used to find the new movement animation. This eliminates the need for fast timers in AOs
2009-04-10Introduce IXmlRpcRouter, an interface that allows registering XMLRPCMelanie Thielker1-0/+10
UUIDs with a central marshaller for grids, or publish the ULS for objects elsewhere.
2009-04-10Add events to IScriptEngine to notify scripting modules of the removalMelanie Thielker1-0/+3
of objects from the scene, and of scripts from objects. This facilitates the development of modules that can register prims with externall servers for inbound email and XMLRPC. Currently implemented in XEngine only. Also applying cmickeyb's compiler locking patch, since it seems risk-free.
2009-03-11* Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey1-1/+1
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-5/+3
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-22Refactor log4net logger handling in script engine. (#3148)Jeff Ames1-5/+0
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-1/+1
NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-3/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-12-21An initial implementation of llMinEventDelay in XEngine.idb1-0/+7
Not implemented yet in DotNetEngine. Fixes Mantis #2830
2008-11-08Refactor IEventReceiver back into IScriptEngineMelanie Thielker1-1/+16
2008-10-17* Added missing dependencies that was causing build to fail in windows. ↵Teravus Ovares1-0/+1
Mono doesn't seem to care.
2008-10-16Fixed (mono-)script handling for SL viewer 1.21:Homer Horwitz1-2/+12
- Added two missing caps (UpdateScriptAgent, UpdateScriptTask) - Added one missing EventQueue event (ScriptRunningReply) - Changed DNE and XEngine to use this new event As we only use the mono engine anyway, the "Mono" checkbox is set by default but doesn't have any function.
2008-10-04Fix Mantis #2281: touch events in non-default states in DNE work again.Homer Horwitz1-1/+1
2008-10-03Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)Melanie Thielker1-0/+5
Causes the dataserver event to return "OpenSim" when running on OpenSim. Requires ThreatLevel to be "High" or above to function.
2008-10-03Plumb in the start parameter in DNEMelanie Thielker1-1/+1
2008-09-26DNE code cleanupsMelanie Thielker1-25/+43
2008-09-26Adds support for the "Running" checkbox and the "Reset" button, as well asMelanie Thielker1-0/+44
ResetScripts In Selection, Set Script to [not] Running In Selection from the tools menu. Allows DNE script reset without a full recompile.
2008-09-26Yay! Common/ is gone! One API is achieved!Melanie Thielker1-1/+1
2008-09-26Add per-instance date to DNE to avoid serializing stuff 10 times a second.Melanie Thielker1-16/+24
Clode cleanup and removal of commented stuff in ScriptManager.
2008-09-26Remove all the subclassing complexity and script server interfaces fromMelanie Thielker1-8/+260
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-06Brushing rust of ye old commitTedd Hansen1-1/+0
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-3/+2
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-27/+27
2008-02-05Converted logging to use log4net.Jeff Ames1-1/+1
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-02Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen1-1/+1
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-02-01ExperimentalTedd Hansen1-0/+6
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
2008-01-21Small bug in ResetScriptTedd Hansen1-4/+0
2008-01-12Major reorganizing of DotNetEngine. Moved common script engine parts to ↵Tedd Hansen1-78/+8
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.