aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-10-08Make SendKillObject send multiple localIDs in one packet. This avoids theMelanie1-1/+1
halting visual behavior of large group deletes and eliminates the packet flood
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-1/+1
MapAndArray collection
2010-09-16minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-3/+3
2010-09-12Fix unit test SceneSetupHelpers to load the mock simulation data storeJohn Hurliman1-0/+75
2010-09-12* Added ISimulationDataService and IEstateDataServiceJohn Hurliman1-7/+3
* 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 Ames2-4/+4
2010-09-11Changed all string references of "IRegionDataStore" to "ISimulationDataStore"John Hurliman1-1/+0
2010-09-11Fixed the naming mess around data connectors for simulation dataJohn Hurliman1-1/+1
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)2-14/+68
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)2-14/+68
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 to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)2-2/+155
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-08-27allow inventory path specified in "load iar" to start with a / (e.g. ↵Justin Clark-Casey (justincc)1-12/+12
/Objects is now valid where it wasn't before)
2010-08-24Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2-13/+30
goes to the correct directory Also removes some mono compiler warnings
2010-08-16Added SendTeleportProgress to IClientAPI. Ya know what that means... 8 files ↵Diva Canto1-0/+4
affected.
2010-08-16Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto1-1/+1
TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
2010-08-13minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2010-08-06Implement CreateNewOutfitAttachments. This addresses mantis #199.Tom1-1/+1
2010-07-14Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie1-4/+0
Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
2010-07-14Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie Thielker1-4/+0
Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
2010-06-28Provide the interface for StoreAsset to report success or failureTom Grimshaw1-1/+2
2010-06-18Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)1-6/+6
This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
2010-06-12Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie1-0/+4
we used to send before slimupdates and explicitly send it
2010-06-11Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-5/+0
GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
2010-06-11Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-0/+5
GetFolder(InventoryFolderBase folder) This involves no wire changes since the methods often just construct an InventoryFolderBase under the hood. This is in line with other methods that alraedy allow requests via uuid
2010-06-04remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)1-46/+0
easily configured for test purposes
2010-05-21Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari1-0/+5
parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
2010-05-21* Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman1-1/+1
Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority
2010-05-18Fix for hanging on "Connecting to region".. caused by packets being ↵Tom Grimshaw1-0/+4
processed before the presence has bound to receive events. Fixed this by adding packets to a queue and then processing them when the presence is ready.
2010-05-17Provide interface to prevent the client close function from sending the stop ↵Tom Grimshaw1-0/+4
packet
2010-05-17When killing a zombie session, don't send the stop packet since it often has ↵Tom Grimshaw1-0/+4
the effect of killing a newly connected client.
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master1-0/+4
joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
2010-05-12* Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown1-11/+3
original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
2010-05-09Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie1-1/+6
asset deletion in robust handler.
2010-04-12thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia1-0/+1
Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
2010-04-08Backported GetTextureModule and IAssetService.GetCached()John Hurliman1-0/+5
2010-04-08* Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman1-0/+5
cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
2010-03-31Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie1-1/+1
This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
2010-03-12Simplify database setup and remove migration problems by moving all sqlite ↵Justin Clark-Casey (justincc)1-0/+1
config-include settings to a separate file for standalone Update information in StandaloneCommon.ini.example to reflect this Remove ISharedRegionModule interfaces from all SimianGrid connector classes temporarily since this stopped standalone from working (due to absence of AssetURI settings, etc.). Solution here may be to create separate region module connectors as done by local/grid/hypergrid so that loading can be controlled via include files Or otherwise work out how to stop these modules from being loaded for all OpenSim invocations
2010-03-12Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)2-2/+47
Adds MockUserAccountService and connects it up Stops services being carried over between tests since this leads to hard to find bugs Improves information and error reporting when loading plugins
2010-03-09- parcel blocking, region crossing blocking, teleport blockingunknown1-0/+1
Signed-off-by: Melanie <melanie@t-data.com>
2010-03-09- parcel blocking, region crossing blocking, teleport blockingunknown1-0/+1
2010-03-06- supporting llTextBoxunknown1-0/+4
Signed-off-by: Melanie <melanie@t-data.com>
2010-02-28Change the signature of SendChangeUserRights, because we have to sendMelanie1-1/+1
this to both parties
2010-02-28Add missing ChangeUserRights packet senderMelanie1-0/+4
2010-02-28Initial Online friends notification seems to be working reliably now. All ↵Diva Canto1-3/+3
this needs more testing, but everything is there.
2010-02-21Deleted obsolete files in the Data layer. Compiles.Diva Canto1-216/+0
2010-02-14Revolution is on the roll again! :)Revolution1-0/+2
Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
2010-01-29* HGGridConnector is no longer necessary.Diva Canto1-9/+13
* Handle logout properly. This needed an addition to IClientAPI, because of how the logout packet is currently being handled -- the agent is being removed from the scene before the different event handlers are executed, which is broken.
2010-01-26* Fix Endlines in Mock/TestClient.csTeravus Ovares (Dan Olivares)1-8/+8
2010-01-16Beginning of rewriting HG. Compiles, and runs, but HG functions not restored ↵Diva Canto1-1/+1
yet.