aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-0616-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!
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-3/+3
| | | | | - trim trailing whitespace
* Applied patch from #3012 Fixing a minor bug where nhibernate mappings from ↵Adam Johnson2009-01-251-9/+9
| | | | outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari!
* Update svn properties.Jeff Ames2009-01-245-357/+357
|
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-01-237-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.
* Update svn properties, minor formatting cleanup.Jeff Ames2009-01-221-1/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=3021Justin Clarke Casey2009-01-205-0/+416
| | | | | | | * Adds MSSQL 2005 unit tests * Thanks Tommil!
* * Apply http://opensimulator.org/mantis/view.php?id=3020Justin Clarke Casey2009-01-209-42/+460
| | | | | | * Adds a grid db implementation and unit tests to the NHibernate module
* * Apply http://opensimulator.org/mantis/view.php?id=3012Justin Clarke Casey2009-01-201-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!
* Minor formatting cleanup, add copyright header.Jeff Ames2009-01-161-1/+1
|
* Update svn properties.Jeff Ames2009-01-162-67/+67
|
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-01-131-1/+3
|
* * Add copyright notice to NHibernate.UserFriendJustin Clarke Casey2009-01-131-1/+28
|
* * Apply http://opensimulator.org/mantis/view.php?id=2991Justin Clarke Casey2009-01-131-4/+24
| | | | | | | * Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005 * Thanks mpallari
* * Apply http://opensimulator.org/mantis/view.php?id=2992Justin Clarke Casey2009-01-132-87/+0
| | | | | | | * Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch * Thanks tlaukkan!
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-1210-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.
* Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.Homer Horwitz2009-01-121-4/+4
| | | | | Fixes Mantis #2989.
* Fixed some svn propertiesHomer Horwitz2009-01-122-134/+134
|
* * Apply http://opensimulator.org/mantis/view.php?id=2965Justin Clarke Casey2009-01-125-0/+259
| | | | | | | * Adds first version of MsSql2005Dialect support for NHibernate * Thanks mpallari
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-1116-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.
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-101-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).
* * Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950Justin Clarke Casey2009-01-058-0/+669
| | | | | | | * Apologies for missing these out yet again * Thanks to Tommil for this code
* fixes mantis #2950Justin Clarke Casey2009-01-055-4/+10
|
* * Check in another patch from http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-0411-7/+693
| | | | | | | * This allows removal of the old NHiberate.Mapping.Attributes.dll * Also add in the files I forgot about last time. Doh!
* * Reapply http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-0215-385/+350
| | | | | | | | | * This patch gets NHibernate working *** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) *** * Not sure what the dependency is on other distros. Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome * Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip)
* * Unforunately it turns out not to be that simple. Revert the rest of r7560 ↵Justin Clarke Casey2008-12-0115-350/+385
| | | | for now.
* * From Mantis#2701 - Implements NHibernate data adapter, adds support for ↵Adam Frisby2008-12-0115-385/+350
| | | | | | | MsSql2005 to NHibernate. * Patch courtesy of Adminotech and realXtend. Thanks!
* * Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey2008-11-271-1/+0
| | | | | | * please say if this causes you a problem
* Plumb in the presence notifications and region shutdown/restart messagesMelanie Thielker2008-11-231-0/+4
| | | | | | | | | from the presence module to the message server, through the user server and on into the database. This should fix the "Already logged in" issue that grids see after a sim crashes, or a user crashes out of a sim. Not yet a 100% solution for friends, but getting there.
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* * refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵Justin Clarke Casey2008-11-101-4/+2
| | | | | | | | RootPart and adding the part separately * Make RootPart read only
* Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,Homer Horwitz2008-11-011-0/+1
| | | | | | | | | | | | | | on-/offline updates, calling cards for friends. This adds methods in the DB layer and changes the MessagingServer, so a full update (incl. UGAIM) is necessary to get it working. Older regions shouldn't break, nor should older UGAIM break newer regions, but friends/presence will only work with all concerned parts (UGAIM, source region and destination region) at this revision (or later). I added the DB code for MSSQL, too, but couldn't test that. BEWARE: May contain bugs.
* Add persistence of active gestures. This needs an UGAIM update to work.Homer Horwitz2008-09-241-0/+5
| | | | | | | | | Active gestures are sent as part of the login-response. Added fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and NHibernate. Using the empty ones won't cause errors, but doesn't provide persistence either, of course.
* - Add Dispose method to IRegionDataStoreHomer Horwitz2008-09-181-0/+2
| | | | | | | | - Add necessary dummy Dispose-methods where they are missing - Implement the SQLite Dispose-methods (currently only used for unit tests, in the next commit)
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-0616-160/+159
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Attachment persistence (Mantis #1711)Melanie Thielker2008-08-191-12/+1
| | | | | | | | | Change user server to handle attachment assets record properly. Ensure that attachments are not re-rezzed on region crossing. Persistence will NOT WORK with earliser UGAI!! Change region server to match.
* Formatting cleanup.Jeff Ames2008-08-187-51/+51
|
* Thanks, sempuki, for a patch that moves all Grid Server's plugins toMike Mazur2008-07-312-13/+28
| | | | | | PluginLoader. Fix issue 1871.
* squashing warning.Dr Scofield2008-07-251-1/+3
|
* few additional fixed to get prim inventory up on nhibernateSean Dague2008-07-233-4/+4
|
* implemented prim inventories for nhibernateSean Dague2008-07-231-1/+30
|
* fix column mappingSean Dague2008-07-231-1/+1
|
* complete the prim inventory mappingSean Dague2008-07-231-0/+6
|
* refactor TaskInventoryItem Mask -> Permissions to be consistant with how thingsSean Dague2008-07-231-0/+17
| | | | | | are stored in the db.
* add primitems migration for nhibernateSean Dague2008-07-231-0/+27
|
* Update svn properties. Squash a couple of warnings.Jeff Ames2008-07-222-4/+4
|
* Introduce a separate connection string for estates, which defaults to the one giMelanie Thielker2008-07-181-1/+1
| | | | | | ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
* found a better pattern for SaveOrUpdate with nhibernateSean Dague2008-07-182-52/+49
| | | | | | cleaned up the asset path a bit
* remove NHPrim, this turned out to be a bad ideaSean Dague2008-07-181-46/+0
|
* squashing further warnings.Dr Scofield2008-07-181-1/+1
|