aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-04-09* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to ↵lbsa7124-0/+24
that in all db tests. *phew*
2009-04-09* Thank you, mpallari for a patch that updates NHibernate inventory base ↵lbsa711-1/+1
mapping. This fixes mantis #3435
2009-04-09* Added custom DatabaseTestAttribute to help separating unit tests from ↵lbsa7124-24/+24
component tests.
2009-04-01* Removes some hard-coded magic numbers relating to RegionSize. We now use ↵Adam Frisby1-6/+6
Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m) * Adds minor functionality to MRM Scripting.
2009-03-27* This updates LibOMV to the current release 0.6.0 on March 19 2009Teravus Ovares1-2/+2
* Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder. This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
2009-03-23Committing partial work on passing folders across instances. This may crash.Melanie Thielker1-0/+5
2009-03-21Add a QueryItem method to the inventory subsystem. Currently implemented forMelanie Thielker1-0/+5
MySQL only, stubs for the others. This allows updating the cache with a single item from the database.
2009-03-09Implemented FetchAssetMetadataSet in DB backends.Mike Mazur1-0/+15
This method fetches metadata for a subset of the entries in the assets database. This functionality is used in the ForEach calls in the asset storage providers in AssetInventoryServer. With this implemented, frontends such as the BrowseFrontend should now work. - MySQL: implemented, sanity tested - SQLite: implemented, sanity tested - MSSQL: implemented, not tested - NHibernate: not implemented
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke24-40/+113
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-21* Applied a patch that: Added estate ban table to migration scripts and ↵lbsa715-0/+50
nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate. * Added estate ban table to migration scripts of all supported databases. * Added nhibernate mapping for EstateBans property of EstateSettings * Refactored property accessors for EstateBan object. * Added comments for EstateBan properties. * Ensured that NHibernate tests pass with NUnitGUI. * Ensured that nant test target passes. This fixes mantis #3210. Thank you, tlaukkan!
2009-02-20* Apply http://opensimulator.org/mantis/view.php?id=3185idb5-0/+5
* Fixes NHibernate problem where prim contents show as textures * Thanks Tommil!
2009-02-20* Apply http://opensimulator.org/mantis/view.php?id=3195Justin Clarke Casey30-30/+73
* Access NHibernate Manager as read-only property rather than public field * Thanks Tommil
2009-02-20Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames1-0/+27
2009-02-19* Apply http://opensimulator.org/mantis/view.php?id=3151Justin Clarke Casey11-28/+25
* Fixes NHibernate overflow exception when saving some objects (under at least PostgreSQL 8.3) * Thanks Tommil!
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur2-13/+11
properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
2009-02-16* Apply http://opensimulator.org/mantis/view.php?id=3166Justin Clarke Casey12-62/+280
* Adds estate access list supports to NHibernate data module * Thanks Tommil
2009-02-16line ending fixes and set native eol propertySean Dague13-742/+742
2009-02-16- remove dependency on OpenSim.Grid.AssetServer.Plugins.Opensim inMike Mazur1-1/+0
OpenSim.Data.*.addin.xml, this is cruft left over from previous testing - fix example SQLite connection string in AssetInventoryServer.ini.example
2009-02-16- add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for ↵Mike Mazur1-0/+1
OpenSim.Data.*.addin.xml - remove OpenSim.Grid.NewAssetServer.exe from bin/OpenSim.Data.addin.xml - add prebuild.xml section for OpenSim.Grid.AssetServer.Plugins.OpenSim.dll
2009-02-14Mantis 3164. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-1/+1
* Added tests for manager, user and group lists. * Added test for ban list. The test had to be left as ignored as native MySQL throws exception when ban is saved. * Added utility class to support parametrized unit tests for range checking.
2009-02-14Remove the "?" that I inadvertently got into the first line Charles Krinke1-1/+1
of EstateRegionLink.cs
2009-02-14Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke19-57/+800
* Created value object for EstateRegionLink for storing the estate region relationship. * Refactored slightly NHibernateManager and NHibernateXXXXData implementations for accesing nhibernate generated ID on insert. ** Changed NHibernateManager.Save method name to Insert as it does Insert. ** Changed NHibernateManager.Save return value object as ID can be both UUID and uint currently. ** Changed NHibernateManager.Load method Id parameter to object as it can be both UUID and uint. * Created NHibernateEstateData implementation. This is the actual estate storage. * Created NHibernate mapping files for both EstateSettings and EstateRegionLink * Created MigrationSyntaxDifferences.txt files to write notes about differences in migration scripts between different databases. * Created estate storage migration scripts for all four databases. * Created estate unit test classes for all four databases. * Updated one missing field to BasicEstateTest.cs * Tested NHibernate unit tests with NUnit GUI. Asset databases fail but that is not related to this patch. * Tested build with both Visual Studio and nant. * Executed build tests with nant succesfully.
2009-02-13Remove extra ID field from asset DB mapping. Mantis #3122, fixes Mantis #3080.Mike Mazur5-5/+0
2009-02-12* optimized usings.lbsa7137-205/+40
2009-02-09Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke5-1/+6
* Updated migration scripts and hbm.xml so that nhibernate tests work.
2009-02-09* Apply http://opensimulator.org/mantis/view.php?id=3080Justin Clarke Casey1-5/+7
* Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate * mikem has seen this patch :)
2009-02-09* Apply http://opensimulator.org/mantis/view.php?id=3094Justin Clarke Casey5-0/+409
* Add NHibernate PostgreSQL database tests. * Tests not yet being run as the PostgreSQL module is not yet fully functional
2009-02-09* Fixing refactoring +1 (Fixes Mantis #3113)Sean Dague1-1/+1
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-09fixing refactoring artefact. (fixes mantis #3113)Dr Scofield1-1/+1
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield16-18/+18
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!
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-3/+3
- trim trailing whitespace
2009-01-25Applied patch from #3012 Fixing a minor bug where nhibernate mappings from ↵Adam Johnson1-9/+9
outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari!
2009-01-24Update svn properties.Jeff Ames5-357/+357
2009-01-23Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke7-0/+360
* 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.
2009-01-22Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2009-01-20* Apply http://opensimulator.org/mantis/view.php?id=3021Justin Clarke Casey5-0/+416
* Adds MSSQL 2005 unit tests * Thanks Tommil!
2009-01-20* Apply http://opensimulator.org/mantis/view.php?id=3020Justin Clarke Casey9-42/+460
* Adds a grid db implementation and unit tests to the NHibernate module
2009-01-20* Apply http://opensimulator.org/mantis/view.php?id=3012Justin Clarke Casey1-10/+49
* Allows different assemblies to be used in NHibernateManager, which makes it possible to use mapping and migration files in different assemblies. * Thanks mpallari!
2009-01-16Minor formatting cleanup, add copyright header.Jeff Ames1-1/+1
2009-01-16Update svn properties.Jeff Ames2-67/+67
2009-01-13* minor: remove some mono compiler warningsJustin Clarke Casey1-1/+3
2009-01-13* Add copyright notice to NHibernate.UserFriendJustin Clarke Casey1-1/+28
2009-01-13* Apply http://opensimulator.org/mantis/view.php?id=2991Justin Clarke Casey1-4/+24
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005 * Thanks mpallari
2009-01-13* Apply http://opensimulator.org/mantis/view.php?id=2992Justin Clarke Casey2-87/+0
* Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch * Thanks tlaukkan!
2009-01-12Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke10-597/+679
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.
2009-01-12Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.Homer Horwitz1-4/+4
Fixes Mantis #2989.
2009-01-12Fixed some svn propertiesHomer Horwitz2-134/+134
2009-01-12* Apply http://opensimulator.org/mantis/view.php?id=2965Justin Clarke Casey5-0/+259
* Adds first version of MsSql2005Dialect support for NHibernate * Thanks mpallari
2009-01-11Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke16-118/+714
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.
2009-01-10Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke1-45/+73
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).