aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-10* Extend basic scene test to retrieve the object from the scene and match uuidsJustin Clarke Casey1-3/+3
* 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-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 Thielker1-1/+2
an avatar moves.
2008-11-09Script region crossing. This has not user functionality, but lays all theMelanie Thielker1-1/+2
groundwork.
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-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* Fix bug in r7162 where avatars could not moveJustin Clarke Casey1-23/+0
* 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 Casey1-1/+1
the verb at the front
2008-11-07* Stop requiring local ids in the SOG constructors.Justin Clarke Casey1-5/+6
* These are assigned when the object is attached to the scene
2008-11-07* refactor: allocate local ids to prims only when an object is attached to a ↵Justin Clarke Casey1-1/+1
scene
2008-11-07Attachments, attachments, and, did I say attachments?Melanie Thielker1-11/+14
Too many fixes to list.
2008-11-06* refactor: Attach a scene object to a scene separately from its constructionJustin Clarke Casey1-2/+1
2008-11-06* minor: Make some 'startup config failed to load' log messages more consistentJustin Clarke Casey1-4/+5
2008-11-01Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,Homer Horwitz1-0/+14
on-/offline updates, calling cards for friends. This adds methods in the DB layer and changes the MessagingServer, so a full update (incl. UGAIM) is necessary to get it working. Older regions shouldn't break, nor should older UGAIM break newer regions, but friends/presence will only work with all concerned parts (UGAIM, source region and destination region) at this revision (or later). I added the DB code for MSSQL, too, but couldn't test that. BEWARE: May contain bugs.
2008-10-31* test: Add basic scene test which merely instantiates the scene right nowJustin Clarke Casey1-1/+0
* set debug scene name on scene registration, rather than within the Scene constructor
2008-10-30test: Extend malformed packet test to actually check that a valid packet can ↵Justin Clarke Casey1-5/+0
get through after the malformed ones have been sent
2008-10-28* minor: Add documentation to some of the appearance methods, change some ↵Justin Clarke Casey1-2/+0
logging messages
2008-10-28* minor: Doc and log message tidy upJustin Clarke Casey1-3/+9
* reinstate debug level log message indicating when a child agent is made a root for future debugging purposes
2008-10-22Remove the gratuitious prim deletes caused by linking. This makes linkingMelanie Thielker1-1/+3
a bit faster.
2008-10-18Fix thingd so that autoreturn also works when the user is not in the sim.Melanie Thielker1-0/+6
Also add experimental distance ordering for prims
2008-10-18Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.Melanie Thielker1-0/+49
Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts.
2008-10-16* Apply http://opensimulator.org/mantis/view.php?id=2405Justin Clarke Casey1-0/+8
* Implement llGetRegionFPS() * Thanks idb
2008-10-14* refactor: rename SendKiPrimitive to SendKillObject since this appears more ↵Justin Clarke Casey1-5/+5
descriptive of what it actually does
2008-10-14- convert comments into documentationMike Mazur1-38/+40
- minor formatting adjustments - remove some trailing whitespace
2008-10-11Add logging in case of a SOG without rootpartHomer Horwitz1-0/+5
2008-10-11* Removed Heartbeat timerTeravus Ovares1-127/+148
* Implemented a proper update thread * Removed the UpdateLock Mutex as it's no longer needed because updates can only happen one at a time now. * This should actually improve performance significantly.. But, see the warning on the next line! * Warning: If there are deadlocks that the threadpool timer method was hiding, this will expose them for all the nastiness they are.
2008-10-10Add the beginnings of a sim health check (through remote admin)Melanie Thielker1-0/+14
2008-10-08- Fix wrong order of max/min usage for clipping. Uses Util.Clamp nowHomer Horwitz1-0/+2
- Add support for immediate switching of Music/Media URLs. Radio-scripts should work now.
2008-10-08Add some permissions checks and fixesMelanie Thielker1-4/+45
2008-10-06* Stop the sim stats reporter reusing the same SimStatsPacket for all clientsJustin Clarke Casey1-2/+2
* I believe this was the cause of the remaining packet_out_of_order messages in the Linden client logs * There were race conditions where multiple clientstacks would overwrite each other's sequence numbers
2008-10-06Cause inventory items to also be sold when a prim is soldMelanie Thielker1-4/+1
2008-10-06Fix a number of errors in transfer of objectsMelanie Thielker1-0/+1
2008-10-06Implements ObjectOwner god mode packet (Set Owner To Me admin option)Melanie Thielker1-0/+2
2008-10-05For symmetry reasons, I think this probably is a bug.Homer Horwitz1-1/+1
2008-10-05Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-10-04* Check in the second part of ↵Justin Clarke Casey1-35/+29
http://opensimulator.org/mantis/view.php?id=2334 since enough time has passed such that servers following head have probably updated * This patch aims to store look at data when an avatar logs off in grid mode * However, in my short test it doesn't appear to be working yet - numbers are being stored but they don't look correct * But this doesn't appear to cause any login problems * Thanks tyre
2008-10-04Add "Drop" functionality to pie menuMelanie Thielker1-0/+1
2008-10-03Cause objects to be removed from the database when they go temp or getMelanie Thielker1-0/+5
attached. Also make sure that parcel prim counts get updated
2008-10-03Implement temp-on-rez objecte really being temporaryMelanie Thielker1-0/+32
2008-10-03Prevent attachments to be persisted in the destination region when theMelanie Thielker1-0/+8
avatar is not present there.
2008-10-03Mantis #1360Melanie Thielker1-0/+1
Thank you, idb, for a patch to implement the packet and plumbing for the material settings.
2008-10-01Added functions to find prims by nameJohan Berntsson1-0/+11
2008-09-30And one more. lThat should make all scripts start for everyoneMelanie Thielker1-1/+1
2008-09-30* Fixed minor issue while building: If you do a raytraced object placement ↵Adam Frisby1-0/+4
and a target isn't found, the object is rezzed at 0,0,0 - instead now it will place according to the position sent by the client. * We may instead want to abort and send a "Cannot Rez Here" message?
2008-09-29* refactor: move asynchronous scene object deletion to inventory queueing ↵Justin Clarke Casey1-0/+1
out to a separate class
2008-09-29* refactor: Rename InventoryModule to InventoryTransferModuleJustin Clarke Casey1-2/+2
2008-09-28Update svn properties. Minor formatting cleanup. Fix a compiler warning. ↵Jeff Ames1-1/+1
Fix a UUID vs null comparison.
2008-09-25Add an extension to allow registering multiple interfaces of a type withMelanie Thielker1-10/+43
Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works