aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Serialization (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-1/+1
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-02-19Deleted all AssemblyFileVersion directivesDiva Canto1-1/+1
2013-02-05Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)1-1/+1
This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
2013-02-01Revert "Update assembly version numbers"BlueWall1-1/+1
This reverts commit 141ad829f448b9138b12be7cf99c834c1f3977ec.
2013-02-01Update assembly version numbersBlueWall1-1/+1
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)2-2/+2
automatically turns off any logging enabled between tests
2012-11-24Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)1-0/+5
parcel owner ID to the estate owner even if the group UUID was present. Aims to address http://opensimulator.org/mantis/view.php?id=6355 As part of this work, an incomplete IXGroupsData was added which currently only allows store/fetch/delete of group records (i.e. no membership data etc) This is subject to change and currently only an in-memory storage implementation exists for regression test purposes.
2012-11-14A few more AssemblyInfos in a few more dlls.Diva Canto1-0/+33
2012-09-14Support multi-region OAR filesOren Hurvitz1-0/+5
Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
2012-08-29Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)1-3/+11
folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.
2012-08-03Fix old regression that stopped saving parcel owner data in OARs.Justin Clark-Casey (justincc)2-35/+72
This was working in 0.7.2 but was accidentally removed from 0.7.3. The --publish option for "save oar" will now save oars stripped of parcel owner information as well as scene object info. Please use the --publish option if you want to publish oars that may be later loaded by others to the same grid from which they were saved.
2012-07-13Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)1-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).
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)4-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.
2012-06-30Remove some mono compiler warningsJustin Clark-Casey (justincc)2-2/+2
2012-05-14Save the Telehub and its Spawn Points in the OAROren Hurvitz2-2/+43
2012-05-12Revert "Save the Telehub and its Spawn Points in the OAR"Justin Clark-Casey (justincc)2-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
2012-05-10Save the Telehub and its Spawn Points in the OAROren Hurvitz2-2/+43
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-13On object deserialization, go back to logging errors at DEBUG level rather ↵Justin Clark-Casey (justincc)1-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.
2012-02-04Add TestRegionSettingsDeserializeJustin Clark-Casey (justincc)2-1/+135
2012-02-03Change SceneObjectSerializer to use common ↵Justin Clark-Casey (justincc)1-9/+28
ExternalRepresentationUtils.ExecuteReadProcessors() methods. Adds ability to submit a customized exception message to match logging.
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer1-2/+2
corresponding RemoteAdmin parameter
2012-02-03Refactor common deserialization processor code to generic method ↵Justin Clark-Casey (justincc)3-98/+62
ExternalRepresentationUtils.ExecuteReadProcessors()
2012-02-03Change LandDataSerializer deserialization so that in the future it won't ↵Justin Clark-Casey (justincc)4-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.
2012-02-03Fix test failureMelanie1-0/+1
2012-02-02Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie2-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)
2012-01-12HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto1-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.
2011-06-10Save the sun's position in OARsOren Hurvitz1-2/+6
2011-04-05remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)1-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.
2011-03-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)1-1/+18
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2011-02-03Addresses mantis #5360: CreatorData was being written as long as it wasn't ↵Diva Canto1-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.
2010-12-01Added some comments. Better than listening to the boring speaker...Diva Canto1-0/+12
2010-11-29Fix unit test.Diva Canto1-0/+6
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto3-8/+295
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-11-27Changed the parser for InventoryItem deserialization. Moved some utility ↵Diva Canto1-30/+168
functions around.
2010-10-22Allow OARs and IARs to save and load meshes.Justin Clark-Casey (justincc)1-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.
2010-10-22Allow OARs and IARs to save and load meshes.Justin Clark-Casey (justincc)1-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.
2010-09-12Formatting cleanup.Jeff Ames1-10/+10
2010-09-05Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker1-2/+3
on IDwellModule
2010-06-30Add --merge switch to load iar.Justin Clark-Casey (justincc)1-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
2010-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)1-0/+33
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)1-1/+6
2010-05-05* Fixes LandDataSerializerTests on Windows by stripping CR from the ↵Teravus Ovares (Dan Olivares)1-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.
2010-03-31When saving an oar/iar, don't attempt to write out the data byte array if ↵Justin Clark-Casey (justincc)1-1/+3
it's empty On Mono 2.6 (and probably before) this causes a non-obvious IOException
2010-02-12Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)1-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.
2010-01-10Forgot to remove 'using'Diva Canto1-1/+0
2010-01-10* Starting to clean the house...Diva Canto1-3/+3
* Fixed circular dependency
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-4/+5
* HG is seriously broken here * Compiles. Untested.
2009-10-19Minor formatting cleanup.Jeff Ames1-12/+12
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2-1/+7
- adding LandDataSerializer to OAR mechanics