aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup.Jeff Ames2009-08-091-1/+1
|
* From: Snowcrash <Snowcrash.short@gmail.com>Melanie2009-08-071-4/+11
| | | | | | | | | | | | | Date: Wed, 5 Aug 2009 12:45:56 +0200 Subject: [PATCH] A few minor tweaks to the MRM API's in order to make it possible for MRM's to run in a separate AppDomain without poluting the primary appdomain of OpenSim Specifically: Added an explicit method for getting the "globals" of the MRM, removing the need to have the MRM script code loaded into the primary domain, in order to set up proxies Added a [Serializable] attribute to TouchEventArgs, again in order to remove the need to have MRM script code loaded into the primary domain. --------- Applied with whitespace changes
* * Implements MRM's Stop() interface member.Adam Frisby2009-08-071-0/+9
| | | | * MRM Scripts should do appropriate cleanup within this event, to allow for clean shutdowns and script updates. This means unbinding from events you are listening to, and releasing any resources.
* Formatting cleanup.Jeff Ames2009-07-111-8/+8
|
* Thank you kindly, SnowDrop, for a patch that:Charles Krinke2009-07-081-3/+9
| | | | | | | | | | | | | This add a configuration option to the MRM module called "hidden". if MRM is marked as enabled, the module will additionally check for the "Hidden" flag, before registering for client side scriping events. When MRM is running hidden, it will not respond to client side scripting events, giving serverside scripting modules, like MRMLoader and MRMAddin the ability to leverage the MRM engine. This way, even a possible clientside exploit will not be possible, while still allowing the MRM engine to run.
* * Adds additional check to MRM rezzing - the host object must be created by ↵Adam Frisby2009-05-121-1/+3
| | | | the sim owner, not just owned by it.
* * Applies Mantis #3630 - Adds support for outside MRM initialisation, makes ↵Adam Frisby2009-05-121-5/+16
| | | | MRMModule compatible with the Visual Studio MRMLoader ( http://forge.opensimulator.org/gf/project/mrmloader/ )
* * Code to make MRM debugging easier.Adam Frisby2009-05-091-1/+2
|
* * Implements Microthreading for MRM scripting.Adam Frisby2009-04-241-1/+20
| | | | | | | | | | * This is achieved through two new keywords "microthreaded" and "relax". example: public microthreaded void MyFunc(...) { ... relax; ... }
* * Committing stub VW-over-HTTP ClientStack. (2/2)Adam Frisby2009-04-221-1/+1
| | | | | * Minor MRM tweak.
* * Implements Extensions to MRM. This allows Region Modules to insert new ↵Adam Frisby2009-04-211-2/+11
| | | | | | | | | | | | classes into OpenSim MRM's. * Example in region module: Scene.GetModuleInterface<IMRMModule>.RegisterExtension<IMyInterface>(this); * In the MRM: //@DEPENDS:MyExtensionModule.dll ... Host.Extensions<IMyInterface>.DoStuff();
* Formatting cleanup.Jeff Ames2009-04-141-2/+2
|
* * Allows MRMs to import libraries in the OpenSim bin directory.Adam Frisby2009-04-091-5/+16
| | | | | * Syntax: //@DEPENDS:library.dll
* * Implements IGraphics interface for MRM Scripting.Adam Frisby2009-04-091-1/+1
| | | | | | * This allows you to utilize System.Drawing tools on textures within the region. * Example: use System.Drawing.Bitmap to make your texture, then use Host.Graphics.SaveBitmap to make an asset from it in JPEG2K. You can edit (but not overwrite) existing textures using Host.Graphics.LoadBitmap.
* * Limits MRM scripting to Region Master Avatar only.Adam Frisby2009-04-091-1/+4
| | | | | | * This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions. * Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
* * Added additional debug testing info to SceneAdam Frisby2009-04-091-1/+43
| | | | | | | * Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.) * Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException * Added some temporary logging to MRM World.*
* * MRM Scripts will now no longer disconnect the client if there was an error ↵Adam Frisby2009-04-031-15/+27
| | | | | | | in compilation or script initialisation. * Clarified some debug text for MRM Enabling
* * Implements "ID" semi-global within MRM scripts. This is tied to the 'state ↵Adam Frisby2009-04-031-1/+1
| | | | | | | ID' for MRMs. * Implements IPersistence interface, allows simple KeyValue access for MRM scripts to a more permanent datastore.
* Add copyright headers.Jeff Ames2009-03-071-1/+28
|
* Update svn properties.Jeff Ames2009-03-071-235/+235
|
* MRM Scripting ChangesAdam Frisby2009-03-051-0/+235
* Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene. * Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.