aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * Extend basic scene test to retrieve the object from the scene and match uuidsJustin Clarke Casey2008-11-105-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 upMelanie Thielker2008-11-101-0/+1
|
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Sean Dague2008-11-101-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 whichMelanie Thielker2008-11-104-7/+13
| | | | | | an avatar moves.
* Script region crossing. This has not user functionality, but lays all theMelanie Thielker2008-11-096-21/+134
| | | | | | groundwork.
* Mantis #2553: Thank you, idb, for a fix that helps to persist changes in ↵Homer Horwitz2008-11-081-0/+8
| | | | prim attributes.
* * Implemented OnClientConnect in Scene EventManagerAdam Frisby2008-11-081-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 interfacesAdam Frisby2008-11-081-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.*
* Small bugfix for RemoveNeighbourRegionHomer Horwitz2008-11-081-1/+1
|
* Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker2008-11-081-0/+26
| | | | | | No user functionality yet
* Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-081-1/+1
|
* Remove part of another patch that would cause DNE to nuke the sim in it'sMelanie Thielker2008-11-081-2/+0
| | | | | | current form
* Refactor IEventReceiver back into IScriptEngineMelanie Thielker2008-11-081-0/+2
|
* * Correct catch changed on last commit, since I just realized I started ↵Justin Clarke Casey2008-11-071-1/+1
| | | | making it catch a little too much, in principle
* * minor: Remove mono compiler warningJustin Clarke Casey2008-11-071-1/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=2582Justin Clarke Casey2008-11-073-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 moveJustin Clarke Casey2008-11-074-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 moreJustin Clarke Casey2008-11-071-1/+2
|
* * Rename PrimIDAllocate() to more effectively convey what it does, and put ↵Justin Clarke Casey2008-11-072-6/+7
| | | | the verb at the front
* * Remove next local id from SceneBaseJustin Clarke Casey2008-11-072-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 Casey2008-11-071-13/+5
|
* * Stop requiring local ids in the SOG constructors.Justin Clarke Casey2008-11-075-22/+25
| | | | | | * These are assigned when the object is attached to the scene
* * refactor: stop unnecessary passing of scene to sog copy constructorJustin Clarke Casey2008-11-071-6/+2
| | | | | | * this is now done in AttachToScene()
* * Stop prim attach being signalled twice (it is already been done outside ↵Justin Clarke Casey2008-11-071-5/+1
| | | | AttachToScene())
* * Remove more UpdateParentIDs() calls that are now duplicatesJustin Clarke Casey2008-11-071-6/+2
|
* * Apply http://opensimulator.org/mantis/view.php?id=1883Justin Clarke Casey2008-11-071-22/+8
| | | | | | | * Fix llSetStatus() and llSetPrimitiveParams() * Thanks idb
* * Stop now unnecessary separate local id allocation for restored objectsJustin Clarke Casey2008-11-072-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 Casey2008-11-073-17/+35
| | | | scene
* Change teleport timingsMelanie Thielker2008-11-071-2/+2
|
* Fixing up some remaining attachment issuesMelanie Thielker2008-11-071-6/+4
|
* Attachments, attachments, and, did I say attachments?Melanie Thielker2008-11-076-83/+137
| | | | | | Too many fixes to list.
* * Remove SceneObjectPart.AttachToScene() since the remaining instruction can ↵Justin Clarke Casey2008-11-062-16/+2
| | | | be done by other means
* * eliminate unnecessary ScheduleFullUpdate()Justin Clarke Casey2008-11-061-2/+0
|
* * refactor: Attach a scene object to a scene separately from its constructionJustin Clarke Casey2008-11-066-69/+70
|
* * minor: remove some mono compiler warningsJustin Clarke Casey2008-11-061-0/+3
|
* * minor: Make some 'startup config failed to load' log messages more consistentJustin Clarke Casey2008-11-062-5/+23
|
* Mantis#2423. Thank you kindly, Godfrey for a patch that:Charles Krinke2008-11-061-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;
* Mantis#2514 & 1375. Thank you kindly, Thomas for a patch that:Charles Krinke2008-11-061-1/+1
| | | | | | Improves ScenePresence.cs for attachments when crossing boundaries between regions.
* Disable distance sorting for child agents. It makes no sense there, as theMelanie Thielker2008-11-061-4/+7
| | | | | | base point for the sort is 128,128,128, causing funny visuals
* - fixes comparison of struct against null (no no no)Dr Scofield2008-11-061-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
* - create entries in avatarattachments table when first attaching an object; ↵Mike Mazur2008-11-062-2/+46
| | | | | | | | | fix issue 2512 - correct attachment offset; fix issue 2513 - thanks Thomas for the patches
* * Apply second patch in http://opensimulator.org/mantis/view.php?id=2561Justin Clarke Casey2008-11-051-1/+5
| | | | | | | * Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect. * Thanks StrawberryFride!
* * Stop sending wearables back to the client on set appearanceJustin Clarke Casey2008-11-041-6/+1
| | | | | | * Now I've had time to analyze this, the Second Life grid doesn't appear to send this to the client (which in principle should know what wearables it has already)
* * minor: appearance related doc and log message tweakingJustin Clarke Casey2008-11-041-5/+11
|
* Added a (xmlIgnored) SitAnimation property to SceneObjectPart. That allows ↵MW2008-11-042-2/+66
| | | | | | | | | the setting of the name of the animation to be used when a avatar sits on that object. At some point in the future this should be persisted. So basically simplifies what a lsl script that detects a avatar sitting on a prim, then stopping the sit animation and playing a custom animation, does. Also added another ScenePresence.HandleAgentRequestSit() method , that accepts the name of the sit animation. So that modules can override the animation used, when they are doing a server controlled sit. Started some work on making the stand pose be played as soon as a user logs into a region. Rather than them starting with their arms stretched. This still needs more work
* On TP, child-agents weren't closed down properly, as the list of child-regionsHomer Horwitz2008-11-031-0/+4
| | | | | | was cleared before using it to find the children.
* Cause inventory to be fetched on scripted item gives if the destinationMelanie Thielker2008-11-021-0/+2
| | | | | | avatar is remote or offline.
* * Minor cleanupAdam Frisby2008-11-011-2/+2
| | | | | * Added additional error message when a Object/SOG DB save fails so we can trace why.
* Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,Homer Horwitz2008-11-011-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.
* * refactor: Convert most non SOP methods to use SOG.IsAttachment rather than ↵Justin Clarke Casey2008-11-013-10/+10
| | | | SOP.IsAttachment