aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2008-06-27* fix a bug where I was assuming all entities would be SceneObjectGroups - ↵Justin Clarke Casey1-5/+5
of course, some are ScenePresences * would be nice to have a separate list in InnerScene in the future since a lot of methods end up screen entities for SOGs
2008-06-21* archive each object as a separate xml file rather than put them all in one ↵Justin Clarke Casey1-6/+28
single large file * this is being done for reasons of compositionality
2008-06-18Minor formatting cleanup.Jeff Ames1-7/+7
2008-06-17Update svn properties.Jeff Ames1-73/+73
2008-06-16* refactor: Fission ArchiveWriteRequest into prepare and execute classesJustin Clarke Casey1-83/+73
2008-05-28* Put in stubs for "load-oar" command, including ultra-primitive temporary ↵Justin Clarke Casey1-3/+3
tar loading code * Currently as a test, this will successfully load only the first file of an opensim archive and do absolutely nothing with it
2008-05-26* Break out baby archiving code into separate class ready for async asset ↵Justin Clarke Casey1-54/+2
requesting * No user functionality yet
2008-05-26* Extract and boil down necessary texture UUIDs for an archive of the scene ↵Justin Clarke Casey1-1/+14
prims * no user functionality yet
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-20/+20