aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-05-23BasicAssetTest.cs replaced by AssetTests.csAlexRa1-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!
2010-05-23Bugfix in tests (must clear db before migrations, not after)AlexRa3-3/+3
2010-05-23EstateData tests passing on all DBsAlexRa1-28/+2
2010-05-23Corrections in RegionTests.cs. It now fully works!AlexRa1-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.
2010-05-23Minor corrections in BasicDataServiceTest.csAlexRa1-0/+41
(added more functions for cleaning up DB from the derived tests)
2010-05-23MSSQL: added asset_flags, CreatorID to migrationsAlexRa1-0/+6
2010-05-23MSSQLAssetData updated to support [CreatorID], [asset_flags]AlexRa1-5/+11
2010-05-23MSSQLAssetData: fixed some weirdnessAlexRa1-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.
2010-05-23All data tests made DBMS-independentAlexRa10-610/+160
2010-05-23Added generic base classes for testing database servicesAlexRa3-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.
2010-05-21Apply http://opensimulator.org/mantis/view.php?id=4632Justin Clark-Casey (justincc)2-2/+60
Adds dialog methods for MRM. Thanks ziah.
2010-05-21Apply http://opensimulator.org/mantis/view.php?id=4627Justin Clark-Casey (justincc)2-0/+20
Adds OwnerId and CreatorId properties to MRM.IObject
2010-05-21Apply adaption of patch in http://opensimulator.org/mantis/view.php?id=4628Justin Clark-Casey (justincc)1-3/+2
This prevents a ground-sitting avatar from being moved about in mouselook Thanks mirceakitsune!
2010-05-21Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari9-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.
2010-05-21Added a sanity check before using m_config in the Scene constructorJohn Hurliman1-16/+19
2010-05-21* Added code comments to Prioritizer.cs that document how to add a new ↵John Hurliman1-1/+13
update priority policy
2010-05-21rearrange SceneGraph.AddSceneObject() to return earlier if an object with ↵Justin Clark-Casey (justincc)1-53/+49
that uuid is already in the scene this means that we don't perform pointless work
2010-05-21* Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman15-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
2010-05-21minor: remove LongRunning test designator from TestAddSceneObject() since it ↵Justin Clark-Casey (justincc)1-1/+1
isn't, really
2010-05-21add test to make sure that adding an object where one already exists in the ↵Justin Clark-Casey (justincc)1-0/+34
scene with that uuid fails
2010-05-21extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)2-5/+13
improve test to retrieve object by known uuid rather than dynamically assigned local id
2010-05-21Fix a problem where SceneGraph.AddSceneObject() would return false on ↵Justin Clark-Casey (justincc)2-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.
2010-05-21Add a new priority scheme that works like FrontBack, but completely ↵Melanie1-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
2010-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)5-38/+108
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-05-21minor: refactor CreateAsset to eliminate dupe codeJustin Clark-Casey (justincc)1-3/+5
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)6-11/+55
2010-05-21Only send dialogs and notices to root agents, not child agentsJustin Clark-Casey (justincc)1-9/+7
2010-05-21Change the way the object perms are propagated to attempt to salvageMelanie1-21/+23
some older content
2010-05-20* Made PriorityQueue non-generic so it natively understands EntityUpdate structsJohn Hurliman1-38/+32
* Replaced the per-avatar seen update tracking with update flag combining, to avoid overwriting full updates with terse updates
2010-05-21Ensure that the first update sent out for any given prim is a full updateMelanie Thielker1-0/+11
2010-05-20Cleaned up MySql migrations a bit more, got rid of all old-form migration ↵Diva Canto5-32/+8
files. Restored Presence table to its taboo-breaking form.
2010-05-20Removed sessionID from GridUserservice again. Removed parcel crossing ↵Diva Canto9-21/+18
detection from Robust connector. Fixed Simian to continue to send those location updates upon parcel crossing, without changing the interface.
2010-05-20* Don't send texture data for prims in ImprovedTerseObjectUpdate packets ↵unknown1-1/+5
unless we were asked to
2010-05-20* Added sessionID to IGridUserService.SetLastPosition(), as some connectors ↵unknown9-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
2010-05-20Revert one of the previous patches' hunks. The new code looked better, butMelanie1-3/+10
was less efficient.
2010-05-20Series of patches to include creator ID in assets.AlexRa1-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>
2010-05-19Scrambled asset type in BasicAssetTest.cs!AlexRa1-9/+10
The asset type wasn't in the list of "DontScramble" fields, so the test assets were stored with randomized type, which caused exception on reading them. Also the scrambler was moved from local var to the class level, so it could be used in the new tests I've added (see the next commit).
2010-05-19MySQLAssetData.cs now supports asset_flags, CreatorIDAlexRa1-5/+7
2010-05-19MySQL: added CreatorID, moved asset_flag to migration scriptAlexRa1-0/+8
2010-05-19SQLite: CreatorID added (and asset_flags moved) to the migration scriptAlexRa1-0/+24
2010-05-19Added CreatorID to SQLite asset dataAlexRa1-15/+27
2010-05-19A bit of harmless refactoring in SQLiteAssetData.csAlexRa1-10/+3
2010-05-19Kind of fixed Melanie's "Exception(sql)" correctionAlexRa1-2/+2
Throwing an Ex. with SQL command in the message looks weird, this is a bit better, but I'm still not sure if that's the proper way to handle. Also, there is a catch one level up, so is this one necessary?
2010-05-19Change appender to deal with line feeds more intelligently.Melanie2-2/+5
Change migration error reporting to not truncate the statement when reporting. It's a bit messier than the old error reporting, but at least one gets an idea of what could be wrong again. And things look a lot neater now.
2010-05-19Clean up output a bitMelanie3-9/+12
2010-05-19Fix the migration message to say "Continuing" again. Remove line feed, whichMelanie1-1/+1
prevented the full message from displaying.
2010-05-19Remove the return that was inserted in the last merge to allowMelanie1-1/+0
migrations to continue in the face of an error
2010-05-19Revert "Allow migration steps to fail again without bringing down the house"Melanie1-1/+1
This reverts commit 167db502593de5f535d8c322005c63ef263940ed.
2010-05-19Allow migration steps to fail again without bringing down the houseMelanie1-1/+1
2010-05-18Make m_log in migrations private. Define new m_log in derived classMelanie2-1/+3