aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Serialization (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)2012-07-131-3/+1
| | | | | | the BOM, use a single Util.UTF8NoBomEncoding. This class is thread-safe (as evidenced by the provision of the system-wide Encoding.UTF8 which does not suppress BOM on output).
* Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)2012-07-114-23/+16
| | | | | | | constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
* Remove some mono compiler warningsJustin Clark-Casey (justincc)2012-06-302-2/+2
|
* Save the Telehub and its Spawn Points in the OAROren Hurvitz2012-05-142-2/+43
|
* Revert "Save the Telehub and its Spawn Points in the OAR"Justin Clark-Casey (justincc)2012-05-122-43/+2
| | | | | | | | | This reverts commit b0b7b45b943dd94546bcfcf5d3bb871cfe35b507. Sorry BlueWall, I wanted to discuss an aspect of the data storage but I couldn't assign bugs in 'patch included' state to myself until I changed mantis just now and I forgot to mention it on irc. I wouldn't normally revert but thinks get tricky when it comes to data formats. Essentially, I would like to see the Yaw, Pitch and Distance values as separate XML entities (as used in other aspects such as vectors, quaternions) rather than as a . delimited string We can discuss this more with Oren in opensimulator.org/mantis/view.php?id=6008
* Save the Telehub and its Spawn Points in the OAROren Hurvitz2012-05-102-2/+43
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* On object deserialization, go back to logging errors at DEBUG level rather ↵Justin Clark-Casey (justincc)2012-02-131-6/+13
| | | | | | | | than ERROR. Restore extra log message if shape processing fails. Logging level was DEBUG before 312e145 (Fri Feb 3 2012). 312e145 also accidentally removed the 'general error' log message if any shape deserialization failed. This commit restores it, though this has no functional impact.
* Add TestRegionSettingsDeserializeJustin Clark-Casey (justincc)2012-02-042-1/+135
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-02-031-2/+2
|\
| * Merge branch 'master' of ssh://snoopy@opensimulator.org/var/git/opensimSnoopy Pfeffer2012-02-045-106/+204
| |\
| * | Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer2012-02-031-2/+2
| | | | | | | | | | | | corresponding RemoteAdmin parameter
* | | Change SceneObjectSerializer to use common ↵Justin Clark-Casey (justincc)2012-02-031-9/+28
| |/ |/| | | | | | | | | ExternalRepresentationUtils.ExecuteReadProcessors() methods. Adds ability to submit a customized exception message to match logging.
* | Refactor common deserialization processor code to generic method ↵Justin Clark-Casey (justincc)2012-02-033-98/+62
| | | | | | | | ExternalRepresentationUtils.ExecuteReadProcessors()
* | Change LandDataSerializer deserialization so that in the future it won't ↵Justin Clark-Casey (justincc)2012-02-034-74/+208
|/ | | | | | care about extra elements or element order. This brings it into line with other deserializations such as object and will improve future backward compatibility.
* Fix test failureMelanie2012-02-031-0/+1
|
* Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie2012-02-022-11/+13
| | | | | | accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
* HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto2012-01-121-4/+4
| | | | location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
* Save the sun's position in OARsOren Hurvitz2011-06-101-2/+6
|
* remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)2011-04-051-6/+2
| | | | | However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
* Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2011-03-091-1/+18
| | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
* Addresses mantis #5360: CreatorData was being written as long as it wasn't ↵Diva Canto2011-02-031-1/+1
| | | | null. This made iars backwards incompatible when some items had non-null foreign creators. This patch adds an explicit option (-c) to preserve foreign creator information.
* Added some comments. Better than listening to the boring speaker...Diva Canto2010-12-011-0/+12
|
* Fix unit test.Diva Canto2010-11-291-0/+6
|
* Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2010-11-293-8/+295
| | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
* Changed the parser for InventoryItem deserialization. Moved some utility ↵Diva Canto2010-11-271-30/+168
| | | | functions around.
* Allow OARs and IARs to save and load meshes.Justin Clark-Casey (justincc)2010-10-221-0/+2
| | | | | | Save and reload appears okay for the duck mesh at https://collada.org/owl/download.php?sess=0&parent=126&expand=1&order=name&curview=0&binary=1&id=698/ However, one attempt at trying to load a more complicated scene failed (errors on console, only triangles appearing in mesh viewer). Not sure if this is really and OAR load problem. Needs more investigation.
* Formatting cleanup.Jeff Ames2010-09-121-10/+10
|
* Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker2010-09-051-2/+3
| | | | on IDwellModule
* Add --merge switch to load iar.Justin Clark-Casey (justincc)2010-06-301-2/+27
| | | | | | 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
* make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)2010-05-211-0/+33
| | | | | reused in both tests and oar code reduction in checking is outweighed by greater test clarity
* add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)2010-05-211-1/+6
|
* * Fixes LandDataSerializerTests on Windows by stripping CR from the ↵Teravus Ovares (Dan Olivares)2010-05-051-6/+10
| | | | | | 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.
* When saving an oar/iar, don't attempt to write out the data byte array if ↵Justin Clark-Casey (justincc)2010-03-311-1/+3
| | | | | | it's empty On Mono 2.6 (and probably before) this causes a non-obvious IOException
* Merge branch 'master' into presence-refactorMelanie2010-02-151-12/+12
|\
| * Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)2010-02-121-12/+12
| | | | | | | | | | | | 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.
* | Forgot to remove 'using'Diva Canto2010-01-101-1/+0
| |
* | * Starting to clean the house...Diva Canto2010-01-101-3/+3
| | | | | | | | * Fixed circular dependency
* | * OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto2010-01-101-4/+5
|/ | | | | * HG is seriously broken here * Compiles. Untested.
* Minor formatting cleanup.Jeff Ames2009-10-191-12/+12
|
* - cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2009-10-022-1/+7
| | | | - adding LandDataSerializer to OAR mechanics
* - adding new LandDataSerializer testcase to "test-xml" target as welldr scofield (aka dirk husemann)2009-10-012-14/+52
| | | | - adding another LandDataSerializer testcase
* fixing LandDataSerializer (yeah! for testcases)dr scofield (aka dirk husemann)2009-10-012-19/+29
|
* Merge branch 'oar-parcel' into x-opensimdr scofield (aka dirk husemann)2009-10-011-1/+4
|\
| * adding meat to the LandDataSerializerTest cases.dr scofield (aka dirk husemann)2009-10-011-1/+4
| |
* | Merge branch 'oar-parcel' into x-opensimdr scofield (aka dirk husemann)2009-10-012-32/+118
|\ \ | |/
| * adding testcase for LandDataSerializer; fixing LandDataSerializer ;-)dr scofield (aka dirk husemann)2009-10-012-32/+118
| |
* | Formatting cleanup.Jeff Ames2009-10-011-1/+1
| |
* | Formatting cleanup.Jeff Ames2009-10-012-5/+5
|/
* adding LandDataSerializer (not connected anywhere, work-in-progress)dr scofield (aka dirk husemann)2009-09-301-0/+185
| | | | [hi, there, justin!]
* Thank you kindly, dslake, for a patch that:Charles Krinke2009-08-021-0/+4
| | | | | | | | | | 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.