aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-07Make sure unlinked child prims get persistedMelanie1-0/+5
2010-09-07minor: comment out some excessive test loggingJustin Clark-Casey (justincc)1-1/+1
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)6-42/+58
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)6-42/+58
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-06Add test that checks correct persistence when an unlink is quickly followed ↵Justin Clark-Casey (justincc)1-9/+40
by deletion of a linked part This test is temporarily not running since it currently fails due to a bug in this area
2010-09-06Make console backup command do a forced backup rather than non-forcedJustin Clark-Casey (justincc)4-8/+3
Remove no-arg backup method for simplicity as it only make sense to call non-forced backup internally
2010-09-06extend TestNewSceneObjectLinkPersistence() to check for presence of non-root ↵Justin Clark-Casey (justincc)1-2/+3
linked prim
2010-09-06Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)7-21/+78
Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
2010-09-06Fix yet another cause of "Ghost attachments"Melanie Thielker1-3/+12
2010-09-06Reflect the ParcelPropertiesUpdateRequest into Scene.EventManager, becauseMelanie Thielker2-4/+36
modules need to see it (Search!) even if it comes in via CAPS
2010-09-05Add missing IDwellModule interfaceMelanie1-0/+37
2010-09-05Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker3-15/+11
on IDwellModule
2010-09-04Logout the presence if client IP verification fails.Diva Canto1-0/+2
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)7-68/+45
folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
2010-09-04Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)3-14/+33
The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
2010-09-03minor: remove mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2010-09-03minor: remove mono compiler warningsJustin Clark-Casey (justincc)3-8/+8
2010-09-03llRot2Euler TestsMicheil Merlin1-0/+30
2010-09-03Fix an issue with rezzing scripted objects.Melanie Thielker1-2/+2
2010-09-02Remove commented code and the comment, as the change has proven outMelanie Thielker1-3/+0
2010-09-02Experimentally comment the sending of unbaked avatarsMelanie Thielker1-1/+3
2010-09-02Show when appearance is sent to an avatar to help track down failureMelanie Thielker1-0/+1
\to display avatars
2010-09-01refactor: move SOG.AttachToAgent() into AttachmentsModuleJustin Clark-Casey (justincc)2-78/+74
2010-08-31Adjust the "Magic numbers" we use because we can't reference the actualMelanie Thielker4-4/+4
script state enum to reflect recent changes.
2010-08-31refactor: change AttachmentsModule.AttachObject to use sp.GetAttachments ↵Justin Clark-Casey (justincc)1-9/+5
rather than filter sp.Attachments list directly
2010-08-31Add ScenePresence.GetAttachments(uint attachmentPoint)Justin Clark-Casey (justincc)1-0/+21
2010-08-31reinsert functionality to debug log more levels of incoming and outgoing ↵Justin Clark-Casey (justincc)3-11/+50
client protocol packets These levels correspond to packets that one isn't usually interested in when debugging (e.g. regular outgoing SimStats packets) This is equivalent to what we had a year ago before it was removed. It's extremely crude since it doesn't allow one to pick individual clients or packets. However, it can still be useful when debugging packet race conditions.
2010-08-30Report exception message as well as stack trace if a region fails to ↵Justin Clark-Casey (justincc)1-1/+3
register with the grid service in grid mode
2010-08-30Implements parcel media setting persistence and packet / CAPS handlingJonathan Freedman7-187/+166
properly for the new media settings. Signed-off-by: Melanie <melanie@t-data.com>
2010-08-30local commit with parcel media bitsJonathan Freedman7-187/+166
Signed-off-by: Melanie <melanie@t-data.com>
2010-08-28Replace hardcoded 0 with KickFlags provided by the client.Justin Clark-Casey (justincc)1-1/+1
This finally completes http://opensimulator.org/mantis/view.php?id=4356 where this change had been accidentally removed. Thanks Revolution.
2010-08-28very minor log message and var name tweaking for iar savingJustin Clark-Casey (justincc)2-5/+8
2010-08-27Addresses mantis #4991 -- HG between two regions with the same map ↵Diva Canto1-0/+9
coordinates fails with no warning
2010-08-28Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)9-371/+384
2010-08-27minor: reduce log chattiness of "load iar" for IARs with lots of foldersJustin Clark-Casey (justincc)1-1/+1
2010-08-27allow inventory path specified in "load iar" to start with a / (e.g. ↵Justin Clark-Casey (justincc)2-1/+33
/Objects is now valid where it wasn't before)
2010-08-27refactor: Make IAR tests set up standard iar for loadingJustin Clark-Casey (justincc)1-44/+60
2010-08-26Send a null result search packet when no results are passsed inMelanie1-1/+4
2010-08-26More on mantis #4985Diva Canto1-6/+14
2010-08-26Addresses mantis #4985 -- exceptions in DataSnapshotDiva Canto1-7/+23
2010-08-26minor: remove mono compiler warningJustin Clark-Casey (justincc)1-3/+4
2010-08-26refactor: Move Scene.Inventory.UpdateKnownItem() into Attachments module ↵Justin Clark-Casey (justincc)2-49/+58
since this appears to relate solely to attachments
2010-08-26refactor: break out attachment position change code in ↵Justin Clark-Casey (justincc)3-25/+41
Scene.UpdatePrimPosition() and move into AttachmentsModule This allows region modules to change attachment positions.
2010-08-26minor: change log message from info to debugJustin Clark-Casey (justincc)1-1/+1
2010-08-26Addresses mantis #4984 -- Datasnapshot exceptions.Diva Canto1-3/+12
2010-08-26Remove mono compiler warningsJustin Clark-Casey (justincc)7-36/+7
2010-08-26Reinstate kill record check that prevents an entity update being sent to a ↵Justin Clark-Casey (justincc)1-1/+19
client after it has been told that the entity has been deleted. On Linden Lab clients and some derivatives, receiving an entity update after an entity deletion notice results in an undeleteable prim that disappears upon client relog. This check was dropped in 0.7 for unknown reasons but renewed testing demonstrates that queued updates can still be present after a scene object has been deleted.
2010-08-26Use SOP.ParentGroup in Prioritizer instead of Scene.GetGroupByPrim()Justin Clark-Casey (justincc)1-2/+16
By the time a scheduled update is triggered, a sog may have been removed from the scene. This change prevents NullReferenceExceptions in these situations.
2010-08-26replace m_parts.Count linknum with 0 in CopyRootPart since m_parts.Count is ↵Justin Clark-Casey (justincc)1-1/+1
always 0 (and any other number would cause an error anyway)
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)19-586/+739
conditions in linking and unlinking