aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright headers. Formatting cleanup. Fix a compiler warning.Jeff Ames2009-08-171-1/+0
|
* Add copyright header. Formatting cleanup.Jeff Ames2009-08-171-1/+1
|
* Merge branch 'master' of ssh://MyConnection/var/git/opensimTeravus Ovares (Dan Olivares)2009-08-166-76/+70
|\
| * Misc cleanup.Jeff Ames2009-08-164-76/+46
| |
| * Thanks dmiles for a patch that adds PacketType.RequestMultipleObjects Packet ↵Adam Johnson2009-08-162-0/+24
| | | | | | | | Handler - ref mantis #4010
* | * ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)2009-08-161-1/+1
|/ | | | | | randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
* * minor: commentsTeravus Ovares (Dan Olivares)2009-08-151-2/+99
| | | | * also re-trigger panda
* * minor : CommentsTeravus Ovares (Dan Olivares)2009-08-141-3/+68
| | | | * Also re-trigger Panda.
* * minor : commentsTeravus Ovares (Dan Olivares)2009-08-141-3/+69
| | | | * also re-trigger panda
* * Put the StandaloneTeleportTest in a new thread and call Thread.Join() ↵Teravus Ovares (Dan Olivares)2009-08-141-20/+95
| | | | inside a try/Catch (ThreadAbortException) to try and get around scene code aborting the testing thread. Use a Messenger class to report the results back to the test thread.
* * allocate the dictionary for AgentCircuitData.ChildrenCapSeeds when ↵Teravus Ovares (Dan Olivares)2009-08-141-0/+1
| | | | creating the circuitdata object to see if it's the cause of a null reference exception in the TestAddNeighbourRegio test
* Deal with possible race in TestAddNeighborRegion in ScenePresenceTestsTeravus Ovares (Dan Olivares)2009-08-131-0/+24
|
* Formatting cleanup. Fix some compiler warnings.Jeff Ames2009-08-132-27/+24
|
* * Added two new packet handler implementations for inventory ops. This is ↵Diva Canto2009-08-122-3/+34
| | | | | | | starting to work! - but can't be activated incrementally, the flip needs to be global for all inventory ops. * Added a base inventory connector that does common processing of inventory among all reference connector implementations. E.g. AddItem requires additional processing before being forwarded to service. * Added if (m_Enabled) upon RemoveRegion
* Fixes a race condition in EQ processing that was making EQs pop up again ↵Diva Canto2009-08-111-12/+12
| | | | | | upon client close. Commented remote call on GetSystemFolders again, so that it's not live yet.
* Replace the Replaceable modules nameMelanie2009-08-101-1/+1
|
* Formatting cleanup.Jeff Ames2009-08-091-1/+1
|
* * More tweaking of the various services to work with nonstandard region ↵Teravus Ovares (Dan Olivares)2009-08-081-0/+6
| | | | sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it.
* This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2009-08-072-4/+5
| | | | lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
* * Remove hard coded 256 limitations from various places. There's no more ↵Teravus Ovares (Dan Olivares)2009-08-071-0/+13
| | | | 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
* Another stab at cmickeyb's patch for script GC.Melanie2009-08-072-13/+14
| | | | | Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
* Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensimMelanie2009-08-071-0/+6
|\
| * Added ToXml2() to ISceneObject, so that components other than regions can ↵Diva Canto2009-08-061-0/+6
| | | | | | | | use this abstraction.
* | Revert the XEngine memleak patch, it causes premature GC.Melanie2009-08-072-14/+13
|/ | | | | 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-062-13/+14
| | | | | | | | | | | | | | | | | | | |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.
* goose pandaJustin Clark-Casey (justincc)2009-08-061-3/+1
|
* * Small commented out debug message for module loading, partly to test my ↵Justin Clark-Casey2009-08-041-0/+2
| | | | ability to commit with git
* Slight change to state management for attach scheduling.Alan Webb2009-08-041-2/+2
| | | | Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
* This change adds support for the attach event in scripts.Alan Webb2009-08-043-0/+24
| | | | | | | | | | | | | | | | | | | [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-046-3/+52
| | | | allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
* * Tweak the caps manager so that the NPCAvatar works again.Teravus Ovares2009-08-012-9/+44
|
* Preserve the creator of items copied in inventory.Melanie Thielker2009-07-271-7/+7
| | | | | | Fixes Mantis #3946
* * Updates libOMV to version 0.7.0Teravus Ovares2009-07-252-2/+3
| | | | | | | | * Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
* * minor ccclbsa712009-07-242-1/+13
|
* * Updates RESTInterregionComms and LocalInterregionComms to the new region ↵Arthur Valadares2009-07-232-5/+3
| | | | | | | | | | | | | module interface. This fixes an issue where region references were being added but weren't being deleted, causing those "unnotified circuit" messages. * Also fixes tests accordingly - Fixes Mantis #3452 - Fixes Mantis #3388 - Fixes Mantis #3871 - Related to Mantis #3493
* * Fixed a case where a prim was a NullPhysicsActor instead of an OdePrimTeravus Ovares2009-07-211-1/+1
| | | | | | * Commented logic that wasn't being used. * This should fix the errors in OdeScene.near
* * Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares2009-07-191-1/+72
| | | | | | | | | a raycast test safely. * Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see. * Created a way to know if the user's camera is alt + cammed or just following the avatar. * Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
* * patch from joncTeravus Ovares2009-07-171-2/+2
| | | | | | | * Fixes scaling a group in some situations. * fixes mantis #3886 * Thanks jonc!
* * Another attempt to remedy the 'ghost prim' situation. This time for ↵Teravus Ovares2009-07-171-0/+3
| | | | attachments on teleport.
* * This should fix the phantom prim from attachments rezzing.Teravus Ovares2009-07-171-0/+3
| | | | | | * fixes mantis #3896 * fixes mantis #3898
* fixed the bug where changing the rotation of a selection of prims in a ↵MW2009-07-173-3/+87
| | | | | | | | | linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects). This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client. Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files. [Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
* * Change the order of Update so Physics processes a frame before the scene ↵Teravus Ovares2009-07-172-54/+89
| | | | | | | | | | | | manipulates the physics Scene.cs * Remove the draconic locking around adding an avatar to the Scene * Handle an extreme error case when border crossing fails and user uses map to teleport to a different region on the same instance causing control commands to go to a child agent. * Make the Set Appearance method use the proper 'remove from physics scene' method. * It *may* help border crossings. * It *may* help the 'on avatar rez' lag, that people have been seeing the past week. * It may also cause physics to crash more often on failed teleports (though.. I think I got the cases covered).
* Allow OpenSim to run without script engines enabledMelanie Thielker2009-07-161-0/+5
| | | | | | Fixes Mantis #3893
* * Tweaking collision reporting a little more in ScenePresence to not check ↵Teravus Ovares2009-07-161-1/+1
| | | | if the collisions will affect health if the avatar is invulnerable. (saves 3 loops)
* There was possible a locking issue in revision 9951 so reverting that ↵MW2009-07-161-18/+21
| | | | revision until further testing can be done.
* minor: remove some mono compiler warningsJustin Clarke Casey2009-07-153-4/+2
|
* Bounding Box/find rez from inventory point code now seems to be working ↵MW2009-07-152-6/+24
| | | | | | | correctly. So next step is to clean up that code and wait for bug reports.
* Yet more work on fixing the boundingbox code.MW2009-07-151-11/+21
|
* More fixing of the boundingbox code.MW2009-07-151-8/+9
| | | | | Still more work needed to get linksets to rezz correctly (not in the ground)
* A attemp to fix the boundingBox code that I committed the other day.MW2009-07-151-25/+174
|