Commit Graph

97 Commits

Author SHA1 Message Date
Justin Clarke Casey
54d9fbc0fe Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
No user functionality yet.  This code is not turned on, so there is no possibility 
of disruption to existing databases.
2007-12-27 00:53:13 +00:00
Teravus Ovares
9961a5565f *on more implicit use of .ToString() on deleting shapes in MonoSqliteDataStore 2007-12-21 00:04:38 +00:00
Justin Clarke Casey
f1ebe79824 Fix up other sqlite db interactions to use non-hyphenated uuid
Inventory contents retrieval and persistent region storage standalone now appear to work as well as they did before :)
This patch will not fix grid problems.
May be bugs present due to conversions I didn't spot.
I personally probably don't have any more time for this today.  I'm also not entirely convinced this is the right way forward
so this might be a handy pause for thought.  I'll also be delighted if I wake up tommorrow and everything is fine again.
2007-12-20 19:13:34 +00:00
Sean Dague
698a63ed1a Fix typo. AutionID -> AuctionID 2007-12-18 19:13:28 +00:00
mingchen
30b7c047fa *Removed Unneeded Debug I added in my last revison
*Fixed typo causing access lists not to be stored correctly in sqlite
2007-12-18 18:32:20 +00:00
mingchen
128f2b1e1b *Parcels and their access lists now store over multiple sessions when the datastore is sqlite 2007-12-18 17:42:02 +00:00
mingchen
d845da215f *Land has now been linked to the StorageManager. Next step is to fill in the functions for the different datastore interfaces for Land Objects. 2007-12-17 03:49:13 +00:00
Adam Frisby
91c1e8a734 * Fixed a whole bunch of console messages. 2007-12-04 10:13:13 +00:00
Sean Dague
70d547c1a5 Remove unused function, one less warning 2007-11-27 15:39:35 +00:00
Sean Dague
98f82105a0 put in changes to only keep the last terrain revision. The current
unbounded model causes performance and filesystem filling grief.
Before enabling this again, we need a reasonable bounding model.
2007-11-19 22:59:28 +00:00
Sean Dague
2fdca28dd4 hopefully resolve mantis issue #10 by locking correcty around terrain methods 2007-11-19 15:07:04 +00:00
MW
483377adae More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode. 2007-11-16 13:39:11 +00:00
lbsa71
3aed77bd2c *** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
Sean Dague
886f8b5548 make Stopped a bit sloppier which should help address any float round off issues 2007-11-15 19:11:25 +00:00
Sean Dague
3ca8eb82a9 added first attempt at storing stopped physical objects 2007-11-14 22:39:59 +00:00
Sean Dague
c7e125033c clean up most of my mess on terrain. Someone on .NET please test and make
sure this remains working for you.
2007-11-14 21:00:19 +00:00
Sean Dague
ec48b67276 managed to produce and kill the same exception on mono as on .net. Hopefully
this means .net is fixed.
2007-11-14 16:35:51 +00:00
Sean Dague
28ff73129b bury connect creation deeper down in case this is what .NET hates 2007-11-14 16:29:34 +00:00
Sean Dague
8eb2a163c8 random shot in the dark 2007-11-14 16:26:18 +00:00
Sean Dague
ccd08ae3d0 remove limit stanza, see if this helps. 2007-11-14 16:08:10 +00:00
Sean Dague
02b6f6ca62 get rid of parametrized query, in case this is the .NET issue (I hope not) 2007-11-14 15:52:39 +00:00
Sean Dague
870837d4a8 further adventures in .NET workarounds 2007-11-14 15:35:27 +00:00
Sean Dague
2aec70666a no, this probably won't work either, but I'm going to at least make sure it works
mono still
2007-11-14 15:15:01 +00:00
Sean Dague
980661ed1b more attempted voodoo around .NET 2007-11-14 15:03:17 +00:00
Sean Dague
5a739cc248 attempt to resolve Sqlite not working on .NET for terrain 2007-11-14 14:11:45 +00:00
Sean Dague
4bc4844646 working now. Needs cleanup, but I'll have to do that after the next meeting 2007-11-13 15:50:56 +00:00
Sean Dague
7810b068f4 some changes to reduce memory significantly by not keeping all
terrain revisions in memory.  Once I'm sure this is working, I'll purge
out some of the crufty code here.
2007-11-13 15:22:54 +00:00
Sean Dague
9b6c8ba7d1 disable profuse logging messages for not saving physical
objects, as it clouds up the console a bit too much
2007-11-07 20:26:03 +00:00
Charles Krinke
7eff1572cb Thank you, Teravus for: Solution for 'after using physical prim with MonoSqliteDataStore, the sim lags with constantly updating assets.". This mostly affects BulletX. 2007-11-05 04:33:06 +00:00
lbsa71
67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW
3d8219f6c7 as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
Sean Dague
0d93069adb add locking to the terrain database calls 2007-10-23 14:31:35 +00:00
Adam Frisby
0c9933fd0f * Added "create-region" console command. Syntax: create-region <name> <region.xml filename>
* Spring cleaning.
2007-10-23 12:44:12 +00:00
Adam Frisby
3143768468 * Removed plenty more untagged console messages. Everything now has shiny groups. :) 2007-10-22 22:37:39 +00:00
Adam Frisby
3e5fcf90aa * Table creation now checks if the table already exists before building it. 2007-10-22 22:15:38 +00:00
Adam Frisby
b02fa17acc * Temporary fix for SQLite error -- temporarily disables terrain storage. 2007-10-22 22:07:45 +00:00
Adam Frisby
5dad0ed729 * Return of R2162. /Take that SVN!/ 2007-10-22 21:57:32 +00:00
Sean Dague
6acaabefc3 revert r2162 as it completely clobbered all the work on
the ChatModule by MW and myself.  Couldn't find Adam online
after that rev went in.
2007-10-22 15:37:54 +00:00
Adam Frisby
c4707a284f * Major ass commit.
* Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first.
* Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable.
* Fixed a whole bunch of console message issues such as naming and categorisation
2007-10-22 15:23:48 +00:00
lbsa71
849eaffbe5 * Applied patch #418 : copyright-r2012.patch - some errors, but got most thru 2007-10-15 07:10:21 +00:00
Adam Frisby
569ba9eb9a Terrain:
* Attempted fix for lag/pause when doing lots of updates.
* Some naming fixes to libTerrain.
* Refactored terrain bitmap generation into a common call for both world map and export.

