aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-82/+281
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-91/+223
2012-11-24Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)1-13/+17
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-11-23minor: Add some currently commented out debug log lines for investigating ↵Justin Clark-Casey (justincc)1-0/+5
issues resolving group IDs for land parcels on OAR loading where groups do not exist
2012-10-19Fix a few minor issues in ArchiveReadRequest logging.Justin Clark-Casey (justincc)1-2/+2
2012-09-14Support multi-region OAR filesOren Hurvitz1-83/+282
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-08-20When loading an OAR, validate any group UUIDs and properly reconstruct ↵Justin Clark-Casey (justincc)1-1/+62
parcel access lists. If a group UUID is present that is not on this simulator then the object or parcel is no longer group owned. This is a change from previous behaviour where such invalid UUIDs were kept. This is an adaptation of patch 0002 from http://opensimulator.org/mantis/view.php?id=6105 by Oren Hurvitz of Kitely. My adaptations are formatting only, apart from the notices about parcel owner IDs not being saved since this has now been fixed. Thanks Oren.
2012-05-16Route OAR SOG loading through the common ↵Justin Clark-Casey (justincc)1-2/+1
SceneObjectSerializer.FromXml2Format() rather than the functionally identical but buggy Xml2ToSOG(). Remove buggy Xml2ToSOG().
2012-05-15Fix issue where loading OARs could sometimes result in link numbers being ↵Justin Clark-Casey (justincc)1-1/+3
reordered. This was because the parts in scene objects were sometimes not serialized in link order. This is perfectly fine since the parts still have the right link numbers, but an extra fix to adjust for this had not been done in the SerialiserModule methods that OAR loading used. Add regression test for same. Addresses http://opensimulator.org/mantis/view.php?id=5948, http://opensimulator.org/mantis/view.php?id=5749
2012-05-14Save the Telehub and its Spawn Points in the OAROren Hurvitz1-1/+24
2012-05-12Revert "Save the Telehub and its Spawn Points in the OAR"Justin Clark-Casey (justincc)1-24/+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/+24
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-16/+4
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-4/+16
2012-01-28Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)1-8/+8
same grid don't have the publisher as owner.
2012-01-10Add a check to see if an asset exists before recreating it whileMic Bowman1-0/+6
loading an archive. This does add an extra roundtrip to the asset server if loading new assets but it protects against overwriting (and potentially corrupting) existing assets.
2011-09-09Comment out the part of the load oar code that zeroes out prim sit target ↵Justin Clark-Casey (justincc)1-2/+2
orientations and positions. The warning about these causing problems is very old and may no longer apply. Hopes to fix http://opensimulator.org/mantis/view.php?id=5680
2011-06-10Save the sun's position in OARsOren Hurvitz1-0/+3
2011-05-14When loading an OAR that doesn't have parcels, create a default parcelOren Hurvitz1-4/+7
2011-04-18Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)1-1/+8
2011-01-27Refactor: Break out LoadObjects() and LoadParcels() from a longer methodJustin Clark-Casey (justincc)1-28/+44
2011-01-27When an oar is loaded, do not create a default parcel before loading the ↵Justin Clark-Casey (justincc)1-1/+1
parcels from the OAR. The region spanning parcel shouldn't exist in this situation. If it does, when the land data is loaded it is repersisted with a local ID which comes after the ones loaded via the oar, which obliterates the oar loaded one. Resaving the data we just loaded from the database is somewhat odd in itself (though this makes sense from the way that OAR loading was already using the same event).
2011-01-27Show local IDs in "land show" output.Justin Clark-Casey (justincc)1-0/+5
Also properly insert region name in "land clear" command
2011-01-27Fix OAR parcel loading so that old parcels are replaced by the new instead ↵Justin Clark-Casey (justincc)1-0/+4
of merged. The --merge switch will still merge the old and new land parcelling.
2010-11-21Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto1-3/+7
themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
2010-11-21Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto1-2/+19
Creator name properly shown on the viewer as first.last @authority. New option added to save oar -profile=url. Migration on RegionStore making CreatorID be 255 chars. Moved Handling of user UUID -> name requests to a new module UserManagement/UserManagementModule.
2010-11-20Fix unit tests and save problemsJustin Clark-Casey (justincc)1-1/+1
(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-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-1/+1
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+1
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-10-22slightly simplify oar control file loading codeJustin Clark-Casey (justincc)1-10/+3
2010-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-1/+1
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+1
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-10-22slightly simplify oar control file loading codeJustin Clark-Casey (justincc)1-10/+3
2010-10-16Drop max oar loading version back to 0 from 1Justin Clark-Casey (justincc)1-1/+1
2010-10-16change --old-guids switch on the save oar command line to --version=<x>Justin Clark-Casey (justincc)1-1/+1
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-0/+22
that is too high for it to handle
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-5/+1
MapAndArray collection
2010-08-28Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)1-28/+29
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)1-26/+29
conditions in linking and unlinking
2010-05-28refactor: move GetStream and URI methods from ArchiveReadRequest -> ↵Justin Clark-Casey (justincc)1-63/+1
ArchiveHelpers
2010-05-21Fix a problem where SceneGraph.AddSceneObject() would return false on ↵Justin Clark-Casey (justincc)1-1/+0
successfully adding an object rather than true, in defiance of its method documentation This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
2010-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)1-1/+0
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie1-0/+1
is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
2010-04-16minor: use the static ascii and utf8 encodings instead of instantiating our ownJustin Clark-Casey (justincc)1-6/+3
2010-04-16Add --skip-assets option to load oar.Justin Clark-Casey (justincc)1-15/+25
This allows you to load an oar without loading its assets. This is useful if you know that the required assets are already in the asset service, since loading without assets is quicker. This option will become more useful when the ability to save oars without assets is added, which should happen fairly soon. At this point there will also be better documentation.
2010-02-26fix bug where region settings loaded via an oar (water height, terrain ↵Justin Clark-Casey (justincc)1-0/+2
textures, etc.) were not being persisted to the database this meant that the loaded settings would disappear after a restart
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+1
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
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
2010-01-22Allow oar loading to work even if an estate module is not presentJustin Clark-Casey (justincc)1-2/+4
Write bare bones unit test for region setting loads