aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteAssetData.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-02-27Add asset name and description truncation warnings to SQLite database plugin ↵Justin Clark-Casey (justincc)1-5/+23
for consistency.
2012-11-14More consistently dispose of SqliteCommand in OpenSim.Data.SQLite where ↵Justin Clark-Casey (justincc)1-6/+8
possible. Not doing SQLiteInventoryStore since this is no longer used and should disappear in the future.
2012-02-21Add 64 bit Windows sqlite3.dll and use this if running a 64-bit windows process.Justin Clark-Casey (justincc)1-0/+3
2011-07-16refactor: Pull up Assembly of the SQLite classes as a protected property, so ↵Marck1-2/+6
that it can be overwritten in subclasses. That way extensions can decide in which assembly migration resources should be looked up. This is a refactor similar to commit 9923a2ff1002d722ccebea8bf4d71718ed4e2a03 for MySQL -- no functional changes.
2010-09-23* Add CSharpSqlite to prebuildTeravus Ovares (Dan Olivares)1-1/+6
* Use a conditional define to determine whether we're using CSharpSqlite or Mono.Data.Sqlite #if CSharpSqlite using Community.CsharpSqlite.Sqlite; #else using Mono.Data.Sqlite; #endif * Hopefully, this will restore sqlite functionality on a Mac. In visual studio, you can edit the OpenSim.Data.SQLite project, go to the Build tab and enter CSharpSqlite in the box. I'm not sure how to define CSharpSqlite in Mono, someone better at it then me will have to take the job of figuring out the best way to define it in Mono.
2010-06-28Provide the interface for StoreAsset to report success or failureTom Grimshaw1-1/+3
2010-05-20Revert one of the previous patches' hunks. The new code looked better, butMelanie1-3/+10
was less efficient.
2010-05-19Added CreatorID to SQLite asset dataAlexRa1-15/+27
2010-05-19A bit of harmless refactoring in SQLiteAssetData.csAlexRa1-10/+3
2010-05-09Yey for unit tests. The previous commit had a couple of bugs on SQL ↵Diva Canto1-1/+1
statements. Fixed here.
2010-05-09* Fixed spamming the assets table with map tiles. The tile image ID is now ↵Diva Canto1-3/+7
stored in regionsettings. Upon generation of a new tile image, the old one is deleted. Tested for SQLite and MySql standalone. * Fixed small bug with map search where the local sim regions weren't found.
2010-05-09Add Delete handler to SQLite (NG)Melanie1-15/+16
2010-05-09Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie1-0/+5
asset deletion in robust handler.
2010-04-30rename SQLiteNG to SQLite and SQLite to SQLiteLegacy this seems the least ↵Justin Clark-Casey (justincc)1-2/+2
evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
2010-04-30rename SQLiteNG to SQLite and SQLite to SQLiteLegacyJustin Clark-Casey (justincc)1-3/+3
this seems the least evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
2010-04-14minor: add some documentation around the asset udp request path and replace ↵Justin Clark-Casey (justincc)1-1/+1
some magic numbers with libomv enums
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+2
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-03minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2009-11-12minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-16/+16
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+5
unknown asset type, and log an error if it ever does happen
2009-10-01Switched log level of an annoying message in SQLite to Debug, and commented ↵Diva Canto1-2/+2
it too.
2009-08-19* Switching IAssetData to follow the new naming schema, removing the ↵Kunnis1-28/+19
separate insert and update methods.
2009-08-16* Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis1-1/+1
parameter from MySQL/MySQLInventoryData.cs * Fixed a bug in SQLite/SQLiteAssetData.cs that was causing a NRE when updating an asset. * Improved the BasicAssetTest.cs to do full create/update/get testing * Improved the BasicInventoryTest.cs to do full create/update/get of both a folder and an item * Moved the null ref tests to the start of the PropertyCompareConstraint.cs, so that it doesn't throw when passing in a null item
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-15* Change default sqlite asset db back to Asset.db instead of AssetStorage.dbJustin Clarke Casey1-2/+2
* This inconsistency has actually existed for some time but only the recent change brought it to light * In the past, the default in ConfigurationLoader took precedence over the one in SQLiteAssetData
2009-04-13* Some more experimental work on distributed assets. Nothing hotwired yet.lbsa711-1/+1
* Introduced preprocess step in FetchAsset (Might revert this later) * Some minor CCC * Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1. * Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-09* minor: correct some documentation in SQLiteAssetData.csJustin Clarke Casey1-8/+2
2009-04-09* Change SQLite asset UUID to dashed format to be consistentJustin Clarke Casey1-6/+6
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql * Migration of these will happen at a later date, unless someone else wants to do it
2009-03-09Implemented FetchAssetMetadataSet in DB backends.Mike Mazur1-0/+50
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-17- remove the Metadata property from AssetBase and return all previousMike Mazur1-23/+23
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-12* optimized usings.lbsa711-1/+1
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-23/+23
- trim trailing whitespace
2008-11-08Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen1-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.
2008-09-18- Add Dispose method to IRegionDataStoreHomer Horwitz1-1/+8
- Add necessary dummy Dispose-methods where they are missing - Implement the SQLite Dispose-methods (currently only used for unit tests, in the next commit)
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-5/+5
* 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.
2008-08-27we are now past change 6000, so getting rid of the pre-MigrationSean Dague1-81/+0
upgrade cruft
2008-08-18Formatting cleanup.Jeff Ames1-9/+9
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames1-3/+5
2008-07-18add some locks back into the sqlite asset path, as something changedSean Dague1-49/+56
that is causing a lot of out of order execution on asset fetches on multi region sims.
2008-07-07* remove unused CommitAssets() hook for nowJustin Clarke Casey1-13/+0
2008-07-02* Drop InvType from the assets table since it is no longer usedJustin Clarke Casey1-8/+4
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield1-23/+23
2008-06-27Mantis#1591. Thank you graciously, Sempuki for a patch that:Charles Krinke1-0/+2
Currently module loading is done ad-hoc. I propose creating a simple loader class that leverages Mono.Addins (and perhaps the new .NET addins when they become available in mono). Attached is a basic patch for review that compiles into HEAD, but doesn't yet replace any existing ad-hoc loaders.
2008-06-26Apply patch from bug #1605 -- Documentation for Data/SQLite. Thanks ↵Jeff Ames1-3/+65
kerunix_Flan!
2008-06-11check in working migration code fore SQLite. This Sean Dague1-3/+21
is now using migrations instead of the old model to create tables. Tested for existing old tables, and for creating new ones.
2008-05-16Formatting cleanup.Jeff Ames1-12/+12
2008-05-14More formatting cleanup.Jeff Ames1-1/+2
2008-05-14Formatting cleanup.Jeff Ames1-1/+1
2008-05-01* In ur code. Making it static.Adam Frisby1-5/+5
* Converted a bunch of functions to static functions.