| Commit message (Collapse) | Author | Files | Lines |
|
* Add NHibernate PostgreSQL database tests.
* Tests not yet being run as the PostgreSQL module is not yet fully functional
|
|
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
|
|
|
|
|
|
multiple duplicates of the same code.
|
|
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.
The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.
I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
|
|
- trim trailing whitespace
|
|
|
|
OpenSim/Data/DataPluginFactory.cs
- removed dependencies on a few executable assemblies in
bin/OpenSim.Data.addin.xml
- trim trailing whitespace
|
|
- trim trailing whitespace
|
|
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
|
|
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
|
|
plugins.
|
|
|
|
is no prim where UUID = SceneGroupID), then force one prim to have UUID = SceneGroupID.
* A warning is posted about this on startup giving the location of the object
* This should allow one class of persistently undeletable prims to be removed
* This change should not cause any issues, but I still suggest that you backup your database beforehand
* If this doesn't work for previously linked objects, then you could also try the workaround in http://opensimulator.org/mantis/view.php?id=3059
* This change has been made to mysql and mssql, but sqlite appears to work in a different way
|
|
|
|
outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari!
|
|
|
|
* Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls.
* Added missing field to schema creation scripts: PathTaperY.
* Added schema creation scripts for PostgreSQL.
* Added unit test classes for PostgreSQL.
* Added schema creation script folder to NHibernate project in prebuild.xml
* Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml
* Ensured that build works with both nant and Visual Studio.
* Executed build unit tests with nant and NHibernate unit tests with NUnitGUI
- Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
|
|
|
|
* Adds MSSQL 2005 unit tests
* Thanks Tommil!
|
|
* Adds a grid db implementation and unit tests to the NHibernate module
|
|
* Allows different assemblies to be used in NHibernateManager, which makes it possible to use mapping and migration files in different assemblies.
* Thanks mpallari!
|
|
* Since this is a db change, as always I strongly recommend that you backup your database before updating to this revision
* Haven't touched MSSQL in case I get it wrong - looking for some kind soul to take care of this.
|
|
|
|
|
|
|
|
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
|
|
* This fixes MSSQL for user friends lookups
* Thanks StrawberryFride
|
|
|
|
|
|
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005
* Thanks mpallari
|
|
* Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch
* Thanks tlaukkan!
|
|
Cleaned up schema creation scripts of MySQL to compliant form and created
SQLite scripts from them. In future it would be optimal if scripts from
different databases could be generated from MySQL scripts to ensure optimal
consistency between schemas of different databases. Did not yet review
column names. ID columns seem to have variety in naming which can be confusing.
|
|
Fixes Mantis #2989.
|
|
|
|
* Adds first version of MsSql2005Dialect support for NHibernate
* Thanks mpallari
|
|
* Add single conversion to MSSQLManager.DbTypeFromType
* May resolve storage of prim information under MSSQL
* Thanks SirKimba
|
|
Fixed all NHibernate unit tests by implementing missing persistency
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest
as this was required by the NHibernate persistency. In the process added
also mock constructor to Scene which only populates RegionInfo in the scene
which is used by ScenePart.RegionUUID. NHibernate module is still in
experimental state and has not been tested at opensim region or ugaim runtime
configuration. Adding unit tests to build is not yet advisable nor using
NHibernate module in any production setup.
|
|
NHibernate MySQL migration was not working as mysql dialect is
MySQL5Dialect now instead of MySQLDialect which is the migration
sub folder name. Fixed this by adding simple dialect to migration
sub type mapping to manager initialization to avoid need of renaming
migration script folder each time MySQL version changes. Removed
shared session and changed session to be constructed per call as
NHibernate session is not thread safe. Refactored manager member
names to be according to the naming convention (full words in camel case).
|
|
|
|
* This fixes adding and updating user profiles in MySQL on platforms that have a commas as a decimal separator
* Thanks Tommil!
|
|
Solves the problem of unable to load prim items on region start in MSSQL.
The error was in the MSSQLRegionData code that loads objects from the database,
due to reliance on the ParentID field that is not used.
|
|
was done for SQLite and MySQL in r7586
* This may resolve http://opensimulator.org/mantis/view.php?id=2939
|
|
* Apologies for missing these out yet again
* Thanks to Tommil for this code
|
|
|
|
From: Sean Dague <sdague@gmail.com>
|
|
|
|
Persists appearance with MSSQL more properly.
|
|
* Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command
|