aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)2015-01-081-8/+6
| | | | | This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes.
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-1/+1
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* Modifications to previous IAR commits to bring them more inline with ↵AliciaRaven2014-09-231-5/+6
| | | | existing OpenSim code conventions. Also include new IAR save switch in console help print out.
* Add an event callback for loading IAR files. The callback for creating them ↵AliciaRaven2014-09-231-2/+22
| | | | already existed but not for loading. This is of interest for use by region modules. Also includes reporting numbers of items saved and items filtered to the completed log printout.
* Change existing IAR save to use UUID for its callback reference instead of ↵AliciaRaven2014-09-231-3/+3
| | | | Guid. This is for uniformity as discussed on IRC.
* Include same content filters for IAR file exports that already exist for OAR ↵AliciaRaven2014-09-231-0/+53
| | | | files. Adds new console switch --perm=CTM to save iar command.
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-051-1/+2
| | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
* Run slow operations in a separate thread, instead of using FireAndForget ↵Oren Hurvitz2014-03-251-1/+1
| | | | | | (which has a 1-minute timeout) Resolves http://opensimulator.org/mantis/view.php?id=6945
* Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz2014-01-201-2/+2
| | | | | | "Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'.
* Make it so that "load iar / ..." does not save the 'root' "My Inventory" folder.Justin Clark-Casey (justincc)2013-02-161-0/+6
| | | | | | | | Really "My Inventory" is just the name of the root, it isn't a folder in its own right. This also makes it more intuitive for users to save whole inventory iars for backup/later restoration, as they don't need to remember to use /* /* will still work and this is a special case just for the root If you want to save only the contents of other folders (rather than the folder itself), you still need to specify something like a/b/* Added a regression test for this case.
* Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)2013-02-161-1/+1
|
* If Save OAR/IAR times-out while waiting for assets then notify the caller ↵Oren Hurvitz2013-01-021-2/+8
| | | | that the operation failed
* minor: Fix verbose IAR save message to make it a bit clearer that item data ↵Justin Clark-Casey (justincc)2012-10-271-1/+1
| | | | is being saved at that point, not asset data.
* Fix "save iar" hanging permanently if the asset request phase times out.Justin Clark-Casey (justincc)2012-10-261-5/+8
| | | | | | | | Unlike "save oar", this was happening on the same thread as the original request. The timeout happens on another so the original thread is never aborted. On "save oar" this leaves the thread hanging (still bad) but on "save iar" it left the console thread hanging. Temporary fix is to make "save iar" do asset request on a separate thread, like "save oar". Longer term fix will be to restructure asset save to use a ManualResetEvent rather than a separate timeout timer.
* Use DotNetZip to compress OARs and IARs.Oren Hurvitz2012-04-271-1/+4
| | | | DotNetZip provides much better compression than standard .NET.
* Added ability to exclude inventory items or folders when saving IAR files.Kevin Cozens2012-04-131-29/+59
|
* minor: In IAR save, log when we start adding the control file rather than ↵Justin Clark-Casey (justincc)2012-03-101-2/+3
| | | | saying afterwards that we added it.
* Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer2012-02-031-1/+1
| | | | corresponding RemoteAdmin parameter
* tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)2011-06-141-1/+3
| | | | as well as item id and asset id
* insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)2011-06-041-3/+0
| | | | rather than just the first one
* When saving an iar, don't chase down link asset IDs (since these points to ↵Justin Clark-Casey (justincc)2011-05-271-1/+4
| | | | | | other items rather than real assets) This bug had no practical effect other than to make "save iar" misreport the number of missing assets
* Add --noassets option for "save iar"Justin Clark-Casey (justincc)2011-05-261-10/+35
| | | | | | | | 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 default IAR version to 0.2 and 1.1 for the --profile version.Justin Clark-Casey (justincc)2011-04-181-2/+2
| | | | There are no changes in this bump, they just signal a point at which the control file comes first in the archive.
* Added a -v|verbose option to save iar.Diva Canto2011-01-081-0/+6
|
* If we're saving an IAR with --profile information, then label this a version ↵Justin Clark-Casey (justincc)2010-12-111-5/+22
| | | | 1.0 IAR since it isn't compatible with older OpenSim releases.
* Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2010-11-291-15/+13
| | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
* minor: remove some old commented out codeJustin Clark-Casey (justincc)2010-10-301-22/+0
|
* Formatting cleanup.Jeff Ames2010-10-271-2/+2
|
* print IAR version number on console when savingJustin Clark-Casey (justincc)2010-10-221-2/+6
|
* write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)2010-10-221-4/+6
|
* Formatting cleanup.Jeff Ames2010-09-121-5/+5
|
* very minor log message and var name tweaking for iar savingJustin Clark-Casey (justincc)2010-08-281-4/+6
|
* improve closing of load/save iar streams in the event of a problemJustin Clark-Casey (justincc)2010-07-141-70/+69
|
* in IAR utils, return all folders that match a particular path rather than ↵Justin Clark-Casey (justincc)2010-06-181-2/+3
| | | | just the first one
* refactor: move GetStream and URI methods from ArchiveReadRequest -> ↵Justin Clark-Casey (justincc)2010-05-281-1/+0
| | | | ArchiveHelpers
* * UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman2010-03-151-2/+2
| | | | | | types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
* OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+1
|
* * Starting to clean the house...Diva Canto2010-01-101-1/+1
| | | | * Fixed circular dependency
* * OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto2010-01-101-8/+8
| | | | | * 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-3/+3
|
* Make load/save iar slightly better in the face of io failures by always ↵Justin Clark-Casey (justincc)2009-11-241-32/+40
| | | | attempting to close the streams
* Formatting cleanup.Jeff Ames2009-11-231-3/+3
|
* refactor out iar escapingJustin Clark-Casey (justincc)2009-11-091-9/+2
|
* Tell the user when a 'save iar' has failed because the inventory path could ↵Justin Clark-Casey (justincc)2009-11-091-53/+21
| | | | not be found
* * Escape / character when saving items and folders in an iar so that the ↵Justin Clark-Casey (justincc)2009-11-051-0/+7
| | | | loader doesn't barf
* Formatting cleanup.Jeff Ames2009-10-011-10/+10
|
* Don't preserve full user profile details within iars for nowJustin Clark-Casey (justincc)2009-09-251-1/+3
| | | | This information was not being used in the load process
* add control files containing version info to iarsJustin Clark-Casey (justincc)2009-09-251-0/+28
|
* Remove bug where iar created folders could not be deleted after relogJustin Clark-Casey (justincc)2009-09-111-1/+1
| | | | New folders need to be created with AssetType.Unknown rather than AssetType.Folder!