Diva Canto
6e35ddb0e9
Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
...
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 17:35:42 -07:00
Jeff Ames
82c888fc6c
Add copyright headers. Formatting cleanup. Fix a compiler warning.
2009-08-17 10:29:06 +09:00
Kunnis
f6251ce810
* Modified SQLite/SQLiteInventoryStore.cs to not throw if the inventory row does not exist, to match the mysql behavior. * Modified SQLite/SQLiteRegionData.cs to only persist temporary items following the same rules mysql uses. * Added another ignore to the inventory test that was missing. * Added a few more ignores to the RegionTest that the first version of my test were missing. * Added ignoring the root Folder ID, which is set by the inventory system. * Added several improvements to the PropertyCompareConstraint: Protection against infinite loops, added IComparable<T> (for UUID) and moved IComparable before the property matching. * Fixed a bug where I was saving the inside of the ignore expression instead of the outside of it.
2009-08-16 14:15:59 -04:00
Sean Dague
96f3001bfb
mono 2.4.2 seems a little more type strict, fix some sqlite tests to pass
2009-06-18 23:59:21 +00:00
Jeff Ames
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
2009-06-01 06:37:14 +00:00
Justin Clarke Casey
67333d48fc
* Change UUIDs in SQLite user db to dashed format to match representations elsewhere
2009-04-09 19:01:52 +00:00
Justin Clarke Casey
b5ba5634fb
* Migrate UUID representations in SQLite inventory store to dashed format
...
* This makes the representation consistent with that most commonly used in the other supported database layers
2009-04-09 16:56:01 +00:00
Justin Clarke Casey
f3c7298fc5
* Make it possible to store creator strings in user inventory items as well as UUIDs
...
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Melanie Thielker
412112acba
Committing partial work on passing folders across instances. This may crash.
2009-03-23 00:11:34 +00:00
Melanie Thielker
16a6d60a21
Make offline gives work in SQLite standalones
2009-03-22 18:35:16 +00:00
Melanie Thielker
1121a214b9
Add a QueryItem method to the inventory subsystem. Currently implemented for
...
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
lbsa71
801da4346a
* optimized usings.
2009-02-12 09:53:12 +00:00
Melanie Thielker
1bd0721dbe
Add SQLite and the missing migrations files for last commit
2008-11-14 19:00:14 +00:00
Teravus Ovares
16b6738cda
* Patch from JHurliman
...
* Updates to libomv r2243,
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman.
* Will update OpenSim-libs in 10 minutes..
2008-09-26 17:25:22 +00:00
Homer Horwitz
fe9aea258f
Add persistence of active gestures. This needs an UGAIM update to work.
...
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.
2008-09-24 21:12:21 +00:00
Homer Horwitz
025441d722
Small formatting cleanup, before chi11ken notices. Me bad.
2008-09-19 21:32:41 +00:00
Homer Horwitz
1c08f46ec3
- Add Dispose method to IRegionDataStore
...
- 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-18 20:10:09 +00:00
Teravus Ovares
7d89e12293
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
...
* 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-09-06 07:52:41 +00:00
Sean Dague
066715415a
getting rid of pre-Migration cruft
2008-08-27 19:24:46 +00:00
Jeff Ames
6ef9d4da90
Formatting cleanup.
2008-08-18 00:39:10 +00:00
Charles Krinke
54af3b4f4d
Mantis#1903. Thank you kindly, CMickeyb for a patch that:
...
patch attached replaces the tree walk algorithm used to build the
folder hierarchy with a single database query. That is, we replace
1 database query per folder with 1 query for the root folder's
properties and 1 query to retrieve the entire collection of folders for a user.
2008-08-10 16:44:25 +00:00
Mike Mazur
2270b25265
Thanks, sempuki, for a patch that moves all Grid Server's plugins to
...
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Dr Scofield
748f72326d
last round of warning squashing. calling it a day now.
2008-06-27 23:03:39 +00:00
Jeff Ames
9fae975a53
Apply patch from bug #1605 -- Documentation for Data/SQLite. Thanks kerunix_Flan!
2008-06-26 20:14:33 +00:00
Sean Dague
6c1fce6147
check in working migration code fore SQLite. This
...
is now using migrations instead of the old model to
create tables. Tested for existing old tables,
and for creating new ones.
2008-06-11 21:01:33 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Jeff Ames
6a1b787436
More formatting cleanup.
2008-05-14 05:33:32 +00:00
Adam Frisby
5231903778
* In ur code. Making it static.
...
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Justin Clarke Casey
d72bdf432a
* Align new fields upgrade sql to have the same 'not null' and default settings as when an inventoryitems table is newly created
...
* Normalize logging titles in database code, though this doesn't yet cover invoking code
2008-05-01 13:27:40 +00:00
Justin Clarke Casey
eac3fd51f0
* Deal with a situation where the new fields in the inventory store are null on sqlite
...
* This is due to a preparatory change I made yesterday
2008-04-30 16:41:05 +00:00
Justin Clarke Casey
f3b44deeee
* Trivial sqlite inventory db log message change so I can pick out the messages more easily
2008-04-30 16:28:29 +00:00
Teravus Ovares
a9cc76e0ef
* Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
...
* This builds but might not work. JustinCC will examine.. it may work out of the box.
2008-04-30 16:08:24 +00:00
Justin Clarke Casey
41207b5fa0
* Preparatory work for autoupgrade of sqlite inventory tables in preparation for patches in mantis #923
2008-04-29 17:21:17 +00:00
Sean Dague
3dd98a112f
allow for Inventory database source to be specified in main
...
configs. This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Adam Frisby
fef3b36894
* Optimised using statements and namespace references across entire project (this took a while to run).
2008-04-21 07:09:17 +00:00
Sean Dague
a6d27e0929
further refactor and rename of InventoryFolderBase properties
...
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Sean Dague
5ee75998ce
more refactoring, this time on InventoryFolderBase
...
* wrap attributes in properties
* clean up names a little bit
* clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague
f436815107
Refactor InventoryItemBase to do the following:
...
* wrap fields as Properties
* rename some fields/properties to more sensible names
* set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague
2b23734a16
add some error messages for abuse of our IInventoryData interface
...
(i.e. using add to update, or update to add).
2008-04-07 15:01:00 +00:00
Sean Dague
30ea28c3b1
fix ups to include OpenSim.Framework explicit includes (they
...
were implicitly included before). Everything builds again.
Now off to testing.
2008-04-02 16:00:40 +00:00
Sean Dague
f52c8f3970
attempt to fix up all refernces to new directory structure
2008-04-02 15:36:01 +00:00
Sean Dague
c52c68f314
whole lot more moving
2008-04-02 15:24:31 +00:00