aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup.Jeff Ames2009-10-011-4/+4
|
* Change the return value if the compiler to "object" to allow compilersMelanie2009-08-311-2/+2
| | | | to return dynamic method objects
* * minor: commentsTeravus Ovares (Dan Olivares)2009-08-161-0/+16
|
* * whoops, missing a /Teravus Ovares (Dan Olivares)2009-08-151-1/+1
|
* * Comment out XEngineTest that doesn't appear to test anything. It just ↵Teravus Ovares (Dan Olivares)2009-08-151-0/+3
| | | | creates a scene named 'My Test' which just happens to be the last scene displayed in the nunit log before it goes boom.
* Add some extra info to script load messagesMelanie2009-08-141-2/+2
|
* Replace the Replaceable modules nameMelanie2009-08-101-1/+1
|
* Another stab at cmickeyb's patch for script GC.Melanie2009-08-071-7/+7
| | | | | Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
* Revert the XEngine memleak patch, it causes premature GC.Melanie2009-08-071-7/+7
| | | | | This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
* |From: James J Greensky <jame.j.greensky@intel.com>Melanie2009-08-061-7/+7
| | | | | | | | | | | | | | | | | | | |Date: Wed, 5 Aug 2009 09:51:52 -0700 |Subject: [PATCH] Closed two major memory leaks for scripted objects | |Two major memory leaks for the scripted objects were fixed |- One leak had to do with remoting acrossing app domains. When a script and | its controlling agent communicate across an application boundary, it calls | functions on a stub proxy object that then invokes the remote method on | the object in the other app domain. These stub objects (two for each script) | were setup to have infinate lifetimes and were never being garbage collected. |- The second leak was the result of adding a scene object part instance method | to a scene event and never removing it. This cause the event's delegate list | to maintain a link to that object which is then never freed as the scene event | object is never destroyed. Patch applied, please direct feedback to me. Possible issue: Longtime idle scripts like vendors may fail.
* This change adds support for the attach event in scripts.Alan Webb2009-08-041-0/+1
| | | | | | | | | | | | | | | | | | | [1] Added a new OnAttach event to Scene/EventManager [2] Hooked up existing attach event handler in XEngine. [3] Modified SceneGraph and Scene.Inventory to trigger attach events at the appropriate places. I was forced to distribut the changes across two files because of the way attach processing is distributed across the two files. [4] In the case of RezSingleAttachmentFromInventory it is necessary to handle event scheduling in a special way. There is no synchronous path available, so the fact that this object is attached, and who it is attached to, is cached when the ScriptInstance is created. When the script is started, the attached handler is driven after on_rez (but before changed, this should be reviewed). Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
* Add plumbing for the SceneObjectDeleter to wait for the script engine toMelanie2009-08-041-0/+9
| | | | allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
* Committing the interface change and the addition to the modules to getMelanie Thielker2009-07-101-0/+5
| | | | | | the ball rolling on replacable modules. No user functionality yet
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-251-1/+1
| | | | | | | | | | | | | | | After noticing on several occasions that the thread counts we see when running OpenSIm were bordering on the astronomical I decided to seriously investigate. After much poking I discovered that the problem is actually very simple. The XEngine secition of the example ini says that the timeout for an iden thread is in seconds, and an example value of 60 is specified. In fact, this is actually resulting in a 60mS idle timeout, which is not normally enough for a smart thread to survive. I have added a multiplier to the XEngine constructor so that the number now matches the published behavior.
* From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2009-06-191-1/+7
| | | | | | This patch ensures that the touch positions are set during touch_end events (currently only working for touch_start and touch events).
* Correct an error where the config file name was always considered to be aMelanie Thielker2009-06-061-0/+7
| | | | | | | local file. This caused llHttpRequest and llSetInventoryPermsMask to fail on regions that load their config from a web server
* Thank you, thomax, for a patch to provide finer-grained access control toMelanie Thielker2009-06-051-1/+1
| | | | | | | scripting. Fixes Mantis #2862
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-014-4/+4
| | | | LICENSE.txt.
* Add the XML manifests needed to get the new style modules to load.Melanie Thielker2009-04-151-0/+13
| | | | | | Scripting now works again
* minor: Remove some mono compiler warnings. Uncomment code when it's ↵Justin Clarke Casey2009-04-151-2/+2
| | | | actually being used.
* Convert both script engines to new region module format. Add proper unloadMelanie Thielker2009-04-152-11/+60
| | | | | | handling to XEngine. Add needed stubs to DotNetEngine.
* Fix a regression where animations would only be sent if the avatar hasMelanie Thielker2009-04-121-2/+36
| | | | | | | attachments. Convert base types to LSL types for event marshalling through IScriptModule to avoid parameter errors.
* Adding a script event, changed(CHANGED_ANIMATION)Melanie Thielker2009-04-111-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
* Make the scrpt engines ignore any script that begins with //MRM:Melanie Thielker2009-04-101-0/+3
|
* Introduce IXmlRpcRouter, an interface that allows registering XMLRPCMelanie Thielker2009-04-101-0/+18
| | | | | | | UUIDs with a central marshaller for grids, or publish the ULS for objects elsewhere.
* Add events to IScriptEngine to notify scripting modules of the removalMelanie Thielker2009-04-101-0/+14
| | | | | | | | | 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.
* * Remove unnecessary build dependencies on the ExamplemoneyModule stub. Teravus Ovares2009-04-071-1/+0
| | | | | (??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
* Read the .map files in on sim startup. Also clean them up when an assemblyMelanie Thielker2009-03-261-0/+3
| | | | | | is deleted.
* Make the error messages passed to RegionReady more descriptiveMelanie Thielker2009-03-261-3/+4
| | | | | | | Patch by antont, thank you. Fixes Mantis #3338
* Thank you, dslake, for a patch that fixes XEngine linemap handling.Melanie Thielker2009-03-221-1/+4
| | | | | | Fixes Mantis #3321
* Mantis#3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke2009-02-231-0/+32
| | | | | | | Adds a warning for an LSL construct that exploits a popular list memory saving hack.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-1/+1
| | | | | | | | | * 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.
* Refactor log4net logger handling in script engine. (#3148)Jeff Ames2009-02-222-7/+6
|
* Fix the windows sharing violations on script crossingsMelanie Thielker2009-02-181-2/+2
|
* Fix some compiler warnings. Minor formatting cleanup.Jeff Ames2009-02-131-2/+2
|
* * Added XEngine tests and gathered other ScriptEngineSean Dague2009-02-121-0/+68
| | | | | | | Tests together From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield2009-02-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-062-6/+4
| | | | | | | | | | | | | | | | | | | | 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!
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-02-051-17/+46
| | | | | | | | | This patch fixes the problem where if an object containing a script is deleted at the same time as an object containing the same script is rezzed, it can result in the assembly file being deleted after the second object script initialisation has found it but not started using it yet, resulting in the script not starting up.
* Update svn properties, minor formatting cleanup.Jeff Ames2009-01-301-13/+13
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-01-281-8/+11
| | | | | | | | | | | | | | | | | | | This changeset fixes a race condition where a script (XEngine run) can startup before a reference is added to it in all of the required places in the XEngine class. The effect of this is that a script can sometimes on startup miss script events. For example a script which starts up and initialises itself from a notecard may never receive the dataserver event containing the notecard information. The patch isn't as clean as I'd like - I've split the constructor of ScriptInstance up so it does everything it did before except call Startup and post events like state_entry and on_rez. An Init function has been added which is called after the ScriptInstance object has been added to the necessary data structures in XEngine. Happy to rework it if someone suggests a better way of doing it.
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-01-281-0/+24
| | | | | | | | | Adding Oarfileloaded and EmptyScriptCompileQueue event support which allows (with a module) for programmatic notification of when a region objects and scripts are up and running after a server start or load-oar.
* * Progressive texture patch + PriorityQueue put into the LLClient namespace.Teravus Ovares2009-01-191-46/+56
| | | | | * Updates LibOMV to r2362
* Revert progressive texture patch from r8001 until issues can be addressedDahlia Trimble2009-01-101-56/+46
|
* Thanks jhurliman for a patch that implements progressive texture downloading ↵Dahlia Trimble2009-01-101-1/+11
| | | | - Mantis #2655
* Small fix to prevent client thread crash in multi-region instances whenMelanie Thielker2009-01-021-0/+9
| | | | | | a scripted object is paid
* Insert a 15 seconds delay before the script engine starts loading scriptsMelanie Thielker2008-12-281-0/+7
|
* An initial implementation of llMinEventDelay in XEngine.idb2008-12-211-0/+7
| | | | | | Not implemented yet in DotNetEngine. Fixes Mantis #2830
* Change XEngine money() event routing to always raise the money()Melanie Thielker2008-12-211-0/+2
| | | | | | event int he root prim of a linkset
* * Adding some locks to XEngine's m_PrimObjects which were prone to 'the ↵Teravus Ovares2008-12-171-23/+34
| | | | collection was modified'