aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move mesh on/off swtich from [Startup] to [Mesh] in anticipation of future ↵Justin Clark-Casey (justincc)2011-04-181-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.
* Add regression test to check that OARs start with the control file.Justin Clark-Casey (justincc)2011-04-181-0/+3
|
* add test to ensure that an IAR starts with the control fileJustin Clark-Casey (justincc)2011-04-181-10/+11
|
* Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)2011-04-151-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.
* suspend check that IAR control file is loaded for nowJustin Clark-Casey (justincc)2011-03-311-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
* factor inventory file loading into its own methodJustin Clark-Casey (justincc)2011-03-121-57/+80
|
* factor out iar asset load code into its own methodJustin Clark-Casey (justincc)2011-03-121-29/+40
|
* refactor: make boolean load indicators on load iars instance fieldsJustin Clark-Casey (justincc)2011-03-121-8/+11
|
* introduce iar load checks which make sure archive.xml comes first, then ↵Justin Clark-Casey (justincc)2011-03-121-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.
* re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)2011-03-101-2/+3
|
* For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)2011-03-101-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.
* Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2011-03-091-0/+2
| | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
* Raise maximum iar version that master can load to 1.x, so that it can load ↵Justin Clark-Casey (justincc)2010-12-181-1/+1
| | | | its own iars (oops)
* Fix unit test.Diva Canto2010-11-291-1/+1
|
* 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.
* Formatting cleanup.Jeff Ames2010-10-271-4/+4
|
* Implement guard against trying to load incompatible version IARsJustin Clark-Casey (justincc)2010-10-221-2/+19
|
* start parsing iar control fileJustin Clark-Casey (justincc)2010-10-221-1/+19
| | | | This change requires a prebuild[.sh|.bat] since a System.Xml.Linq reference is added to prebuild.xml
* Formatting cleanup.Jeff Ames2010-09-121-9/+9
|
* Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)2010-09-041-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.
* minor: reduce log chattiness of "load iar" for IARs with lots of foldersJustin Clark-Casey (justincc)2010-08-271-1/+1
|
* Merge branch 'iar-merge'Justin Clark-Casey (justincc)2010-08-041-49/+61
|\ | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs
| * Add --merge switch to load iar.Justin Clark-Casey (justincc)2010-06-301-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
* | improve closing of load/save iar streams in the event of a problemJustin Clark-Casey (justincc)2010-07-141-39/+41
| |
* | uncomment a load iar code line I accidentally commented in the last commitJustin Clark-Casey (justincc)2010-07-121-1/+1
| | | | | | | | hooray for automated tests
* | comment out a lot of the debug log messages when loading an iarJustin Clark-Casey (justincc)2010-07-121-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
* Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)2010-06-181-3/+3
| | | | | This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
* change TestPartExistingIarPath() to check appropriate folder creationJustin Clark-Casey (justincc)2010-06-181-17/+22
| | | | change some names in InventoryArchiveReadRequest in an effort to make the code more comprehendable
* in IAR utils, return all folders that match a particular path rather than ↵Justin Clark-Casey (justincc)2010-06-181-5/+8
| | | | just the first one
* create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)2010-06-111-34/+0
| | | | add various helper functions for simplifying test readability
* various refactorings on methods to replicate IAR paths to user inventory in ↵Justin Clark-Casey (justincc)2010-06-051-81/+127
| | | | order to improve readability
* refactor: do pathname trimming outside of ReplicateArchivePathToUserInventory()Justin Clark-Casey (justincc)2010-06-041-10/+7
|
* Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)2010-05-281-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.
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-1/+1
|
* * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-1/+1
| | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+1
|
* * OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto2010-01-101-7/+7
| | | | | * HG is seriously broken here * Compiles. Untested.
* Less refs to UserProfileCacheService. Compiles but likely doesn't run.Diva Canto2010-01-091-1/+1
|
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-041-2/+2
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2009-12-231-1/+7
|\
| * Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the ↵Diva Canto2009-12-221-1/+7
| | | | | | | | stream can be closed.
* | Fix a bounds exception I came across in IAR restoreMelanie2009-12-231-0/+5
|/
* Resolve issue where an iar load fails to preserve original item creatorsJustin Clark-Casey (justincc)2009-11-261-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
* Make load/save iar slightly better in the face of io failures by always ↵Justin Clark-Casey (justincc)2009-11-241-31/+37
| | | | attempting to close the streams
* Formatting cleanup.Jeff Ames2009-11-231-3/+3
|
* minor: A further minor tweak to reduce iar load logging verbosityJustin Clark-Casey (justincc)2009-11-131-2/+2
|
* Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2009-11-091-3/+4
|\
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2009-11-051-2/+11
| |\
| * | Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-051-3/+4
| | | | | | | | | | | | unknown asset type, and log an error if it ever does happen
* | | refactor out iar escapingJustin Clark-Casey (justincc)2009-11-091-8/+1
| | |