aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-07Revert "Better error handling if Load OAR or Save OAR fail"Justin Clark-Casey (justincc)1-6/+1
This reverts commit 65c88b2ff4e2616fa5c1d4c5e75298ed1eb1c0d8. Yet again I accidentally committed something whilst evaluating it.
2012-05-07Better error handling if Load OAR or Save OAR failOren Hurvitz1-1/+6
2012-03-10minor: rearrange some save oar messages so they say what they're about to do ↵Justin Clark-Casey (justincc)1-8/+7
rather than what they've just done.
2010-12-11Drop current OAR version back to 0.5 since these are currently now ↵Justin Clark-Casey (justincc)1-2/+1
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-02Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto1-5/+2
-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-16Rip out version option since it turns out that the changed object ↵Justin Clark-Casey (justincc)1-2/+2
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)1-1/+5
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-16save oar control file first rather than in the middle so that it's the first ↵Justin Clark-Casey (justincc)1-36/+1
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 Canto1-2/+5
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-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)1-10/+1
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-1/+1
2009-11-24make save and load oar slightly more robust by always closing the archive ↵Justin Clark-Casey (justincc)1-6/+16
streams even if there has been an error
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)1-0/+11
- adding LandDataSerializer to OAR mechanics
2009-06-29From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-3/+3
Attached is a patch that changes the oar file saving of creation date/time to an integer instead of a string. I did this after justincc emailed me saying there is a problem with internationalisation doing it the old way and I said I'd fix it. Its been tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-12* minor: remove one mono warningJustin Clarke Casey1-1/+0
2009-06-12* minor: make control file loading code consistentJustin Clarke Casey1-1/+0
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+8
This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.
2009-06-01* minor: change the name of one serialization method to match its counterpartJustin Clarke Casey1-1/+1
2009-06-01* Fix race condition in save oarJustin Clarke Casey1-1/+1
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-15* Resolve bug where save oar would never complete if any assets were missingJustin Clarke Casey1-3/+3
2009-05-14* When saving an oar, save assets when immediately received rather than ↵Justin Clarke Casey1-17/+12
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
2009-04-15* Make it possible to add a request id to load and save oar requestsJustin Clarke Casey1-2/+5
* This allows specific requests to be identified.
2009-03-27* minor: move RegionSettingsSerializer into OpenSim.Framework.SerializationJustin Clarke Casey1-0/+1
2009-03-16Rename OpenSim.Framework.Archive to OpenSim.Framework.SerializationMike Mazur1-13/+13
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-12Moving TarArchive to OpenSim.Framework.ArchiveMike Mazur1-0/+1
We now build OpenSim.Framework.Archive.dll which aims to contain code used for archiving various things in OpenSim. Also remove trailing whitespace.
2009-03-06* Improve memory usage when writing OARsJustin Clarke Casey1-6/+6
* 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
2009-03-05* Add more status information when an oar is being savedJustin Clarke Casey1-0/+8
* Among other messages, a log entry is posted for every 50 assets added to the archive
2009-02-12large scale fix for svn props after "the great refactor"Sean Dague1-12/+12
2009-02-12* optimized usings.lbsa711-13/+12
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-3/+3
NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-02-02* Establish OnOarFileSaved EventManager event and subscribe to that instead ↵Justin Clarke Casey1-16/+15
of passing in a waithandle to the archiver * This matches the existing OnOarFileLoaded event * This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-01-30* Extend archive save test to check for the presence of the file for the ↵Justin Clarke Casey1-1/+8
object that was in the scene * Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-23* Write a simple archive loading test which doesn't actually do any testing ↵Justin Clarke Casey1-3/+3
yet apart from not blow up
2009-01-23* minor: small tweak to archive save completion log messageJustin Clarke Casey1-2/+1
2009-01-23* Add direct stream loading and saving methods to the archive module.Justin Clarke Casey1-6/+6
* The async stream method does not yet signal completion to interested calling code
2008-12-30* Implement saving of region settings in OAR filesJustin Clarke Casey1-5/+9
* This means that you can now save terrain textures, water height, etc. * Estate settings are not supported * Older OAR files without these settings can still be loaded
2008-12-19* refactor: Rename IRegionSerialiser and move into interfaces namespaceJustin Clarke Casey1-2/+2
2008-10-15* minor: oops, small textual tweakJustin Clarke Casey1-1/+1
2008-10-15* minor: during opensim archive creation, tell the user that it may take ↵Justin Clarke Casey1-1/+4
some time
2008-09-06Mantis #2133Melanie Thielker1-1/+1
Thank you, Xugu Madison and ChrisDown, for a patch that fixes linux filename extensions from .Xml back to .xml
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-6/+6
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-18Formatting cleanup.Jeff Ames1-19/+19
2008-07-21* minor: change misleading 'all assets found' message to instead tell how ↵Justin Clarke Casey1-4/+10
many were actually located
2008-07-12* Start compressing archivesJustin Clarke Casey1-1/+2
2008-07-07* switch terrain archiving to raw32 rather than png to avoid unnecessary ↵Justin Clarke Casey1-1/+1
posterization. Thanks to Adam for the tip.
2008-07-02* Allow archiver to operate even if there are 0 scene objects to saveJustin Clarke Casey1-3/+1
2008-07-02* Start writing out control file in archive. Only contains version ↵Justin Clarke Casey1-1/+31
information right now.
2008-06-29* Save terrain information in archiveJustin Clarke Casey1-1/+20
* Not yet reloading * Terrain saving will be optional a little further down the line