aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestPreparation.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Save the Telehub and its Spawn Points in the OAR"Justin Clark-Casey (justincc)2012-05-121-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
* Save the Telehub and its Spawn Points in the OAROren Hurvitz2012-05-101-1/+1
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Revert "Better error handling if Load OAR or Save OAR fail"Justin Clark-Casey (justincc)2012-05-071-10/+1
| | | | | | This reverts commit 65c88b2ff4e2616fa5c1d4c5e75298ed1eb1c0d8. Yet again I accidentally committed something whilst evaluating it.
* Better error handling if Load OAR or Save OAR failOren Hurvitz2012-05-071-1/+10
|
* Use DotNetZip to compress OARs and IARs.Oren Hurvitz2012-04-271-1/+4
| | | | DotNetZip provides much better compression than standard .NET.
* When creating an OAR, objects where the user is the Creator are always ↵Oren Hurvitz2012-04-261-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.
* Fix TestSaveOarNoAssets() by not launch a no-assets request on a separate ↵Justin Clark-Casey (justincc)2012-03-101-1/+1
| | | | | | thread. This was previous behaviour anyway.
* On OAR saving, try fetch assets serially rather than firing all the requests ↵Justin Clark-Casey (justincc)2012-03-101-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.
* Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)2012-01-281-3/+0
| | | | same grid don't have the publisher as owner.
* When creating an OAR, optionally exclude objects according to their permissionsOren Hurvitz2011-09-121-3/+103
|
* Add --noassets option for "save iar"Justin Clark-Casey (justincc)2011-05-261-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.
* Bump OAR file format version up to 0.7 for this development cycle.Justin Clark-Casey (justincc)2011-05-261-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
* Add a --noassets option to "save oar".Justin Clark-Casey (justincc)2011-05-261-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.
* bump oar version number to 0.6.Justin Clark-Casey (justincc)2011-04-181-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.
* Drop current OAR version back to 0.5 since these are currently now ↵Justin Clark-Casey (justincc)2010-12-111-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.
* Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2010-11-291-5/+6
| | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
* Fix unit tests and save problemsJustin Clark-Casey (justincc)2010-11-201-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
* Bump oar version to 1.0 from 0.5Justin Clark-Casey (justincc)2010-11-201-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
* Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto2010-11-021-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.
* Formatting cleanup.Jeff Ames2010-10-271-3/+3
|
* write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)2010-10-221-1/+2
|
* Rip out version option since it turns out that the changed object ↵Justin Clark-Casey (justincc)2010-10-161-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.
* change --old-guids switch on the save oar command line to --version=<x>Justin Clark-Casey (justincc)2010-10-161-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
* Have OpenSim throw a strop if it tries to load an OAR with a major version ↵Justin Clark-Casey (justincc)2010-10-161-1/+1
| | | | that is too high for it to handle
* save oar control file first rather than in the middle so that it's the first ↵Justin Clark-Casey (justincc)2010-10-161-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
* Made OARs use the new serialization procedure. (TPs/crossings still on the ↵Diva Canto2010-10-151-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>.
* First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman2010-09-101-1/+1
|
* * UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman2010-03-151-7/+7
| | | | | | types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
* forestall bug reports about the Command error: ↵Justin Clark-Casey (justincc)2010-02-191-1/+13
| | | | System.EntryPointNotFoundException: CreateZStream save/load oar/iar issue by telling the user what the likely problem is
* minor: add doc to a few parcel methodsJustin Clark-Casey (justincc)2009-11-251-0/+10
|
* make save and load oar slightly more robust by always closing the archive ↵Justin Clark-Casey (justincc)2009-11-241-0/+6
| | | | streams even if there has been an error
* Formatting cleanup.Jeff Ames2009-10-011-3/+3
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-151-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
* * When saving an oar, save assets when immediately received rather than ↵Justin Clarke Casey2009-05-141-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
* * Make it possible to add a request id to load and save oar requestsJustin Clarke Casey2009-04-151-4/+9
| | | | | | * This allows specific requests to be identified.
* * refactor: Rename new class AssetGatherer to UuidGatherer to reflect what ↵Justin Clarke Casey2009-02-191-1/+1
| | | | it actually does
* * Change AssetGatherer method access so that only methods which are worth ↵Justin Clarke Casey2009-02-181-1/+1
| | | | calling from the outside are public
* * Move asset gathering code from oar module to OpenSim.Region.Framework ↵Justin Clarke Casey2009-02-181-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
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-161-2/+2
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* large scale fix for svn props after "the great refactor"Sean Dague2009-02-121-14/+14
|
* * optimized usings.lbsa712009-02-121-17/+14
|
* this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield2009-02-101-0/+333
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