aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-15extend m_entityUpdates.SyncRoot lock in LLClientView.ProcessEntityUpdates() ↵Justin Clark-Casey (justincc)1-49/+49
to reduce scope for kill/update race conditions This is necessary because it was still possible for an entity update packet to be constructed, the thread to pause, a kill to be sent on another thread, and then the original thread to resume and send the update This would result in an update being received after a kill, which results in undeletable ghost objects until the viewer is relogged Extending the lock looks okay since its only taken by kill, update and reprioritize, and both kill and update do not take further locks However, evidence suggests that there is still a kill/update race somewhere
2010-09-15rename SceneObjectGroup.DeleteGroup() to DeleteGroupFromScene() to improve ↵Justin Clark-Casey (justincc)4-4/+4
code readability
2010-09-15Instead of locking SOG.Children when a group is being removed from the ↵Justin Clark-Casey (justincc)1-15/+17
scene, iterate over an unlocked list instead Previously, deadlock was possible because deleting a group took a SOG.Children lock then an m_entityUpdates.SyncRoot lock in LLClientView At the same time, a thread starting from LLClientView.ProcessEntityUpdates() could take an m_entityUpdates.SyncRoot lock then later attempt to take a SOG.Children lock in PermissionsModule.GenerateClientFlags() and later on Taking a children list in SOG appears to be a better solution than changing PermissionsModule to not relook up the prim. Going the permission modules root would require that all downstream modules not take a SOG.Children lock either
2010-09-14Revert "Move OpenSimDefaults,ini into config-include in order to put it with ↵Justin Clark-Casey (justincc)1-1/+1
all the other default files" This reverts commit c3259e9c26f198b5fe0e7ed6c29c17c27c60ecb1. Reverted by agreement.
2010-09-14Move OpenSimDefaults,ini into config-include in order to put it with all the ↵Justin Clark-Casey (justincc)1-1/+1
other default files
2010-09-14Comment out SOG storing debug log messageJustin Clark-Casey (justincc)1-3/+3
This can get very spammy with regularly changing objects. Please uncomment if required.
2010-09-13Add a missing parenthesisMelanie1-1/+1
2010-09-13Change the help message to point to copying OpenSimDefaults.ini.example.Melanie1-1/+1
Provide a mostly empty OpenSim.ini.example
2010-09-13Output an error and quit if the master file is missing. Also renameMelanie1-4/+16
OpenSim.ini.example to bin/OpenSimDefaults.ini.example
2010-09-13Make the inimaster option default to OpenSimDefaults.ini.Melanie1-1/+1
2010-09-13minor: Add comments which explain what's going on wrt avatar movements at ↵Justin Clark-Casey (justincc)2-0/+6
various points in the main scene loop and associated methods
2010-09-13Improve generic message exception logging. Quieten down complaints about ↵Justin Clark-Casey (justincc)1-2/+4
unhandled GenericMessages
2010-09-13Add client name to packet resend log messages to make them a bit more ↵Justin Clark-Casey (justincc)1-3/+7
informative
2010-09-13Remove SceneGraph.DetachObject() which was accidentally left around after ↵Justin Clark-Casey (justincc)1-10/+0
being migrated to AttachmentsModule
2010-09-13Rename now protected method SetAttachmentInventoryStatus() to ↵Justin Clark-Casey (justincc)1-4/+4
ShowAttachInUserInventory() to match ShowDetachInUserInventory()
2010-09-13Remove IAttachmentsModule.SetAttachmentInventoryStatus() from public interfaceJustin Clark-Casey (justincc)2-16/+13
No core module is calling and it makes more sense to call methods such as AttachObject() which attach both to the avatar and update inventory appropriately
2010-09-13If attachment fails (e.g. because asset wasn't found) then don't try to set ↵Justin Clark-Casey (justincc)1-4/+2
attachment as shown in inventory Doing this results in a null reference exception
2010-09-13minor: Clean up log messages generated when an item is attachedJustin Clark-Casey (justincc)3-12/+8
2010-09-13* Fixing length calculations for HTTP texture downloads (the end byte is ↵John Hurliman1-4/+6
inclusive in Range: headers)
2010-09-12* Added ISimulationDataService and IEstateDataServiceJohn Hurliman11-169/+165
* Removed StorageManager * CONFIG CHANGE: There are no more database settings in OpenSim.ini. Check the config-include configuration files for region store and estate store database settings
2010-09-12Formatting cleanup.Jeff Ames62-509/+498
2010-09-12Add copyright headers.Jeff Ames1-0/+27
2010-09-12Added a stub for ↵John Hurliman2-20/+102
OpenSim.Services.Connectors.Simulation.SimulationDataServiceConnector
2010-09-11Shuffling fields and properties around in Scene to make Scene.cs more readableJohn Hurliman1-138/+124
2010-09-11Changed all string references of "IRegionDataStore" to "ISimulationDataStore"John Hurliman1-2/+2
2010-09-11Fixed the naming mess around data connectors for simulation dataJohn Hurliman6-11/+11
2010-09-11Prevent child agents from being blacklisted in the kill record.Melanie1-3/+6
2010-09-11Make it clear that the "create region" command will reference ini files in ↵Justin Clark-Casey (justincc)1-5/+6
the regions directory (usually Regions/) Also convert some tabs into spaces.
2010-09-10Made it impossible to create a user with names containing spaces and ↵randomhuman1-2/+3
prevented passwords from being echoed after enter is pressed.
2010-09-10Second pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman3-58/+35
2010-09-10First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman22-369/+245
2010-09-09Over a dozen thread safety fixes in FriendsModuleJohn Hurliman1-167/+163
2010-09-08* Changed 11 calls for session info to the more optimized API methodJohn Hurliman3-79/+35
2010-09-08Made the HG asset and inventory brokers use the Helo service in order to ↵Diva Canto1-6/+9
instantiate the right network connectors. Tested on Robust only.
2010-09-08Renamed the Helo server connector to a consistent name. Added this in ↵Diva Canto1-0/+1
connector to both Robust.HG.ini.example and HypergridServiceInConnectorModule.
2010-09-07Rolling back the recent libomv update but keeping the ExpiringCache cleanups ↵John Hurliman4-8/+8
(as much as is possible). There was a report of non-finite avatar positions after the update
2010-09-07* Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman6-10/+17
avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
2010-09-07Make sure unlinked child prims get persistedMelanie1-0/+5
2010-09-07If a scene object part UUID is changed (only possible when not in a scene), ↵Justin Clark-Casey (justincc)3-3/+12
then adjust the inventory items to point to the new uuid as well
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