aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)2012-07-111-4/+1
| | | | | | | constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
* Comment out some startup logging lines to make up for the one I added ↵Justin Clark-Casey (justincc)2011-04-021-9/+1
| | | | | | earlier on. Most of these are where the region modules are telling us they are disabled. Convention is only to log when enabled (even that is really noisy)
* Formatting cleanup.Jeff Ames2010-10-281-1/+0
|
* Formatting cleanup.Jeff Ames2010-10-271-7/+4
|
* Merge branch 'master' into presence-refactorMelanie2010-02-081-1/+1
|\ | | | | | | | | This was a large, heavily conflicted merge and things MAY have got broken. Please check!
| * apply http://opensimulator.org/mantis/view.php?id=4486Justin Clark-Casey (justincc)2010-01-301-1/+1
| | | | | | | | | | fix compilation of mrm scripts using microthreaded parmeter Thanks ziah
| * Revert "Updates all IRegionModules to the new style region modules."Melanie2010-01-291-41/+23
| | | | | | | | This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
| * Updates all IRegionModules to the new style region modules.Revolution2010-01-231-23/+41
| | | | | | | | Signed-off-by: Melanie <melanie@t-data.com>
* | Some typos fixed related to master avie removalDiva Canto2010-01-101-2/+2
| |
* | Remove all references to master avatar, replacing with estate owner whereMelanie2010-01-101-3/+3
|/ | | | | appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
* * Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman2009-10-151-2/+2
| | | | | | | | so it is clear who/what the broadcast is going to each time * Removed two redundant parameters from SceneObjectPart * Changed some code in terse update sending that was meant to work with references to work with value types (since Vector3 and Quaternion are structs) * Committing a preview of a new method for sending object updates efficiently (all commented out for now)
* Formatting cleanup.Jeff Ames2009-10-011-1/+1
|
* Added additional configuration options for MRM Security. See ↵Adam Frisby2009-08-181-8/+22
| | | | OpenSim.ini.example under the [MRM] section.
* * Implements AppDomain Security for MRM Scripts.Adam Frisby2009-08-171-2/+101
| | | | * Added permissionLevel attribute to [MRM] section in OpenSim.ini. Default is 'Internet', however may be any of the following (case sensitive), FullTrust, SkipVerification, Execution, Nothing, LocalIntranet, Internet, Everything. For previous functionality, set to FullTrust or Execution.
* * Fixes potential NulRef in MRM Security Checks.Adam Frisby2009-08-161-1/+1
|
* * Beginnings of a Security Credential system in MRM. This will eventually ↵Adam Frisby2009-08-161-2/+8
| | | | lead to trusted execution of untrusted MRMs.
* 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.