aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-066-8/+8
| | | | | | | | | | | | | | | | | | | | 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-23/+23
| | | | | - trim trailing whitespace
* * If an orphaned group is found in the mysql or mssql databases (i.e. there ↵Justin Clarke Casey2009-01-291-1/+4
| | | | | | | | | | | | 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
* * Remove unused prims.ParentID field from SQLite and MySQLJustin Clarke Casey2009-01-192-4/+11
| | | | | | | * 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.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-301-5/+5
|
* * Correct build break, no idea how that one managed to slip by meJustin Clarke Casey2008-12-231-1/+1
|
* * Modify SQLite implementation of UpdateUserProfile() to allow modifications ↵Justin Clarke Casey2008-12-231-16/+21
| | | | where the name has not been changed
* Thanks Gerhard for a patch that implements part 3 of VolumeDetection / ↵Dahlia Trimble2008-12-222-0/+15
| | | | persistance
* Color was set twice, first correctly, then incorrectly, in SQLiteRegionData.Homer Horwitz2008-12-141-2/+0
| | | | | Removed the second set. Fixes Mantis#2380.
* * Resolve http://opensimulator.org/mantis/view.php?id=2743 and ↵Justin Clarke Casey2008-12-021-3/+0
| | | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=2739 by no longer bothering to store or retrieve the local parentID in the region database * The original issue is that the now randomly generated local ids do not fit into the int parentID datatype * However, as far as I know it's actually pointless to store this local parent ID anyway (we already store the groupUUID), especially as we don't bother to store the localID (as opposed to UUID itself). * Conservatively, the actual column will be removed in a later commit
* Try to fix Mantis#2727. SQLite seems to be able to store bigger numbers inHomer Horwitz2008-11-301-1/+1
| | | | | | an INTEGER column (using 6 bytes), but the mapping was wrong. Question: Should we move localIDs to int instead of uint to save some bytes?
* * Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey2008-11-271-12/+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
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-211-6/+6
|
* Mantis#2656. Thank you kindly, Nlin for a patch that:Charles Krinke2008-11-192-0/+16
| | | | | | Attached patch implements llCollisionSound. Thanks T. Sado.
* Fixed MySQL and SQLite so they will save theSean Dague2008-11-182-0/+19
| | | | | | | variable sun vector, adding 3 new fields on both. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.Homer Horwitz2008-11-151-2/+1
| | | | | | (added a fix for the broken build from last commit, too)
* Add SQLite and the missing migrations files for last commitMelanie Thielker2008-11-142-0/+8
|
* * refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵Justin Clarke Casey2008-11-101-4/+3
| | | | | | | | RootPart and adding the part separately * Make RootPart read only
* Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen2008-11-081-2/+2
| | | | release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
* add some null protection on emailSean Dague2008-11-041-1/+2
| | | | | From: Sean Dague <sdague@gmail.com>
* implement email field for MySQL and SQLiteSean Dague2008-11-042-0/+8
| | | | | From: Sean Dague <sdague@gmail.com>
* Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,Homer Horwitz2008-11-011-1/+21
| | | | | | | | | | | | | | 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.
* - Includes consistency test for new and updated objects, asSean Dague2008-10-301-13/+4
| | | | | | | some fixes in MySQL and SQLite From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Mid-work, trying to fix region part insertion and retrievalSean Dague2008-10-301-8/+34
| | | | | | | | SQLite reports System NUll Reference, but works, inside LoadItems, on SQLiteRegionData.cs From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.Melanie Thielker2008-10-182-0/+13
| | | | | | | | Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-10-171-2/+2
|
* - Enforced no user or agent with UUID 0 on agent DB insertionSean Dague2008-10-161-0/+4
|
* - Makes MySQL reject inserting UUID 0Sean Dague2008-10-151-0/+35
| | | | | | | | | | - Makes SQLite mimick MySQL default behavior on first and last name already on db: it does not insert the new record. - Added tests for UUID 0 and for new UUID with existing first and last name.
* move from index based to exists strategy hereSean Dague2008-10-141-10/+36
|
* Merge commit 'arthur/master'Sean Dague2008-10-141-4/+10
|
* Add the missing bits for the new region-search:Homer Horwitz2008-10-031-0/+12
| | | | | | | | | | | | | | | | - Added lookup in the data-layer - MySQL works - SQLite doesn't have a grid-db, so it won't work there - I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-) - Added the plumbing up to OGS1GridServices. This speaks with the grid-server via XMLRPC. - Modified MapSearchModule to use the new data. It's backward compatible; if used with an old grid-server, it just returns one found region instead of a list. - Refactored a bit. Note: This updates data, grid-server and region code. No new files.
* fix the sqlite break. There were two issue here:Sean Dague2008-10-031-1/+2
| | | | | | | | | | | 1. type issues on column create in ado.net 2. not setting a field in the ado.net row translates into explicitely setting it to null in sqlite land (because it can't read the defaults stanzas out of the database) Things should work again after this.
* Add database persistence for material settingMelanie Thielker2008-10-032-0/+11
|
* add delete prim tests. Found and fixed bugs where regionSean Dague2008-10-011-1/+1
| | | | | | | | is not respected by sqlite or mysql drivers so that deleting and object in a region actually deletes that object from any region.
* add a test for updating region settings and fix a bug in uuidSean Dague2008-09-291-1/+1
| | | | | | translation in sqlite uncovered by this test.
* * Patch from JHurlimanTeravus Ovares2008-09-262-11/+11
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* Add persistence of active gestures. This needs an UGAIM update to work.Homer Horwitz2008-09-241-0/+19
| | | | | | | | | 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.
* remove a bunch of out of date inline ALTER table commands that would onlySean Dague2008-09-241-84/+17
| | | | | | confuse people.
* couple of minor test cleanups to see if this gets us past the bamboo humpSean Dague2008-09-231-8/+0
|
* Small formatting cleanup, before chi11ken notices. Me bad.Homer Horwitz2008-09-193-20/+39
|
* convert to using proper .net tempfiles, should have done thisSean Dague2008-09-194-4/+13
| | | | | | initially.
* Add a db.Dispose before calling Delete on the SQLite database.Homer Horwitz2008-09-184-1/+5
| | | | | | | On Windows, you are not able to delete a file while there is still a handle to it open.
* - Add Dispose method to IRegionDataStoreHomer Horwitz2008-09-184-10/+97
| | | | | | | | - Add necessary dummy Dispose-methods where they are missing - Implement the SQLite Dispose-methods (currently only used for unit tests, in the next commit)
* * Updates the SQLite region database to support the same properties that the ↵Teravus Ovares2008-09-182-0/+180
| | | | | | | MySQL version does for the table, prims. * If this causes any unit tests to fail, the tests need to be updated.
* Adding currentLookAt to useragents table in SQLite. This complements theHomer Horwitz2008-09-172-0/+15
| | | | | | MySQL change from http://opensimulator.org/mantis/view.php?id=2073
* Added some terrain tests, and found a fun race condition in the sqliteSean Dague2008-09-162-16/+16
| | | | | | terrain driver in the process, which is now fixed. yay for unit tests!
* Mantis #904: Thanks jonc, for a patch that adds "useragents" table toHomer Horwitz2008-09-162-67/+84
| | | | | | | SQLite and stores the logout position in standalone mode. Note: This adds a migration for SQLite, so do your runprebuild
* Update svn properties, minor formatting cleanup, fix a compiler warning.Jeff Ames2008-09-151-3/+6
|