aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-10* refactor: clean up SOG xml2 reloading to reuse more codeJustin Clarke Casey2-13/+4
2008-11-10Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker2-1/+12
it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
2008-11-10* refactor: Make xml (orig format) loading method reuse existing set root ↵Justin Clarke Casey1-9/+15
part method * miscellaneous doc/log message changes
2008-11-10fix unit tests use SetRootPart nowSean Dague1-3/+3
From: Sean Dague <sdague@gmail.com>
2008-11-10make things compile, but the test still fails because of the root partSean Dague1-3/+0
changes
2008-11-10Lock tests on EntityList.cs, multithreaded object additionSean Dague2-1/+290
and removal. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-10* minor: remove useless exception catchJustin Clarke Casey2-10/+2
2008-11-10* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵Justin Clarke Casey4-13/+8
RootPart and adding the part separately * Make RootPart read only
2008-11-10Removed some debug output I forgot to remove...Homer Horwitz1-13/+0
2008-11-10* Take out the 1 second sleep debugging line in ScenePresenceJustin Clarke Casey1-1/+0
2008-11-10* Refactor the callers of SOG.SetPartAsRoot() to use common codeJustin Clarke Casey1-31/+18
2008-11-10* Extend basic scene test to retrieve the object from the scene and match uuidsJustin Clarke Casey5-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
2008-11-10Keep dropped prims from being temp-on-rez and getting cleaned upMelanie Thielker1-0/+1
2008-11-10From: Christopher Yeoh <cyeoh@au1.ibm.com>Sean Dague1-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).
2008-11-10Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker4-7/+13
an avatar moves.
2008-11-09Script region crossing. This has not user functionality, but lays all theMelanie Thielker8-23/+136
groundwork.
2008-11-09* Applying EventQueueGetModule patch to try debug the case of the missing EQG.Adam Frisby1-1/+2
2008-11-09Update svn properties. Add copyright headers. Minor formatting cleanup.Jeff Ames2-2/+2
2008-11-09Reintroduce transactionID to the parameter list for SendInstantMessage.Melanie Thielker3-6/+6
It is required by group IM and also for a proper implementation of item give, group notice attachments and offline IM.
2008-11-08Mantis #2553: Thank you, idb, for a fix that helps to persist changes in ↵Homer Horwitz1-0/+8
prim attributes.
2008-11-08* Ported InstantMessageModule to IClientCoreAdam Frisby1-6/+11
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#InstantMessageModule.cs
2008-11-08* Implemented OnClientConnect in Scene EventManagerAdam Frisby1-0/+16
* Identical to OnNewClient except it passes IClientCore instead of IClientAPI * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08* Added IClientIM to IClientCore interfacesAdam Frisby5-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.*
2008-11-08Added necessary locking to LandManagementModule. As it is used by severalHomer Horwitz1-143/+239
threads concurrently, you'll get bad Heisenbugs without correct locking. This might fix Mantis#2413
2008-11-08Small bugfix for RemoveNeighbourRegionHomer Horwitz1-1/+1
2008-11-08Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker1-0/+26
No user functionality yet
2008-11-08Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.Jeff Ames1-1/+1
2008-11-08Remove part of another patch that would cause DNE to nuke the sim in it'sMelanie Thielker1-2/+0
current form
2008-11-08Refactor IEventReceiver back into IScriptEngineMelanie Thielker1-0/+2
2008-11-07* Correct catch changed on last commit, since I just realized I started ↵Justin Clarke Casey1-1/+1
making it catch a little too much, in principle
2008-11-07* minor: Remove mono compiler warningJustin Clarke Casey1-1/+1
2008-11-07* Apply http://opensimulator.org/mantis/view.php?id=2582Justin Clarke Casey3-65/+34
* Send prim flags as booleans from LLClientView rather than in the native LL array * Thanks idb
2008-11-07* Fix bug in r7162 where avatars could not moveJustin Clarke Casey4-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
2008-11-07* refactor: cleanup AllocateLocalPrimId() a bit moreJustin Clarke Casey8-27/+17
2008-11-07* Rename PrimIDAllocate() to more effectively convey what it does, and put ↵Justin Clarke Casey5-12/+13
the verb at the front
2008-11-07* Remove next local id from SceneBaseJustin Clarke Casey2-12/+0
* This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
2008-11-07* minor: Just some tidy up of log messages, etc.Justin Clarke Casey1-13/+5
2008-11-07* Stop requiring local ids in the SOG constructors.Justin Clarke Casey5-22/+25
* These are assigned when the object is attached to the scene
2008-11-07* refactor: stop unnecessary passing of scene to sog copy constructorJustin Clarke Casey1-6/+2
* this is now done in AttachToScene()
2008-11-07* Stop prim attach being signalled twice (it is already been done outside ↵Justin Clarke Casey1-5/+1
AttachToScene())
2008-11-07* Remove more UpdateParentIDs() calls that are now duplicatesJustin Clarke Casey2-7/+2
2008-11-07* Apply http://opensimulator.org/mantis/view.php?id=1883Justin Clarke Casey1-22/+8
* Fix llSetStatus() and llSetPrimitiveParams() * Thanks idb
2008-11-07* Stop now unnecessary separate local id allocation for restored objectsJustin Clarke Casey2-9/+2
* remove a debug line I accidentally left in there
2008-11-07* refactor: allocate local ids to prims only when an object is attached to a ↵Justin Clarke Casey5-19/+37
scene
2008-11-07* Apply patch in http://opensimulator.org/mantis/view.php?id=2397Justin Clarke Casey1-0/+5
* Fix from 7139 also needed in the Estate Menu teleport home functions * Thanks idb
2008-11-07Change teleport timingsMelanie Thielker1-2/+2
2008-11-07Fixing up some remaining attachment issuesMelanie Thielker1-6/+4
2008-11-07Attachments, attachments, and, did I say attachments?Melanie Thielker9-88/+141
Too many fixes to list.
2008-11-06* Remove SceneObjectPart.AttachToScene() since the remaining instruction can ↵Justin Clarke Casey2-16/+2
be done by other means
2008-11-06* eliminate unnecessary ScheduleFullUpdate()Justin Clarke Casey1-2/+0