Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make things compile, but the test still fails because of the root part | Sean Dague | 2008-11-10 | 1 | -3/+0 |
| | | | | | changes | ||||
* | Lock tests on EntityList.cs, multithreaded object addition | Sean Dague | 2008-11-10 | 2 | -1/+290 |
| | | | | | | | and removal. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com> | ||||
* | * minor: remove useless exception catch | Justin Clarke Casey | 2008-11-10 | 2 | -10/+2 |
| | |||||
* | * refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵ | Justin Clarke Casey | 2008-11-10 | 4 | -13/+8 |
| | | | | | | | | RootPart and adding the part separately * Make RootPart read only | ||||
* | Removed some debug output I forgot to remove... | Homer Horwitz | 2008-11-10 | 1 | -13/+0 |
| | |||||
* | * Take out the 1 second sleep debugging line in ScenePresence | Justin Clarke Casey | 2008-11-10 | 1 | -1/+0 |
| | |||||
* | * Refactor the callers of SOG.SetPartAsRoot() to use common code | Justin Clarke Casey | 2008-11-10 | 1 | -31/+18 |
| | |||||
* | * Extend basic scene test to retrieve the object from the scene and match uuids | Justin Clarke Casey | 2008-11-10 | 5 | -63/+28 |
| | | | | | | | * Decouple sog and sop by removing the need to pass the sog to the sop when it is created - most of the code was doing this operation (and hence duplicating it) anyway * Remove unused constructors | ||||
* | Keep dropped prims from being temp-on-rez and getting cleaned up | Melanie Thielker | 2008-11-10 | 1 | -0/+1 |
| | |||||
* | From: Christopher Yeoh <cyeoh@au1.ibm.com> | Sean Dague | 2008-11-10 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses mantis bug 2576. http://opensimulator.org/mantis/view.php?id=2576 Briefly, if you call llDie from many scripts at the same time (say a build is cleaning up excess objects) then OpenSim deadlocks. Avatars are unable to move, and whilst the console is active you can't do much without it also locking up. This only occurs with the XEngine script engine enabled. I have attached a patch which works, but I'm not sure its the right way to address the problem. The fundamental problem is that a lock on a SceneObjectGroup's m_parts is taken when the object is deleted, a callback to the script engine occurs and a fair way down the callchain, potentially there are locks taken on several other SceneObjectGroup's m_parts. Deadlock then occurs if you get unlucky enough to get in the situation where with several llDie's are called and SceneObjectGroups have taken a lock on their own m_parts, and end up waiting on each other's locks to become available. The patch adds a lock at a high level so that that the removal of script instances from an object only occurs once per scene at a time. This avoids the potential of deadlock. Theoretically there could be some performance hit but AFAICT the path taken is not a common occurrence. Would welcome any suggestions for a better solution, otherwise feel free to apply :-) Note this patch was built against the 0.6.0 freeze as trunk was rather broken for me this morning (creating a script killed the client connection). | ||||
* | Stop attachments from causing an update to be sent on every frame in which | Melanie Thielker | 2008-11-10 | 4 | -7/+13 |
| | | | | | | an avatar moves. | ||||
* | Script region crossing. This has not user functionality, but lays all the | Melanie Thielker | 2008-11-09 | 8 | -23/+136 |
| | | | | | | groundwork. | ||||
* | * Applying EventQueueGetModule patch to try debug the case of the missing EQG. | Adam Frisby | 2008-11-09 | 1 | -1/+2 |
| | |||||
* | Update svn properties. Add copyright headers. Minor formatting cleanup. | Jeff Ames | 2008-11-09 | 2 | -2/+2 |
| | |||||
* | Reintroduce transactionID to the parameter list for SendInstantMessage. | Melanie Thielker | 2008-11-09 | 3 | -6/+6 |
| | | | | | | | It is required by group IM and also for a proper implementation of item give, group notice attachments and offline IM. | ||||
* | Mantis #2553: Thank you, idb, for a fix that helps to persist changes in ↵ | Homer Horwitz | 2008-11-08 | 1 | -0/+8 |
| | | | | prim attributes. | ||||
* | * Ported InstantMessageModule to IClientCore | Adam Frisby | 2008-11-08 | 1 | -6/+11 |
| | | | | | * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#InstantMessageModule.cs | ||||
* | * Implemented OnClientConnect in Scene EventManager | Adam Frisby | 2008-11-08 | 1 | -0/+16 |
| | | | | | | * Identical to OnNewClient except it passes IClientCore instead of IClientAPI * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide | ||||
* | * Added IClientIM to IClientCore interfaces | Adam Frisby | 2008-11-08 | 5 | -25/+24 |
| | | | | | | * Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting. * Removed unused usings from Framework.* | ||||
* | Added necessary locking to LandManagementModule. As it is used by several | Homer Horwitz | 2008-11-08 | 1 | -143/+239 |
| | | | | | | | threads concurrently, you'll get bad Heisenbugs without correct locking. This might fix Mantis#2413 | ||||
* | Small bugfix for RemoveNeighbourRegion | Homer Horwitz | 2008-11-08 | 1 | -1/+1 |
| | |||||
* | Add some discovery code, laying groundwork for region-crossing scripts | Melanie Thielker | 2008-11-08 | 1 | -0/+26 |
| | | | | | | No user functionality yet | ||||
* | Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup. | Jeff Ames | 2008-11-08 | 1 | -1/+1 |
| | |||||
* | Remove part of another patch that would cause DNE to nuke the sim in it's | Melanie Thielker | 2008-11-08 | 1 | -2/+0 |
| | | | | | | current form | ||||
* | Refactor IEventReceiver back into IScriptEngine | Melanie Thielker | 2008-11-08 | 1 | -0/+2 |
| | |||||
* | * Correct catch changed on last commit, since I just realized I started ↵ | Justin Clarke Casey | 2008-11-07 | 1 | -1/+1 |
| | | | | making it catch a little too much, in principle | ||||
* | * minor: Remove mono compiler warning | Justin Clarke Casey | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | * Apply http://opensimulator.org/mantis/view.php?id=2582 | Justin Clarke Casey | 2008-11-07 | 3 | -65/+34 |
| | | | | | | | * Send prim flags as booleans from LLClientView rather than in the native LL array * Thanks idb | ||||
* | * Fix bug in r7162 where avatars could not move | Justin Clarke Casey | 2008-11-07 | 4 | -28/+30 |
| | | | | | | | * Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one * I don't believe this will cause any problems, but please revert to a separate sequence if it does | ||||
* | * refactor: cleanup AllocateLocalPrimId() a bit more | Justin Clarke Casey | 2008-11-07 | 8 | -27/+17 |
| | |||||
* | * Rename PrimIDAllocate() to more effectively convey what it does, and put ↵ | Justin Clarke Casey | 2008-11-07 | 5 | -12/+13 |
| | | | | the verb at the front | ||||
* | * Remove next local id from SceneBase | Justin Clarke Casey | 2008-11-07 | 2 | -12/+0 |
| | | | | | | * This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy | ||||
* | * minor: Just some tidy up of log messages, etc. | Justin Clarke Casey | 2008-11-07 | 1 | -13/+5 |
| | |||||
* | * Stop requiring local ids in the SOG constructors. | Justin Clarke Casey | 2008-11-07 | 5 | -22/+25 |
| | | | | | | * These are assigned when the object is attached to the scene | ||||
* | * refactor: stop unnecessary passing of scene to sog copy constructor | Justin Clarke Casey | 2008-11-07 | 1 | -6/+2 |
| | | | | | | * this is now done in AttachToScene() | ||||
* | * Stop prim attach being signalled twice (it is already been done outside ↵ | Justin Clarke Casey | 2008-11-07 | 1 | -5/+1 |
| | | | | AttachToScene()) | ||||
* | * Remove more UpdateParentIDs() calls that are now duplicates | Justin Clarke Casey | 2008-11-07 | 2 | -7/+2 |
| | |||||
* | * Apply http://opensimulator.org/mantis/view.php?id=1883 | Justin Clarke Casey | 2008-11-07 | 1 | -22/+8 |
| | | | | | | | * Fix llSetStatus() and llSetPrimitiveParams() * Thanks idb | ||||
* | * Stop now unnecessary separate local id allocation for restored objects | Justin Clarke Casey | 2008-11-07 | 2 | -9/+2 |
| | | | | | | * remove a debug line I accidentally left in there | ||||
* | * refactor: allocate local ids to prims only when an object is attached to a ↵ | Justin Clarke Casey | 2008-11-07 | 5 | -19/+37 |
| | | | | scene | ||||
* | * Apply patch in http://opensimulator.org/mantis/view.php?id=2397 | Justin Clarke Casey | 2008-11-07 | 1 | -0/+5 |
| | | | | | | | * Fix from 7139 also needed in the Estate Menu teleport home functions * Thanks idb | ||||
* | Change teleport timings | Melanie Thielker | 2008-11-07 | 1 | -2/+2 |
| | |||||
* | Fixing up some remaining attachment issues | Melanie Thielker | 2008-11-07 | 1 | -6/+4 |
| | |||||
* | Attachments, attachments, and, did I say attachments? | Melanie Thielker | 2008-11-07 | 9 | -88/+141 |
| | | | | | | Too many fixes to list. | ||||
* | * Remove SceneObjectPart.AttachToScene() since the remaining instruction can ↵ | Justin Clarke Casey | 2008-11-06 | 2 | -16/+2 |
| | | | | be done by other means | ||||
* | * eliminate unnecessary ScheduleFullUpdate() | Justin Clarke Casey | 2008-11-06 | 1 | -2/+0 |
| | |||||
* | * refactor: Attach a scene object to a scene separately from its construction | Justin Clarke Casey | 2008-11-06 | 6 | -69/+70 |
| | |||||
* | * minor: remove some mono compiler warnings | Justin Clarke Casey | 2008-11-06 | 1 | -0/+3 |
| | |||||
* | * minor: Make some 'startup config failed to load' log messages more consistent | Justin Clarke Casey | 2008-11-06 | 3 | -7/+25 |
| | |||||
* | Mantis#2423. Thank you kindly, Godfrey for a patch that: | Charles Krinke | 2008-11-06 | 1 | -2/+2 |
| | | | | | | | | Included patch fixes error: Z and W terms in the quaternion were swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>). There is an issue with older prims: it seems their default sit target was not always set to ZERO_ROTATION; |