aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-018-8/+8
| | | | LICENSE.txt.
* * Add xml2 load testJustin Clarke Casey2009-05-291-2/+0
|
* * Take another attempt at http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey2009-05-191-12/+14
| | | | | | * Return something more sensible if a file isn't found
* * minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey2009-05-181-1/+1
| | | | | | * didn't realize that we were getting back plain old exceptions
* * Resolve http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey2009-05-181-4/+4
| | | | | | * Catch directory exception on load oar as well as file exception
* * Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey2009-05-181-120/+120
| | | | | | * Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-05-181-0/+1
| | | | | | | | | Fixes: [1] Sharing exception on remote OAR management [2] Occasional 505 error talking to Tomcat [3] Occasional mono aborts caused by mlog in the script engine's app domain (mono 2.4)
* * Resolve bug where save oar would never complete if any assets were missingJustin Clarke Casey2009-05-153-17/+11
|
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-154-130/+136
| | | | | | | | | | | | -- 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-144-121/+122
| | | | | | | | | 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
* * refactor: break some of xml2 serialization out of sogJustin Clarke Casey2009-05-141-1/+2
|
* remove misleading commentSean Dague2009-05-071-3/+0
|
* instrument most of the tests with a new InMethod function that may help us ↵Sean Dague2009-05-071-0/+3
| | | | | | | figure out where that pesky deadlock is during test runs.
* minor: Inconsquential change to provoke another buildJustin Clarke Casey2009-05-071-1/+1
|
* * Get rid of some extraneous debug log output from the last commitJustin Clarke Casey2009-04-282-4/+4
|
* * Stop oar loading barfing if the archive contains directory entriesJustin Clarke Casey2009-04-282-12/+44
|
* * Write separate unit test for replicating iar structure to a user inventoryJustin Clarke Casey2009-04-241-3/+2
|
* * Write basic, incomplete load iar testJustin Clarke Casey2009-04-241-6/+0
|
* * refactor: move archive user inventory item serialization out to a separate ↵Justin Clarke Casey2009-04-231-1/+1
| | | | file
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-04-221-4/+11
| | | | | | | | Changes to enable script state persistence across non-restart serialization situations (inventory/OAR/attachments) Also fixing test cases for OAR and IAR so they don't barf with the new code.
* fixes System.UnauthorizedAccessExceptions when trying to load OARs fromDr Scofield2009-04-171-2/+2
| | | | | read-only files on linux.
* * Make it possible to add a request id to load and save oar requestsJustin Clarke Casey2009-04-155-23/+51
| | | | | | * This allows specific requests to be identified.
* * Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey2009-04-141-1/+6
| | | | | | | | | normal runtime thread * This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset quque
* * Tagged long running tests with LongRunningAttribute.lbsa712009-04-091-2/+4
| | | | | | * Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever. * Feel free to run the unit tests as you code, and the rest before commit.
* * minor: move RegionSettingsSerializer into OpenSim.Framework.SerializationJustin Clarke Casey2009-03-273-257/+2
|
* * minor: remove load oar logging I accidentally left in a few commits agoJustin Clarke Casey2009-03-241-8/+4
| | | | | | | * reduce noisiness of uuid gatherer * stop bothering to pointless complain about directory tar entries when loading an oar
* * Use memory more efficiently when loading oarsJustin Clarke Casey2009-03-241-11/+19
| | | | | | | * This change starts the script immediately after an object is loaded, rather than waiting till they are all loaded * This should be okay, but please report any new errors
* Rename OpenSim.Framework.Archive to OpenSim.Framework.SerializationMike Mazur2009-03-165-102/+102
| | | | | Update using statements and prebuild.xml. Also trim trailing whitespace.
* * Support loading empty folders in an iarJustin Clarke Casey2009-03-132-7/+12
|
* * Move SceneObject tests into their proper namespaceJustin Clarke Casey2009-03-121-0/+6
| | | | | | * Add some more debug code to narrow down where the tests are freezing
* Move ArchiveConstants to OpenSim.Framework.ArchiveMike Mazur2009-03-122-123/+1
| | | | | | | | | | - move a couple constants from InventoryArchiveConstants to ArchiveConstants, now only one of these is needed - change InventoryArchiveConstants references to ArchiveConstants - remove InventoryArchive AssetInventoryServer plugin dependency on OpenSim.Region.CodeModules - trim trailing whitespace
* Moving TarArchive to OpenSim.Framework.ArchiveMike Mazur2009-03-126-436/+5
| | | | | | | We now build OpenSim.Framework.Archive.dll which aims to contain code used for archiving various things in OpenSim. Also remove trailing whitespace.
* * Enable test logging for TestSaveOarV0p2 to capture more information the ↵Justin Clarke Casey2009-03-101-3/+4
| | | | next time this hiccups
* * Address http://opensimulator.org/mantis/view.php?id=3207Justin Clarke Casey2009-03-091-2/+8
| | | | | | | | | * A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache. * This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more restructuring. * I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
* * Improve memory usage when writing OARsJustin Clarke Casey2009-03-065-71/+61
| | | | | | | | * This should make saving large OARs a somewhat better experience * However, the problem where saving an archive pulls large numbers of assets into the asset cache isn't yet resolved * This patch also removes lots of archive writing spam that crept in
* * Add more status information when an oar is being savedJustin Clarke Casey2009-03-052-0/+23
| | | | | | * Among other messages, a log entry is posted for every 50 assets added to the archive
* * Add the abilty to load and save iar item nodes where folders have ↵Justin Clarke Casey2009-03-041-17/+28
| | | | identical names
* * Add gnu tar format long file name support to tar reading and writing.Justin Clarke Casey2009-03-043-85/+126
| | | | | | * Not actually tested yet though existing code which doesn't require long file names looks fine
* * Store inventory data in an 'inventory' directory rather than in the root ↵Justin Clarke Casey2009-02-251-5/+0
| | | | of an iar
* * Consistently lock part.TaskInventory as pointed out in ↵Justin Clarke Casey2009-02-201-8/+11
| | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=3159 * Not locking causes enumeration exceptions as described in this matis * part.TaskInventory needs to be locked for every access as it's a dictionary * Extra locking will hopefully not cause any major issues - in places where the enumeration of the dictionary performs other lock or long running operations, the dictionary is cloned instead
* * 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-182-198/+5
| | | | | | | | 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
* * switch to pulsing monitors to perform test sync instead of events, since ↵Justin Clarke Casey2009-02-171-11/+17
| | | | this doesn't allow one to accidentally forget to reset the event
* * Get rid of a unit test race condition based on my misreading of the ↵Justin Clarke Casey2009-02-171-2/+4
| | | | | | | | AutoResetEvent docs * Hopefully this will reduce the spike in build failures seen in the past few days (since I introduced an addition oar test)
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-173-11/+11
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-162-3/+3
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* * Change static field "initialized" in RestInterregionComms to an instance fieldJustin Clarke Casey2009-02-131-1/+1
| | | | | | * This was the cause of teleport tests interfering with each other
* large scale fix for svn props after "the great refactor"Sean Dague2009-02-1212-105/+105
|
* * optimized usings.lbsa712009-02-1212-129/+111
|