aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-55/+67
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-35/+49
2012-11-24Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)1-8/+3
parcel owner ID to the estate owner even if the group UUID was present. Aims to address http://opensimulator.org/mantis/view.php?id=6355 As part of this work, an incomplete IXGroupsData was added which currently only allows store/fetch/delete of group records (i.e. no membership data etc) This is subject to change and currently only an in-memory storage implementation exists for regression test purposes.
2012-09-14Rename ArchiveWriteRequestPreparatio nto ArchiveWriteRequest since after the ↵Justin Clark-Casey (justincc)1-4/+4
multi-OAR patch there is now only one class that handles this operation. Adapation of 0004-Renamed-ArchiveWriteRequestPreparation-to-ArchiveWri.patch in http://opensimulator.org/mantis/view.php?id=6105 since that did not directly apply
2012-09-14Support multi-region OAR filesOren Hurvitz1-148/+344
Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
2012-05-24Comment out accidentally left in log line that was printing out the control ↵Justin Clark-Casey (justincc)1-3/+3
file on OAR save
2012-05-19Add size of region to OAR control file. Megaregions (sw root OARs when ↵Justin Clark-Casey (justincc)1-14/+24
saved) will have a size larger than 256x256 Not yet read. Do not rely on this information yet, it may change.
2012-05-19Remove recent IRegionCombinerModule.IsMegaregion(). In theory, there can be ↵Justin Clark-Casey (justincc)1-1/+1
more than one megaregion in a simulator, separated by water. Rename IsRootRegion() to IsRootForMegaregion()
2012-05-19Add is_megaregion flag into oar control file. Not currently read - for ↵Justin Clark-Casey (justincc)1-32/+63
future use. Please do not rely on this remaining here. An adaptation of part of Garmin's patch from http://opensimulator.org/mantis/view.php?id=5975, thanks! Flag only written if the SW corner OAR is saved - this is the only one that captures object data presently (though not land or terrain data). This adds an IRegionCombinerModule interface and the necessary methods on RegionCombinerModule
2012-05-14Save the Telehub and its Spawn Points in the OAROren Hurvitz1-1/+1
2012-05-12Revert "Save the Telehub and its Spawn Points in the OAR"Justin Clark-Casey (justincc)1-1/+1
This reverts commit b0b7b45b943dd94546bcfcf5d3bb871cfe35b507. Sorry BlueWall, I wanted to discuss an aspect of the data storage but I couldn't assign bugs in 'patch included' state to myself until I changed mantis just now and I forgot to mention it on irc. I wouldn't normally revert but thinks get tricky when it comes to data formats. Essentially, I would like to see the Yaw, Pitch and Distance values as separate XML entities (as used in other aspects such as vectors, quaternions) rather than as a . delimited string We can discuss this more with Oren in opensimulator.org/mantis/view.php?id=6008
2012-05-10Save the Telehub and its Spawn Points in the OAROren Hurvitz1-1/+1
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-07Revert "Better error handling if Load OAR or Save OAR fail"Justin Clark-Casey (justincc)1-10/+1
This reverts commit 65c88b2ff4e2616fa5c1d4c5e75298ed1eb1c0d8. Yet again I accidentally committed something whilst evaluating it.
2012-05-07Better error handling if Load OAR or Save OAR failOren Hurvitz1-1/+10
2012-04-27Use DotNetZip to compress OARs and IARs.Oren Hurvitz1-1/+4
DotNetZip provides much better compression than standard .NET.
2012-04-26When creating an OAR, objects where the user is the Creator are always ↵Oren Hurvitz1-2/+7
included, regardless of their permissions. The purpose of the permission checks is to prevent the unauthorized copying of assets, but users can always copy assets that they created.
2012-03-10Fix TestSaveOarNoAssets() by not launch a no-assets request on a separate ↵Justin Clark-Casey (justincc)1-1/+1
thread. This was previous behaviour anyway.
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