aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-129/+168
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-73/+82
2013-02-08On IAR loading, if loading of a coaleseced item entirely fails, then ↵Justin Clark-Casey (justincc)1-0/+18
continue with the IAR load rather than failing completely.
2012-11-17Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)1-3/+2
This was necessary historically but hasn't been for many years. Can still get CreatorIdAsUuid, which is really just a UUID cached version of the string CreatorId
2012-01-11If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)1-1/+4
rather than halting the IAR load with an exception.
2011-04-18Move mesh on/off swtich from [Startup] to [Mesh] in anticipation of future ↵Justin Clark-Casey (justincc)1-0/+6
config parameters. Default remains true. OpenSimDefault.ini changed so if you haven't overriden this switch then you don't need to do anything.
2011-04-18Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)1-0/+3
2011-04-18add test to ensure that an IAR starts with the control fileJustin Clark-Casey (justincc)1-10/+11
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)1-7/+21
IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
2011-03-31suspend check that IAR control file is loaded for nowJustin Clark-Casey (justincc)1-1/+6
I was mistaken - some previous opensim versions don't save this file first. Will have to bump iar version number and only check iars after the bump
2011-03-12factor inventory file loading into its own methodJustin Clark-Casey (justincc)1-57/+80
2011-03-12factor out iar asset load code into its own methodJustin Clark-Casey (justincc)1-29/+40
2011-03-12refactor: make boolean load indicators on load iars instance fieldsJustin Clark-Casey (justincc)1-8/+11
2011-03-12introduce iar load checks which make sure archive.xml comes first, then ↵Justin Clark-Casey (justincc)1-1/+32
inventory nodes, then assets this is necessary for correct loading. "save iar" always saves in this order so there shouldn't be any problems - these checks are to give better feedback to other systems that may construct IARs.
2011-03-10re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)1-2/+3
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)1-3/+37
OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
2011-03-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)1-0/+2
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2010-12-18Raise maximum iar version that master can load to 1.x, so that it can load ↵Justin Clark-Casey (justincc)1-1/+1
its own iars (oops)
2010-11-29Fix unit test.Diva Canto1-1/+1
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-10-27Formatting cleanup.Jeff Ames1-4/+4
2010-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-2/+19
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+19
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-10-22Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)1-2/+19
2010-10-22start parsing iar control fileJustin Clark-Casey (justincc)1-1/+19
This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
2010-09-12Formatting cleanup.Jeff Ames1-9/+9
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)1-2/+1
folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
2010-08-27minor: reduce log chattiness of "load iar" for IARs with lots of foldersJustin Clark-Casey (justincc)1-1/+1
2010-07-14improve closing of load/save iar streams in the event of a problemJustin Clark-Casey (justincc)1-39/+41
2010-07-12uncomment a load iar code line I accidentally commented in the last commitJustin Clark-Casey (justincc)1-1/+1
hooray for automated tests
2010-07-12comment out a lot of the debug log messages when loading an iarJustin Clark-Casey (justincc)1-10/+10
these are very redundant now and cause issues when loading large iars diva, you may want to cherry pick this for 0.7-post-fixes since it only comments out log lines and nothing else
2010-06-30Add --merge switch to load iar.Justin Clark-Casey (justincc)1-49/+61
When this switch is used, iar folders are merged with existing same-name user inventory folders. This makes it a little easier to back and restore entire individual user inventories, among other things Added unit test to check behaviour
2010-06-18Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)1-3/+3
This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
2010-06-18change TestPartExistingIarPath() to check appropriate folder creationJustin Clark-Casey (justincc)1-17/+22
change some names in InventoryArchiveReadRequest in an effort to make the code more comprehendable
2010-06-18in IAR utils, return all folders that match a particular path rather than ↵Justin Clark-Casey (justincc)1-5/+8
just the first one
2010-06-11create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)1-34/+0
add various helper functions for simplifying test readability
2010-06-05various refactorings on methods to replicate IAR paths to user inventory in ↵Justin Clark-Casey (justincc)1-81/+127
order to improve readability
2010-06-04refactor: do pathname trimming outside of ReplicateArchivePathToUserInventory()Justin Clark-Casey (justincc)1-10/+7
2010-05-28Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)1-2/+1
So, something like load iar Justin Clark-Casey / PASSWORD http://justincc.org/downloads/iars/my-great-items.iar Will load my IAR directly from the web.
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-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-7/+7
* HG is seriously broken here * Compiles. Untested.
2010-01-09Less refs to UserProfileCacheService. Compiles but likely doesn't run.Diva Canto1-1/+1
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-2/+2
2009-12-23Fix a bounds exception I came across in IAR restoreMelanie1-0/+5
2009-12-22Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the ↵Diva Canto1-1/+7
stream can be closed.
2009-11-26Resolve issue where an iar load fails to preserve original item creatorsJustin Clark-Casey (justincc)1-0/+8
See http://opensimulator.org/mantis/view.php?id=4394 This change preserves the uuid when a profile is found rather than the ospa
2009-11-24Make load/save iar slightly better in the face of io failures by always ↵Justin Clark-Casey (justincc)1-31/+37
attempting to close the streams
2009-11-23Formatting cleanup.Jeff Ames1-3/+3