aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestPreparation.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-10On OAR saving, try fetch assets serially rather than firing all the requests ↵Justin Clark-Casey (justincc)1-5/+12
at the asset service at once. This may (or may not) improve reliability for http://opensimulator.org/mantis/view.php?id=5898 Quick tests show that save time is the same.
2012-01-28Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)1-3/+0
same grid don't have the publisher as owner.
2011-09-12When creating an OAR, optionally exclude objects according to their permissionsOren Hurvitz1-3/+103
2011-05-26Add --noassets option for "save iar"Justin Clark-Casey (justincc)1-1/+1
Like "save oar", this saves an iar without assets This can be useful for backup when you know the required assets will still be present (e.g. you're backing up the assets db separately). This also bumps the iar format version to 0.3 and 1.2 respectively. 0.3 is backward compatible with previous opensim versions 1.2 is used if the --profile switch is specified. It is only compatible with 0.7.1 presently.
2011-05-26Bump OAR file format version up to 0.7 for this development cycle.Justin Clark-Casey (justincc)1-2/+2
This adds a <assets_included>true|false</assets_included> element to the oar control file, though this is not used on reloading at this time. This addition is backward compatible with previous opensim releases
2011-05-26Add a --noassets option to "save oar".Justin Clark-Casey (justincc)1-34/+47
This switch stops any assets being saved in the oar. This can be useful if you're using OAR to backup regions and you know you'll always have the original asset database available.
2011-04-18bump oar version number to 0.6.Justin Clark-Casey (justincc)1-1/+1
This commit contains no data changes - the version bump is to establish a version at which the control file must come first in the archive.
2010-12-11Drop current OAR version back to 0.5 since these are currently now ↵Justin Clark-Casey (justincc)1-32/+32
compatible with older OpenSim versions again. Removed ability to choose 0.4 to avoid having to write code that polices this properly. Please shout on the ml if you really need this.
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto1-5/+6
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-11-20Fix unit tests and save problemsJustin Clark-Casey (justincc)1-1/+2
(note; contrary to previous commits, saving 0.4 OARs is actually broken since serialized objects in inventories are not yet converted properly). Firstly, if you can save a version 1.0 OAR then you can load it too. Secondly, closing the save stream even on success before assets/objects are saved is a bad idea
2010-11-20Bump oar version to 1.0 from 0.5Justin Clark-Casey (justincc)1-83/+119
If oar contents are being changed such that older versions of opensim can't load them, then the major version must be increased This also locks version parameters to either 1.0 or 0.4, so that arbitrary 'versions' cannot be saved Also closes save stream properly in the event of an error Version 1.0 OARs are currently incompatible with OpenSim 0.7.0.2 and earlier. However, you can still save compatible version 0.4 OARs by specifing --version=0 on the save oar command line e.g. save oar --version=0 oars/test.oar
2010-11-02Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto1-11/+8
-version option on save oar command. Bumped archives version to 0.5; version < 0.5 generates flag fields without commas. Everything else is identical.
2010-10-27Formatting cleanup.Jeff Ames1-3/+3
2010-10-22write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)1-1/+2
2010-10-22write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)1-1/+2
2010-10-16Rip out version option since it turns out that the changed object ↵Justin Clark-Casey (justincc)1-5/+9
serialization format can actually be loaded by older OpenSims after all This bumps the OAR version to 0.4 instead, signalling some change but with backwards compatability... for now.
2010-10-16change --old-guids switch on the save oar command line to --version=<x>Justin Clark-Casey (justincc)1-4/+22
if x is 0, then an old version 0.3 archive is saved. If it is anything else or missing, then a version 1.0 archive is saved version 1.0 archives cannot be loaded on OpenSim 0.7.0.2 and earlier also add various informational notices about what version we've saving/loading
2010-10-16Have OpenSim throw a strop if it tries to load an OAR with a major version ↵Justin Clark-Casey (justincc)1-1/+1
that is too high for it to handle
2010-10-16save oar control file first rather than in the middle so that it's the first ↵Justin Clark-Casey (justincc)1-0/+38
thing we come accross on load this exposes a weekness with using tar where we don't control the order in which files are loaded. can't be helped for now
2010-10-15Made OARs use the new serialization procedure. (TPs/crossings still on the ↵Diva Canto1-2/+3
old one) Added an options argument down the pipeline. For the time being it takes --old-guids as an option to produce <Guid> instead of <UUID>.
2010-09-10First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman1-1/+1
2010-03-15* UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman1-7/+7
types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
2010-02-19forestall bug reports about the Command error: ↵Justin Clark-Casey (justincc)1-1/+13
System.EntryPointNotFoundException: CreateZStream save/load oar/iar issue by telling the user what the likely problem is
2009-11-25minor: add doc to a few parcel methodsJustin Clark-Casey (justincc)1-0/+10
2009-11-24make save and load oar slightly more robust by always closing the archive ↵Justin Clark-Casey (justincc)1-0/+6
streams even if there has been an error
2009-10-01Formatting cleanup.Jeff Ames1-3/+3
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-2/+2
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-14* When saving an oar, save assets when immediately received rather than ↵Justin Clarke Casey1-3/+8
storing them all up in memory * Hopefully this will remove out of memory problems when saving large oars on machines without much memory * It may also speed up saving of large oars
2009-04-15* Make it possible to add a request id to load and save oar requestsJustin Clarke Casey1-4/+9
* This allows specific requests to be identified.
2009-02-19* refactor: Rename new class AssetGatherer to UuidGatherer to reflect what ↵Justin Clarke Casey1-1/+1
it actually does
2009-02-18* Change AssetGatherer method access so that only methods which are worth ↵Justin Clarke Casey1-1/+1
calling from the outside are public
2009-02-18* Move asset gathering code from oar module to OpenSim.Region.Framework ↵Justin Clarke Casey1-197/+4
since this is useful in a variety of situations * Comment out one oar test since I think somehow the two save tests are causing the occasional test failures
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey1-2/+2
* This is always available at Scene.CommsManager.AssetCache
2009-02-12large scale fix for svn props after "the great refactor"Sean Dague1-14/+14
2009-02-12* optimized usings.lbsa711-17/+14
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-3/+3
NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
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!
2009-02-02* Establish OnOarFileSaved EventManager event and subscribe to that instead ↵Justin Clarke Casey1-6/+3
of passing in a waithandle to the archiver * This matches the existing OnOarFileLoaded event * This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-01-30* Extend archive save test to check for the presence of the file for the ↵Justin Clarke Casey1-3/+6
object that was in the scene * Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-23* Add direct stream loading and saving methods to the archive module.Justin Clarke Casey1-5/+21
* The async stream method does not yet signal completion to interested calling code
2008-12-30* Implement saving of region settings in OAR filesJustin Clarke Casey1-7/+26
* This means that you can now save terrain textures, water height, etc. * Estate settings are not supported * Older OAR files without these settings can still be loaded
2008-12-26* Fixes missing sculpt texture assets from oar files as detailed on mantis ↵Teravus Ovares1-0/+2
2971 by thomax
2008-12-19* refactor: Rename IRegionSerialiser and move into interfaces namespaceJustin Clarke Casey1-1/+1
2008-11-12* refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey1-1/+1
SceneGraph to make it more descriptive of its intended function
2008-11-07* refactor: allocate local ids to prims only when an object is attached to a ↵Justin Clarke Casey1-1/+1
scene
2008-11-03* Use the UUID regex sitting in utils for detection of uuids embedded in scriptsJustin Clarke Casey1-9/+1
* Replaces the one in the module itself, which had a dumb bug in it anyway
2008-11-01* Introduce an IsAttachment property on the group level (which just returns ↵Justin Clarke Casey1-1/+1
false if the group is already deleted) * This is to avoid repetitive null checks - I'm beginning to think that blasting away the root part on object deletion is actually a bad move. Perhaps we should leave it around and let the client ignore any superfluous packets (which it may well do anyway), since we're constantly exposing a race condition
2008-11-01* Fix http://opensimulator.org/mantis/view.php?id=2517Justin Clarke Casey1-1/+6
* Don't save attachments on saving oar, which stops them coming back as ghost prims
2008-09-09Update svn properties, formatting cleanup.Jeff Ames1-2/+2