aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/EventManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup.Jeff Ames2009-10-011-2/+2
|
* Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto2009-09-271-0/+13
| | | | neighbours in the grid service modules.
* Misc cleanup.Jeff Ames2009-08-161-1/+1
|
* Formatting cleanup. Fix some compiler warnings.Jeff Ames2009-08-131-1/+1
|
* Another stab at cmickeyb's patch for script GC.Melanie2009-08-071-5/+6
| | | | | 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-6/+5
| | | | | 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-5/+6
| | | | | | | | | | | | | | | | | | | |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/+16
| | | | | | | | | | | | | | | | | | | [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>
* When a shared module hooks OnClientClosed, it has no way of findingMelanie Thielker2009-06-191-3/+3
| | | | | | | | | out which client connection has closed. So, in multi-region sims, things can get messy fast. This introduces a second parameters, which is a Scene object ref. Minor adjustments to custom modules may be required due to this change.
* From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2009-06-191-3/+3
| | | | | | This patch ensures that the touch positions are set during touch_end events (currently only working for touch_start and touch events).
* * Corrected CAPS namespacesArthur Valadares2009-06-181-1/+1
| | | | | * "luke, use the sed"
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * Make it possible to add a request id to load and save oar requestsJustin Clarke Casey2009-04-151-6/+8
| | | | | | * This allows specific requests to be identified.
* Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Dragnlin2009-04-101-0/+32
| | | | | | | | | | | | | | Addresses Mantis #3381 The current implementation works as expected if the object has no rotation or only rotation around the Z axis; you can spin the object left or right (around the world Z axis). It works a little unexpectedly if the object has a non-Z-axis rotation; in this case the body is spun about its local Z axis, not the world Z-axis. (But SL also behaves oddly with a spin on an arbitrarily rotated object.)
* Thank you, mcortez, for a patch that fixes a number of long standingMelanie Thielker2009-03-131-13/+20
| | | | | | | issues with the sun module. Fixes Mantis #3295
* * Don't fail the client login if there are no OnClientConnect listenersJustin Clarke Casey2009-03-121-1/+2
|
* * optimized usings.lbsa712009-02-121-3/+2
|
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-0/+981
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!