aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement SendPlacesReplyMelanie2010-12-301-0/+4
|
* * Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)2010-12-211-0/+5
| | | | | | * Adds an item that checks to see if the top request has been there for longer then 30 seconds without an update and sends an AbortXfer if it encounters one. This allows the client to cancel the Xfer on it's side so you can re-select the prim and get the inventory when it fails the first time. * Some interesting locking... Using NewFiles to lock the rest of them. We'll see how that goes. * The goal of this is to ensure that Xfers are restartable when they fail. The client will not do that on it's own.
* Start implementing a test for 'share with group' object functionality. Not ↵Justin Clark-Casey (justincc)2010-12-142-3/+7
| | | | | | | yet complete. While implementing this, a bug was fixed in scene setup helpers where module RegionLoaded() was called immediately after AddRegion() instead of waiting for all AddRegions() to complete. Also, XmlRpcGroupsModule non-message functionality will now work without a message transfer module (as indicated in the comments but with a contradictory implementation)
* Add mock group services connector and use this in testsJustin Clark-Casey (justincc)2010-12-141-0/+236
|
* Add lsClearWindlightScene() to the lightshare module to remove WL settingsMelanie2010-11-031-1/+9
| | | | from a region and allow normal day cycles to be reestablished
* Major refactoring of appearance handling.Master ScienceSim2010-10-201-1/+1
| | | | | | | | | | | | | | | | | | | AvatarService -- add two new methods, GetAppearance and SetAppearance to get around the lossy encoding in AvatarData. Preseve the old functions to avoid changing the behavior for ROBUST services. AvatarAppearance -- major refactor, moved the various encoding methods used by AgentCircuitData, ClientAgentUpdate and ScenePresence into one location. Changed initialization. AvatarAttachments -- added a class specifically to handle attachments in preparation for additional functionality that will be needed for viewer 2. AvatarFactory -- removed a number of unused or methods duplicated in other locations. Moved in all appearance event handling from ScenePresence. Required a change to IClientAPI that propogated throughout all the IClientAPI implementations.
* Plumb the path for multiple object deletesMelanie2010-10-061-1/+1
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2010-09-161-3/+3
|\
| * minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2010-09-161-3/+3
| |
* | Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman2010-09-161-1/+1
|/ | | | MapAndArray collection
* Fix unit test SceneSetupHelpers to load the mock simulation data storeJohn Hurliman2010-09-122-1/+76
|
* MergedJohn Hurliman2010-09-126-31/+30
|\
| * Formatting cleanup.Jeff Ames2010-09-126-31/+30
| |
* | * Added ISimulationDataService and IEstateDataServiceJohn Hurliman2010-09-122-9/+6
|/ | | | | * 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
* Changed all string references of "IRegionDataStore" to "ISimulationDataStore"John Hurliman2010-09-111-1/+0
|
* Fixed the naming mess around data connectors for simulation dataJohn Hurliman2010-09-111-1/+1
|
* Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)2010-09-073-15/+69
| | | | | | | | | | 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.
* Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)2010-09-063-3/+156
| | | | | 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.
* allow inventory path specified in "load iar" to start with a / (e.g. ↵Justin Clark-Casey (justincc)2010-08-271-12/+12
| | | | /Objects is now valid where it wasn't before)
* refactor: Make IAR tests set up standard iar for loadingJustin Clark-Casey (justincc)2010-08-271-4/+11
|
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-243-13/+36
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* Unit test breakage fix.Diva Canto2010-08-201-8/+48
|
* Added SendTeleportProgress to IClientAPI. Ya know what that means... 8 files ↵Diva Canto2010-08-161-0/+4
| | | | affected.
* Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto2010-08-161-1/+1
| | | | TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
* minor: remove mono compiler warningJustin Clark-Casey (justincc)2010-08-131-1/+1
|
* Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie2010-07-141-4/+0
| | | | | Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
* Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)2010-06-181-6/+6
| | | | | This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
* Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie2010-06-121-0/+4
| | | | we used to send before slimupdates and explicitly send it
* Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)2010-06-111-5/+0
| | | | | | GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
* Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)2010-06-111-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
* create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)2010-06-112-12/+52
| | | | add various helper functions for simplifying test readability
* remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)2010-06-042-59/+6
| | | | easily configured for test purposes
* get TestSaveIarV0_1() working again by setting up an ↵Justin Clark-Casey (justincc)2010-06-042-2/+5
| | | | | | OpenSim.Data.Null.UserAuthenticationData plugin additional tweaks to get this working properly
* get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)2010-05-282-4/+37
| | | | didn't get the authentication server to work and my brain is about to fizzle out my ears
* restore InventoryArchiverTests.TestReplicateArchivePathToUserInventory() to ↵Justin Clark-Casey (justincc)2010-05-281-1/+12
| | | | work with the new UserAccountService/InventoryService
* fission UserAccountService.HandleCreateUser() into two methods, one which ↵Justin Clark-Casey (justincc)2010-05-281-81/+78
| | | | handles user command parsing and another which actually does the work
* Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari2010-05-211-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.
* * Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman2010-05-211-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
* extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)2010-05-211-2/+0
| | | | improve test to retrieve object by known uuid rather than dynamically assigned local id
* minor: refactor CreateAsset to eliminate dupe codeJustin Clark-Casey (justincc)2010-05-211-3/+5
|
* add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)2010-05-211-3/+11
|
* Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2010-05-131-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.
* * Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown2010-05-121-11/+3
| | | | original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
* Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie2010-05-091-1/+6
| | | | asset deletion in robust handler.
* * This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)2010-05-041-2/+2
| | | | | | reference * Added a MockConsole that doesn't require a handle to System.Console
* thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia2010-04-121-0/+1
| | | | Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
* * Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman2010-04-081-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()
* Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie2010-03-311-1/+1
| | | | | This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
* Simplify database setup and remove migration problems by moving all sqlite ↵Justin Clark-Casey (justincc)2010-03-122-0/+4
| | | | | | | | | 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
* Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)2010-03-123-9/+74
| | | | | | 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