aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IScriptModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-0/+11
2012-07-16Revert "Fix script "Running" behavior"Melanie1-2/+0
A better solution using the already present flags must be found. This reverts commit 6d3ee8bb39d47ed7b32e8905fa0b2fc31c5a9f80.
2012-07-01Add preservation of running state of scripts when drag-copying.Melanie1-1/+3
2012-06-23Fix script "Running" behaviorBlueWall1-0/+2
Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057
2012-04-12Mantis 55025 Implement script time.Talun1-0/+8
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-09Mantis5502 implementation of some of the new constantsTalun1-0/+6
Signed-off-by: Melanie <melanie@t-data.com>
2012-03-16Aggregate script execution times by linksets rather than individual prims.Justin Clark-Casey (justincc)1-1/+4
This is for the top scripts report.
2012-03-16Replace script-lines-per-second with the script execution time scaled by its ↵Justin Clark-Casey (justincc)1-1/+8
measurement period and an idealised frame time. The previous lines-per-second measurement used for top scripts report was inaccurate, since lines executed does not reflect time taken to execute. Also, every fetch of the report would reset all the numbers limiting its usefulness and we weren't even guaranteed to see the top 100. The actual measurement value should be script execution time per frame but XEngine does not work this way. Therefore, we use actual script execution time scaled by the measurement period and an idealised frame time. This is still not ideal but gives reasonable results and allows scripts to be compared. This commit moves script execution time calculations from SceneGraph into IScriptModule implementations.
2012-01-14Register the UrlModule for script engine events OnScriptRemoved and ↵Justin Clark-Casey (justincc)1-0/+13
OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script. Doing this in every script is unnecessary since the event trigger is parameterized by the item id. All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException. Registration moved to UrlModule so that the handler is registered for all script engine implementations. This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2011-10-19Extend scripts stop/start/suspend/resume console commands to allow action on ↵Justin Clark-Casey (justincc)1-5/+9
a single script by giving the script item id (which can be found via scripts show). Not an ideal way to do this on a region with many scripts. Needs refinement later.
2011-09-09Delay loading scripts until the scene has finished loadingOren Hurvitz1-0/+5
2011-05-24Create a method to force the script engine to save state from outsideMelanie1-0/+2
2010-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie1-0/+8
is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
2009-12-22Add a data path for error messagesroot1-0/+3
Committed from my other box where git is not configured properly Signed-off-by: Melanie <melanie@t-data.com>
2009-12-21Script State Fix: Part 2Melanie1-1/+1
Change the reader to wrap old-style definitions in new style wrappers. Change importer to not check irrelevant data that can't be reconstructed This removes the last bit of knowledge of XEngine's .state files from core.
2009-11-26Remove the old (Remoting) region crossing code. Fix the new code toMelanie1-1/+1
pass script state and assembly again properly. Reintroduce respecting tht TrustBinaries flag. Changes the interregion protocol! No version bump because it was broken anyway, so with a version mismatch it will simply stay broken, but not crash. Region corssing still doesn't work because there is still monkey business with both rezzed prims being pushed across a border and attached prims when walking across a border. Teleport is untested by may work.
2009-11-26Remove GetAssemblyName and friends from the SE interface. It's now handledMelanie1-1/+0
internally
2009-08-04Add plumbing for the SceneObjectDeleter to wait for the script engine toMelanie1-0/+1
allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-04-15Convert both script engines to new region module format. Add proper unloadMelanie Thielker1-1/+1
handling to XEngine. Add needed stubs to DotNetEngine.
2009-04-11Adding a script event, changed(CHANGED_ANIMATION)Melanie Thielker1-0/+1
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-1/+4
UUIDs with a central marshaller for grids, or publish the ULS for objects elsewhere.
2009-02-12* optimized usings.lbsa711-2/+0
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-1/+1
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-11-08Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker1-0/+3
No user functionality yet
2008-09-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker1-4/+5
Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-3/+3
* 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-04-29* Spring cleaning.Adam Frisby1-1/+1
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-03-18Formatting cleanup.Jeff Ames1-27/+26
2008-02-05Added copyright statements.Jeff Ames1-0/+28
2007-12-15Set svn:eol-style. Cleaned up set-eol-style.sh a bit.Jeff Ames1-9/+9
2007-12-14* ARequest changed name to AssetRequest and moved to own file.lbsa711-0/+10
* The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req ) * Catchall added around queue processing thread so thread won't abort on exceptions.