General:
* Switched some calls to Console.WriteLine to use MainLog.Warn/Verbose/Notice.
2007-09-25 11:48:43 +00:00
Sean Dague
8dda11d17e fix to do hollow prims correctly. Reported from
http://bug.opensecondlife.org/view.php?id=394
2007-09-22 18:41:01 +00:00
Sean Dague
888133e987 add some locks around DataSet manipulation to ensure we are doing this
safely
2007-09-13 13:10:21 +00:00
lbsa71
615487a756 Backup is now optional on classes
* Removed unused BackUp method on EntityBase
* Added overridable InSceneBackup property on SceneObjectGroup
* Refactored out AttachToBackup and DetachFromBackup
* Normalized namespace OpenSim.DataStore.MonoSqliteStorage to OpenSim.DataStore.MonoSqlite
2007-09-13 05:25:26 +00:00
MW
15423539f9 hooked up sdague new sqlite asset database provider to the old asset system. So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote.
Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-10 06:45:54 +00:00
Sean Dague
2163fc75eb remove some more rote Verbose strings, leave only ones that actually have something
interesting to say
2007-08-31 13:03:39 +00:00
Sean Dague
a37275fe40 change debugging around failed prim loading. I have one prim that doesn't
like loading in my environment, and hopefully this will help figure out
what is going on
2007-08-31 11:48:29 +00:00
MW
9c0a855088 Remove a debug line. 2007-08-29 16:48:44 +00:00
MW
334dce42e7 Fixed the problem of prims not being loaded from the database (that my last commit created). 2007-08-29 16:35:22 +00:00
Sean Dague
2b3b1faf6d use order by ParentID to ensure root prims are selected first 2007-08-28 15:33:22 +00:00