aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-01-08Added more debug messages under the -verbose option.Diva Canto1-2/+6
2010-12-11Drop current OAR version back to 0.5 since these are currently now ↵Justin Clark-Casey (justincc)3-35/+34
compatible with older OpenSim versions again. Removed ability to choose 0.4 to avoid having to write code that polices this properly. Please shout on the ml if you really need this.
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2-7/+30
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-11-23Fix: Allow use of parameters without specifying a file path with command ↵Marck1-1/+1
"save oar"
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 Canto2-2/+20
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-20Knock V0_2 decals off archive tests since they're misleadingJustin Clark-Casey (justincc)1-8/+8
2010-11-20Fix unit tests and save problemsJustin Clark-Casey (justincc)3-3/+4
(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-11-20correct build break. for some reason, xbuild didn't rebuild test dllsJustin Clark-Casey (justincc)1-2/+2
2010-11-20Bump oar version to 1.0 from 0.5Justin Clark-Casey (justincc)1-83/+119
If oar contents are being changed such that older versions of opensim can't load them, then the major version must be increased This also locks version parameters to either 1.0 or 0.4, so that arbitrary 'versions' cannot be saved Also closes save stream properly in the event of an error Version 1.0 OARs are currently incompatible with OpenSim 0.7.0.2 and earlier. However, you can still save compatible version 0.4 OARs by specifing --version=0 on the save oar command line e.g. save oar --version=0 oars/test.oar
2010-11-02Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto2-16/+10
-version option on save oar command. Bumped archives version to 0.5; version < 0.5 generates flag fields without commas. Everything else is identical.
2010-10-27Formatting cleanup.Jeff Ames1-3/+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-22write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)1-1/+2
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-22write IAR control file first in the archive rather than lastJustin Clark-Casey (justincc)1-1/+2
2010-10-22minor: add some text to the oar abort messages on assets timeout to make it ↵Justin Clark-Casey (justincc)1-1/+1
clear that the oar will not be usable
2010-10-16Drop max oar loading version back to 0 from 1Justin Clark-Casey (justincc)1-1/+1
2010-10-16Rip out version option since it turns out that the changed object ↵Justin Clark-Casey (justincc)2-7/+11
serialization format can actually be loaded by older OpenSims after all This bumps the OAR version to 0.4 instead, signalling some change but with backwards compatability... for now.
2010-10-16change --old-guids switch on the save oar command line to --version=<x>Justin Clark-Casey (justincc)5-9/+31
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)2-1/+23
that is too high for it to handle
2010-10-16save oar control file first rather than in the middle so that it's the first ↵Justin Clark-Casey (justincc)3-38/+41
thing we come accross on load this exposes a weekness with using tar where we don't control the order in which files are loaded. can't be helped for now
2010-10-15Made OARs use the new serialization procedure. (TPs/crossings still on the ↵Diva Canto3-14/+25
old one) Added an options argument down the pipeline. For the time being it takes --old-guids as an option to produce <Guid> instead of <UUID>.
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-5/+1
MapAndArray collection
2010-09-12Formatting cleanup.Jeff Ames1-4/+4
2010-09-10First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman1-1/+1
2010-09-07* Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman1-1/+4
avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
2010-09-07If a scene object part UUID is changed (only possible when not in a scene), ↵Justin Clark-Casey (justincc)1-1/+1
then adjust the inventory items to point to the new uuid as well
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-06-29Revert "don't report the null uuid as a missing asset on saving oars/iars"Justin Clark-Casey (justincc)1-5/+3
This reverts commit 5ce119174e03715bfc61f7864bd3e7182c5d21ea. This change led to infinite timeout since the expected number of assets no longer matched requests. Rather than introduce yet fresh bugs with another fix, just revert this since the inaccurate report is just inconvenient
2010-06-25don't report the null uuid as a missing asset on saving oars/iarsJustin Clark-Casey (justincc)1-3/+5
2010-06-04remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)1-1/+1
easily configured for test purposes
2010-05-28refactor: move GetStream and URI methods from ArchiveReadRequest -> ↵Justin Clark-Casey (justincc)2-63/+65
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)4-38/+75
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)2-3/+31
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)3-24/+37
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-03-15* UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman2-12/+25
types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
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 Hurliman2-2/+2
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2-2/+2
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-21One more test running.Diva Canto1-1/+1
2010-02-19forestall bug reports about the Command error: ↵Justin Clark-Casey (justincc)2-2/+26
System.EntryPointNotFoundException: CreateZStream save/load oar/iar issue by telling the user what the likely problem is