aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Casey2-7/+7
RootPart and adding the part separately * Make RootPart read only
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 Thielker6-21/+134
groundwork.
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* 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 Frisby1-2/+2
* 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-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 Casey1-1/+2
2008-11-07* Rename PrimIDAllocate() to more effectively convey what it does, and put ↵Justin Clarke Casey2-6/+7
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 Casey1-6/+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 Casey3-17/+35
scene
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 Thielker6-83/+137
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
2008-11-06* refactor: Attach a scene object to a scene separately from its constructionJustin Clarke Casey6-69/+70
2008-11-06* minor: remove some mono compiler warningsJustin Clarke Casey1-0/+3
2008-11-06* minor: Make some 'startup config failed to load' log messages more consistentJustin Clarke Casey2-5/+23
2008-11-06Mantis#2423. Thank you kindly, Godfrey for a patch that:Charles Krinke1-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;
2008-11-06Mantis#2514 & 1375. Thank you kindly, Thomas for a patch that:Charles Krinke1-1/+1
Improves ScenePresence.cs for attachments when crossing boundaries between regions.
2008-11-06Disable distance sorting for child agents. It makes no sense there, as theMelanie Thielker1-4/+7
base point for the sort is 128,128,128, causing funny visuals
2008-11-06- fixes comparison of struct against null (no no no)Dr Scofield1-1/+1
- fixes IRCBridgeModule's XmlRpc method really paying attention to region parameter - cleans up indentation in IRCBridge code - fixes ConciergeModule exception on client logout
2008-11-06- create entries in avatarattachments table when first attaching an object; ↵Mike Mazur2-2/+46
fix issue 2512 - correct attachment offset; fix issue 2513 - thanks Thomas for the patches
2008-11-05* Apply second patch in http://opensimulator.org/mantis/view.php?id=2561Justin Clarke Casey1-1/+5
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect. * Thanks StrawberryFride!