aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)1-0/+2
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)1-0/+2
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-05Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker4-14/+4
on IDwellModule
2010-09-05Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker4-14/+4
on IDwellModule
2010-09-01Fix sqlite migration problems by moving migrations in 019_RegionStore.sql ↵Justin Clark-Casey (justincc)3-14/+14
and 020 into RegionStore.migrations This shows that panda is still not running the sqlite database tests since this change fixes the test failure in that area when "nant test" is executed locally
2010-08-30Fix a casting operation to use ToString()Melanie1-1/+1
2010-08-30Implements parcel media setting persistence and packet / CAPS handlingJonathan Freedman4-4/+48
properly for the new media settings. Signed-off-by: Melanie <melanie@t-data.com>
2010-08-30local commit with parcel media bitsJonathan Freedman4-4/+48
Signed-off-by: Melanie <melanie@t-data.com>
2010-08-26Remove parts locking from data classes since these are using a copy of the ↵Justin Clark-Casey (justincc)4-168/+155
scene object
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)4-155/+167
conditions in linking and unlinking
2010-08-24Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)3-14/+0
goes to the correct directory Also removes some mono compiler warnings
2010-08-19Skip conversion if fields that are null in the database. This mayMelanie Thielker1-0/+4
uncover errors elsewhere.
2010-08-19Skip conversion if fields that are null in the database. This mayMelanie Thielker1-0/+4
uncover errors elsewhere.
2010-08-15Fix SQLite database plugin for UserAccountData queries with a single word.Marck1-1/+1
2010-08-13refactor: Use SOP.Flags rather than SOP.ObjectFlagsJustin Clark-Casey (justincc)4-10/+10
2010-08-10Enforce DB limits on region name to 32 chars, or else (not good). Removed a ↵Diva Canto1-0/+3
piece of code from Hyperlinker that didn't work anyway. Shortened the hyperlink region name.
2010-08-09Even if all data migratios are up to date, still print the current revision ↵Justin Clark-Casey (justincc)1-3/+2
to the log
2010-08-08Add distance sort for null, tooMelanie1-2/+5
2010-08-08Thank you, Marck00, for a patch that implemented region distance sortingMelanie Thielker3-4/+31
for fallback regions. Applied with changes.
2010-08-08Thank you, Marck00, for a patch that implemented region distance sortingMelanie Thielker3-4/+31
for fallback regions. Applied with changes.
2010-08-04fix mysql/mssql prim serialization problemJustin Clark-Casey (justincc)2-12/+4
2010-08-03Implement MediaUrl persistence for MySQL and MsSQLJustin Clark-Casey (justincc)2-6/+18
Not sure how I forgot this. This may resolve problems with media textures not persisting over restart for these databases.
2010-08-03get rid of PrimitiveBaseShape.MediaRaw staging postJustin Clark-Casey (justincc)3-9/+15
using an OSD serialization rather than auto forces serialization code to be placed in OpenSim.Framework this makes the media texture raw data staging post in PrimitiveBaseShape redundant, now we just directly call the code in PrimitiveBaseShape.MediaList itself
2010-07-31White space from previous commit.Diva Canto4-85/+85
2010-07-31Implemented console command "show hyperlinks".Marck4-85/+87
2010-07-26add mssql support for media on a primJustin Clark-Casey (justincc)2-4/+15
compiles but not tested. please test and correct if necessary!
2010-07-26add mysql support for media on a primJustin Clark-Casey (justincc)2-3/+14
2010-07-26relocate serialization code from SQLiteRegionData to MoapModule using load ↵Justin Clark-Casey (justincc)1-53/+2
and save events. This is better modularity. It also allows MoapModule to be replaced with some other media module that may behave completely differently in the future. Remaining non-modularity: PrimitiveBaseShape needs explicit Media and MediaRaw fields. MediaRaw is required in order to shuttle the pre-serialization data back and forth from the database layer. The database also needs to know about MediaRaw though not about Media. IMO, it would be extremely nice to remove these hard codings but this is a bridge too far at the present time.
2010-07-26Put a wrapper around the media texture region serializationJustin Clark-Casey (justincc)1-15/+43
THIS WILL BREAK EXISTING MEDIA TEXTURE PERSISTENCE. Please delete your existing sqlite databases if you are experimenting with this branch. This wrapper will make it easier to maintain compatibility if the media texture data evolves. This will also make it easier to store non-sl media texture data.
2010-07-26add missing regionstore migration file for new fields. D'oh!Justin Clark-Casey (justincc)1-0/+6
this should enable persistence now
2010-07-26fix bug where prim persistence would fail if media had never been setJustin Clark-Casey (justincc)1-6/+9
2010-07-26fix problem persisting when only one face had a media textureJustin Clark-Casey (justincc)1-2/+8
2010-07-26Implement media texture persistence over server restarts for sqliteJustin Clark-Casey (justincc)1-4/+32
This is currently persisting media as an OSDArray serialized to LLSD XML.
2010-07-26add mssql support for media on a primJustin Clark-Casey (justincc)2-4/+15
compiles but not tested. please test and correct if necessary!
2010-07-26add mysql support for media on a primJustin Clark-Casey (justincc)2-3/+14
2010-07-26relocate serialization code from SQLiteRegionData to MoapModule using load ↵Justin Clark-Casey (justincc)1-53/+2
and save events. This is better modularity. It also allows MoapModule to be replaced with some other media module that may behave completely differently in the future. Remaining non-modularity: PrimitiveBaseShape needs explicit Media and MediaRaw fields. MediaRaw is required in order to shuttle the pre-serialization data back and forth from the database layer. The database also needs to know about MediaRaw though not about Media. IMO, it would be extremely nice to remove these hard codings but this is a bridge too far at the present time.
2010-07-26Put a wrapper around the media texture region serializationJustin Clark-Casey (justincc)1-15/+43
THIS WILL BREAK EXISTING MEDIA TEXTURE PERSISTENCE. Please delete your existing sqlite databases if you are experimenting with this branch. This wrapper will make it easier to maintain compatibility if the media texture data evolves. This will also make it easier to store non-sl media texture data.
2010-07-15add missing regionstore migration file for new fields. D'oh!Justin Clark-Casey (justincc)1-0/+6
this should enable persistence now
2010-07-14fix bug where prim persistence would fail if media had never been setJustin Clark-Casey (justincc)1-6/+9
2010-07-14Removed a few obsolete mono addin references. Mantis #4854Diva Canto1-9/+0
2010-07-14comment out obsolete assert that 'item has been passed to another user since ↵Justin Clark-Casey (justincc)1-1/+1
it was last set' perms flag was set when a prim item was added to a scene object
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie1-1/+1
Change the slam bit from 3 to 4. Assume the old slam bit is always set. The new slam bit is a "changed owner" bit, correcting a bug where an item passed from the creator to another with less than full perms, then back (sale test) would arrive back full perm. Lots of in-code docs.
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie Thielker1-1/+1
Change the slam bit from 3 to 4. Assume the old slam bit is always set. The new slam bit is a "changed owner" bit, correcting a bug where an item passed from the creator to another with less than full perms, then back (sale test) would arrive back full perm. Lots of in-code docs.
2010-07-12fix problem persisting when only one face had a media textureJustin Clark-Casey (justincc)1-2/+8
2010-07-08Hopefully fixes mantis #4852Diva Canto2-4/+4
2010-07-01Implement media texture persistence over server restarts for sqliteJustin Clark-Casey (justincc)1-4/+32
This is currently persisting media as an OSDArray serialized to LLSD XML.
2010-06-28Provide the interface for StoreAsset to report success or failureTom Grimshaw6-6/+14
2010-06-27Same patch as before but for SQLite.Diva Canto1-0/+8
2010-06-27Added checks to XInventory DB layer to truncate names and descriptions.Diva Canto1-1/+9
2010-06-25minor: fix spelling mistake interupt -> interrupt in migrationsJustin Clark-Casey (justincc)1-6/+3
This is for mantis 4783