aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unitests: Asset, Estate, Region (the "legacy" one), InventoryAlexRa2010-05-235-173/+137
| | | | | | | | The tests have been modified to work under NUnit 2.4.6 (the one currently used in the project). They will also work with NUnit 2.5+ as is, but will look better if you #define NUNIT25 for them.
* Added MS SQL test conn to INI - only as an example, modify before use!!!AlexRa2010-05-231-4/+21
| | | | | | | NOTE that this INI file is currently loaded as a embedded RESOURCE, which is weird and has a disadvantage of having to rebuild the Tests whenever the conn strings are changed. The only reason is that I couldn't figure out a reliable way to put this INI into the correct dir at runtime. If somebody can do it, that would be cool.
* Removed MySql and SQLite-specific asset test filesAlexRa2010-05-232-156/+0
|
* BasicAssetTest.cs replaced by AssetTests.csAlexRa2010-05-231-0/+161
| | | | | | | | AssetTests: The name has changed to reflect the fact it is no longer a base class, but the complete asset test for all supported databases. The test can also check storing of CreatorID, but the feature is disabled at this commit!
* Bugfix in tests (must clear db before migrations, not after)AlexRa2010-05-233-3/+3
|
* EstateData tests passing on all DBsAlexRa2010-05-231-28/+2
|
* Corrections in RegionTests.cs. It now fully works!AlexRa2010-05-231-48/+75
| | | | | | | | | The problem was that some tests relied on prior tests to leave the DB in a particular state, but the test class cleared the DB every time. The affected tests have been merged into one to remove the dependencies. tested on all 3 Dbs, all tests green.
* Minor corrections in BasicDataServiceTest.csAlexRa2010-05-231-0/+41
| | | | | (added more functions for cleaning up DB from the derived tests)
* MSSQL: added asset_flags, CreatorID to migrationsAlexRa2010-05-231-0/+6
|
* MSSQLAssetData updated to support [CreatorID], [asset_flags]AlexRa2010-05-231-5/+11
|
* MSSQLAssetData: fixed some weirdnessAlexRa2010-05-231-7/+12
| | | | | | | | Fixed unfinished SQL in FetchAssetMetadataSet, fixed SQL in UpdateAsset (must not modify ID). NOT tested! But apparently shouldn't work worse than the previous version, esp. the FetchMetadata thing.
* All data tests made DBMS-independentAlexRa2010-05-2310-610/+160
|
* Added generic base classes for testing database servicesAlexRa2010-05-233-0/+241
| | | | | | | | | | These are some generic classes that simplify writing tests for any of the data connectors and databases. Among other things, configuring the connection strings is done once, in a separate resource file. Tests based on the new BasicDataServiceTest class require NUnit 2.5 or better.
* Apply http://opensimulator.org/mantis/view.php?id=4632Justin Clark-Casey (justincc)2010-05-212-2/+60
| | | | | Adds dialog methods for MRM. Thanks ziah.
* Apply http://opensimulator.org/mantis/view.php?id=4627Justin Clark-Casey (justincc)2010-05-212-0/+20
| | | | Adds OwnerId and CreatorId properties to MRM.IObject
* Apply adaption of patch in http://opensimulator.org/mantis/view.php?id=4628Justin Clark-Casey (justincc)2010-05-211-3/+2
| | | | | This prevents a ground-sitting avatar from being moved about in mouselook Thanks mirceakitsune!
* Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2010-05-211-0/+57
|\
| * Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2010-05-212-69/+68
| |\
| * | Add a new priority scheme that works like FrontBack, but completely ↵Melanie2010-05-211-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | deprioritizes static prims, creating a hierarchy as follows: 0 == own avatar < other avatars < pysical prims < static prims For a child agent, simply acts like FrontBack
* | | Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari2010-05-219-0/+47
| |/ |/| | | | | parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
* | Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2010-05-212-17/+32
|\ \
| * | Added a sanity check before using m_config in the Scene constructorJohn Hurliman2010-05-211-16/+19
| |/
| * * Added code comments to Prioritizer.cs that document how to add a new ↵John Hurliman2010-05-211-1/+13
| | | | | | | | update priority policy
* | Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2010-05-2115-315/+207
|\ \ | |/
| * * Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman2010-05-2115-315/+207
| | | | | | | | | | | | | | 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
* | rearrange SceneGraph.AddSceneObject() to return earlier if an object with ↵Justin Clark-Casey (justincc)2010-05-211-53/+49
|/ | | | | | that uuid is already in the scene this means that we don't perform pointless work
* minor: remove LongRunning test designator from TestAddSceneObject() since it ↵Justin Clark-Casey (justincc)2010-05-211-1/+1
| | | | isn't, really
* add test to make sure that adding an object where one already exists in the ↵Justin Clark-Casey (justincc)2010-05-211-0/+34
| | | | scene with that uuid fails
* extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)2010-05-212-5/+13
| | | | improve test to retrieve object by known uuid rather than dynamically assigned local id
* Fix a problem where SceneGraph.AddSceneObject() would return false on ↵Justin Clark-Casey (justincc)2010-05-212-8/+14
| | | | | | successfully adding an object rather than true, in defiance of its method documentation This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
* make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)2010-05-215-38/+108
| | | | | reused in both tests and oar code reduction in checking is outweighed by greater test clarity
* 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-216-11/+55
|
* Only send dialogs and notices to root agents, not child agentsJustin Clark-Casey (justincc)2010-05-211-9/+7
|
* Change the way the object perms are propagated to attempt to salvageMelanie2010-05-211-21/+23
| | | | some older content
* * Made PriorityQueue non-generic so it natively understands EntityUpdate structsJohn Hurliman2010-05-201-38/+32
| | | | * Replaced the per-avatar seen update tracking with update flag combining, to avoid overwriting full updates with terse updates
* Ensure that the first update sent out for any given prim is a full updateMelanie Thielker2010-05-211-0/+11
|
* Cleaned up MySql migrations a bit more, got rid of all old-form migration ↵Diva Canto2010-05-205-32/+8
| | | | files. Restored Presence table to its taboo-breaking form.
* Removed sessionID from GridUserservice again. Removed parcel crossing ↵Diva Canto2010-05-209-21/+18
| | | | detection from Robust connector. Fixed Simian to continue to send those location updates upon parcel crossing, without changing the interface.
* Merging slimupdates2unknown2010-05-2032-889/+1093
|\
| * * Don't send texture data for prims in ImprovedTerseObjectUpdate packets ↵unknown2010-05-201-1/+5
| | | | | | | | unless we were asked to
| * * Added sessionID to IGridUserService.SetLastPosition(), as some connectors ↵unknown2010-05-209-132/+189
| | | | | | | | | | | | will want to track position against sessionID instead of userID * Updated SimianPresenceServiceConnector to use the new LoggedOut/SetHome/etc methods and only update session position on parcel crossing
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵unknown2010-05-153-50/+7
| |\ | | | | | | | | | slimupdates2
| * | Refactor scene presence list for lockless iteration. Lock contention will ↵Dan Lake2010-05-151-61/+53
| | | | | | | | | | | | now only be for simultaneous add/removes of scene presences from the scene.
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵unknown2010-05-131-8/+8
| |\ \ | | | | | | | | | | | | slimupdates2
| * | | Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2010-05-138-0/+144
| | | | | | | | | | | | | | | | 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.
| * | | Minor tweak in ProcessEntityUpdates (mostly just confirming the git push is ↵unknown2010-05-121-5/+4
| | | | | | | | | | | | | | | | working)
| * | | * Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown2010-05-1214-696/+704
| | | | | | | | | | | | | | | | original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
* | | | Revert one of the previous patches' hunks. The new code looked better, butMelanie2010-05-201-3/+10
| | | | | | | | | | | | | | | | was less efficient.
* | | | Series of patches to include creator ID in assets.AlexRa2010-05-201-4/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contains a migration. SQLite: May contain nuts. The SQLite migration copies the entire asset table. Be prepared for quite a wait. Don't interrupt it. Back up your assets db. BasicAssetTest checks CreatorID storage, new test for weird CreatorID (now also checks that non-GUID or empty CreatorID gets stored correctly) Signed-off-by: Melanie <melanie@t-data.com>