Commit Graph

36 Commits (e2d5ae87fd5f13a06a2abe20dc633da0bda50dc3)

Author SHA1 Message Date
Justin Clark-Casey (justincc) 5925aac859 Add --merge switch to load iar.
When this switch is used, iar folders are merged with existing same-name user inventory folders.
This makes it a little easier to back and restore entire individual user inventories, among other things
Added unit test to check behaviour
2010-06-30 00:10:44 +01:00
Justin Clark-Casey (justincc) 721c1085da make oar object filename/pathname creation a helper method
reused in both tests and oar code
reduction in checking is outweighed by greater test clarity
2010-05-21 20:43:11 +01:00
Justin Clark-Casey (justincc) 74ef1ed36f add prim item and test asset save in save oar unit test 2010-05-21 19:36:39 +01:00
Teravus Ovares (Dan Olivares) 4183cef409 * Fixes LandDataSerializerTests on Windows by stripping CR from the serialization result since the reference serialization has LF only.
* Added a bool result and then an Assert.That(result) because resharper was having a hard time with the equality compare in Assert.That.
2010-05-05 21:22:29 -04:00
Justin Clark-Casey (justincc) 2bf1761ad8 When saving an oar/iar, don't attempt to write out the data byte array if it's empty
On Mono 2.6 (and probably before) this causes a non-obvious IOException
2010-03-31 19:51:17 +01:00
Melanie c033223c63 Merge branch 'master' into presence-refactor 2010-02-15 00:20:48 +00:00
Justin Clark-Casey (justincc) 00800c59d3 Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522
These patch should allow people using systems that do not have their locale set to En_US or similar to use OpenSim without suffering effects such as being a million miles up in the air on login.
The problem was caused by parsing strings without forcing that parse to be En_US (hence different decimal and digit group symbols were causing problems).
Thanks very much to VikingErik for doing the legwork on this fix and phacelia for spotting it in the first place.
2010-02-12 23:13:35 +00:00
Diva Canto 68b7307f4f Forgot to remove 'using' 2010-01-10 16:34:01 -08:00
Diva Canto 53e83e5dbb * Starting to clean the house...
* Fixed circular dependency
2010-01-10 16:20:59 -08:00
Diva Canto 1e1b2ab221 * OMG! All but one references to UserProfileCacheService have been rerouted!
* HG is seriously broken here
* Compiles. Untested.
2010-01-10 10:40:07 -08:00
Jeff Ames 0a259caeef Minor formatting cleanup. 2009-10-19 15:48:07 +09:00
dr scofield (aka dirk husemann) 2107b67f1b - cleaning up LandData/ILandObject capitalization issues
- adding LandDataSerializer to OAR mechanics
2009-10-02 11:31:30 +02:00
dr scofield (aka dirk husemann) 133a4a9906 - adding new LandDataSerializer testcase to "test-xml" target as well
- adding another LandDataSerializer testcase
2009-10-01 15:03:16 +02:00
dr scofield (aka dirk husemann) 05da73c300 fixing LandDataSerializer (yeah! for testcases) 2009-10-01 12:01:41 +02:00
dr scofield (aka dirk husemann) 18416ec518 Merge branch 'oar-parcel' into x-opensim 2009-10-01 10:30:43 +02:00
dr scofield (aka dirk husemann) 77ed8e977a adding meat to the LandDataSerializerTest cases. 2009-10-01 10:30:26 +02:00
dr scofield (aka dirk husemann) 5b378a793b Merge branch 'oar-parcel' into x-opensim 2009-10-01 09:48:30 +02:00
dr scofield (aka dirk husemann) 40cf840df2 adding testcase for LandDataSerializer; fixing LandDataSerializer ;-) 2009-10-01 09:47:45 +02:00
Jeff Ames 606e831ff5 Formatting cleanup. 2009-10-01 09:38:36 +09:00
Jeff Ames ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
dr scofield (aka dirk husemann) 33515c75e4 adding LandDataSerializer (not connected anywhere, work-in-progress)
[hi, there, justin!]
2009-09-30 16:19:39 +02:00
Charles Krinke acf7206f4b Thank you kindly, dslake, for a patch that:
The region dearchive module assumes extra null bytes will be appended 
to the end of every OAR file. This may be due to the block nature of 
storage but it seems like an unsafe assumption. When streaming region 
archives over a network or through a memory stream, no additional null 
bytes are added to the end and this an exception.
2009-08-02 19:30:25 +00:00
Jeff Ames 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
Dr Scofield 9e37e291b0 making TarArchiveReader more resilient when faced with OARs created by
ancient tars.
2009-05-27 17:34:06 +00:00
Justin Clarke Casey 6277156044 * When saving an oar, save assets when immediately received rather than 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-05-14 20:37:54 +00:00
Justin Clarke Casey aaad2fc8ff * minor: use system ascii encoding rather than newing up our own object 2009-05-07 19:27:38 +00:00
Justin Clarke Casey 35c7aae455 * correct spelling mistake in item seiralization 2009-04-24 15:56:41 +00:00
Justin Clarke Casey 170cea5088 * minor: make inventory item deserialization code easier to read 2009-04-24 15:44:22 +00:00
Justin Clarke Casey d69a018ba8 * Write basic, incomplete load iar test 2009-04-24 15:02:48 +00:00
Justin Clarke Casey 1ccc99a3f9 * refactor: move archive user inventory item serialization out to a separate file 2009-04-23 20:15:05 +00:00
Justin Clarke Casey 561f241564 * minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization 2009-03-27 18:13:34 +00:00
Justin Clarke Casey 6ffed09682 * Fix build break - went a const or two too far 2009-03-26 20:15:36 +00:00
Justin Clarke Casey 7e40315d5d * minor: change some static readonlys to consts
* adjust user profile iar saving path
2009-03-26 20:09:12 +00:00
Justin Clarke Casey 3f1ec6334f * Fix build break from last commit 2009-03-26 17:30:43 +00:00
Justin Clarke Casey 93b26f8933 * iars: Serialize information about item creators to archive 2009-03-26 17:25:12 +00:00
Mike Mazur f28886e26d Rename OpenSim.Framework.Archive to OpenSim.Framework.Serialization
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-16 00:12:25 +00:00