Граф коммитов

379 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Musset caf01328e5 Fix GetShortAssemblyQualifiedName to work properly with generic types. (#1) 2016-09-29 18:13:08 +09:00
Virgile Bello f3e49facb0 Use RoutingSerializer again when an object has been transformed 2016-08-30 17:05:45 +09:00
Virgile Bello 0878a9fa57 Additional check for ShortTag conversion 2016-08-26 14:02:45 +09:00
Virgile Bello f21601208c Compute style after calling CreateOrTransformObject 2016-08-17 16:33:00 +09:00
Benjamin Litzelmann 66bb32b63e Fix deserialization of generic dictionaries that use explicit implementation of the Add method 2016-05-20 20:25:39 +09:00
Nicolas Musset d9a5b8bdf1 Add tests for NaN and Infinity float/double. 2016-05-16 15:27:54 +09:00
Nicolas Musset 4d76ec9370 Fix issue when serializing float/double that are either NaN or Infinity. 2016-04-07 17:34:05 +09:00
Alexandre Mutel c4dc0e6338 Add support for skipping a member of an object 2016-03-16 13:01:05 +09:00
Alexandre Mutel d01322b6eb Pass the index of the item being read/write from a collection 2016-03-16 08:53:40 +09:00
Virgile Bello 717ff70bf4 If defined, use objectContext.Style for arrays 2016-03-12 18:58:50 +09:00
Alexandre Mutel 1ff7ba5d1f Change AttributeRegistry PrepareMembersCallback to pass ObjectDescriptor instead 2016-01-14 17:33:17 +09:00
Alexandre Mutel 588e31df4a Bump to version 1.5.3 2015-12-23 11:28:32 +09:00
Alexandre Mutel fe89963a3f Fix issue #14 when deserializing long values 2015-12-23 11:27:14 +09:00
Alexandre Mutel a141301be9 Allow order and DefaultNameComparer in DynamicMemberDescriptorBase to be overridable 2015-11-13 10:26:46 +09:00
Alexandre Mutel 7d7d03323a Remove usage of nameof as msbuild is not setup properly to use latest compiler 2015-11-12 17:35:45 +09:00
Alexandre Mutel 0800d63533 Add support to install dynamic members on specific types 2015-11-12 17:32:22 +09:00
Alexandre Mutel 31c0606c56 Bump version to 1.5.2 2015-11-11 09:34:26 +09:00
Alexandre Mutel 55ccd1d8b5 Bump version to 1.5.1 2015-11-10 14:36:55 +09:00
Virgile Bello a1fdd6504f TypeToTag shouldn't contain aliases. 2015-11-02 19:55:39 +09:00
Virgile Bello e90c119a1f Properties with setter now default to SerializeMemberMode.Content.
Setter will only be called if a new instance has been created when deserializing.
SerializeMemberMode.Assign will never read the value from getter anymore.
2015-11-02 19:55:38 +09:00
Virgile Bello 5872854131 Added test for YamlMember.Mask 2015-09-18 10:19:41 +09:00
Alexandre Mutel 60f1421111 Fix tests 2015-09-18 10:18:15 +09:00
Alexandre Mutel 89187f383e Fix issue when serializing float/double with exponents 2015-09-18 10:15:35 +09:00
Alexandre Mutel c19f967a74 Merge pull request #12 from SiliconStudio/master
Add support for serializing private fields
2015-09-18 09:59:01 +09:00
Virgile Bello 0728bb8498 Private fields/properties can now be serialized. Also added notion of "Mask" to optionally serialize field groups. 2015-09-02 15:32:41 +09:00
Virgile Bello 4ea5071ea4 Added Descriptor Category in ITypeDescriptor. 2015-09-02 15:31:42 +09:00
Alexandre Mutel 8b082839bb Fix typo with occured => occurred 2015-08-19 13:50:09 +09:00
Alexandre Mutel 9ab4b4d88c Remove typo 2015-08-19 13:40:00 +09:00
Alexandre Mutel faf08ae11b Fix stupid regression bug 2015-08-19 13:37:49 +09:00
Alexandre Mutel 6ac568b552 Allow to remap attribute on the fly 2015-08-19 13:37:34 +09:00
Alexandre Mutel 5799d2d5ae Add missing method Serializer.Deserialize(Stream...., out SerializerContext context) related to remap/alias commit before 2015-08-19 12:08:07 +09:00
Alexandre Mutel 65641b5973 Add support for remapping names (class names, field/property names, enum items names) to a new name, and allow to check if a renamed occured (so that the caller can for example save the new value if it changed...etc.) 2015-08-19 12:01:24 +09:00
Alexandre Mutel c20aa07360 Update build.bat to use local .nuget\NuGet.exe 2015-07-28 12:23:00 +09:00
Alexandre Mutel 10f9cb5e14 Bump version to 1.5.0 2015-07-28 12:20:36 +09:00
Alexandre Mutel 337cc48c78 Merge pull request #11 from martindevans/master
Fixed failing decimal serialization
2015-07-28 12:06:19 +09:00
Alexandre Mutel 1fb35d2d42 Ensure that the AssemblyRegistry is thread safe 2015-07-27 16:35:09 +09:00
Alexandre Mutel 5fca45b2b1 Deserialize to a new object instance if the object type read from YAML is different to an already existing instance (loaded from a field/property) 2015-07-27 16:34:49 +09:00
Alexandre Mutel 3f0fde3617 Merge remote-tracking branch 'origin/master'
Conflicts:
	SharpYaml/Serialization/Serializer.cs
	SharpYaml/Serialization/Serializers/ObjectSerializer.cs
	SharpYaml/SharpYAml.csproj
2015-07-27 16:33:53 +09:00
Martin Evans 996815bae5 Modified decimal serialization to use "G" formatter (inline with other fixed precision types such as int32)
Martin Evans <martindevans@gmail.com>
2015-07-13 16:13:16 +01:00
Martin Evans 48566a08c2 Modified a unit test to fail due to issue #10 (serializing decimal types)
Fixed issue #10 which prevented the serialization of C# decimal types

Martin Evans <martindevans@gmail.com>
2015-07-13 16:07:49 +01:00
Virgile Bello 4932314103 Add warning logging. 2015-07-09 00:51:38 +09:00
Virgile Bello ceaa7f9d52 When deserializing a read-only member, use the actual type of the instantiated object if possible, instead of the member type. 2015-06-29 16:50:47 +09:00
Virgile Bello 0289425e79 Serializer.Deserialize() can now take an initial object, and CollectionSerializer have overloads for easier in-place deserialization. 2015-06-23 13:48:06 +09:00
Alexandre Mutel e3d65d7b07 Push new nuget 1.4 version 2015-05-13 23:54:21 +09:00
Alexandre Mutel ce23677ec9 Add support for serializing dictionary items as members when the key type is a string. To enable this, set Settings.SerializeDictionaryItemsAsMembers = true 2015-05-13 23:48:33 +09:00
Alexandre Mutel bead1bf0f4 Add support for naming convention for renaming members 2015-05-13 23:22:56 +09:00
Alexandre Mutel 483ca277c2 Update nuget 2015-05-13 23:21:40 +09:00
Alexandre Mutel 62382da758 Merge branch 'master' into pr/n9_PeterDavidson 2015-05-13 21:07:56 +09:00
Alexandre Mutel fe82b45723 Update to VS2013 2015-05-13 21:07:37 +09:00
Alexandre Mutel 3d0cdc51ad Update nuspec to 1.3 2015-05-13 21:07:25 +09:00