Commit Graph

266 Commits

Author SHA1 Message Date
25e2063112 Merge pull request #21 from quamotion/fixes/binary-compatibility
Binary compatibility with the Apple Plist format
2017-05-20 01:44:56 +01:00
1979dab8fa Support creating UIDs from numbers. Closes #3. 2017-05-20 01:31:50 +01:00
c8d3e26a84 Updated README. 2017-05-20 00:58:28 +01:00
a2ace4f4d8 Added netstandard1.4, with this it should cover all frameworks. 2017-05-20 00:46:16 +01:00
4af6672d37 Merge pull request #25 from quamotion/features/unittests
Migrate to xUnit
2017-03-22 14:26:59 +00:00
Frederik Carlier
65f12a2607 Fix issue with DTD loading on .NET Core 2017-03-16 23:46:02 +01:00
Frederik Carlier
d9670db803 Migrate to xUnit 2017-03-16 23:37:42 +01:00
50335a9bba Merge pull request #20 from quamotion/fixes/content-property
Use a property for Content instead of GetContent/SetContent
2017-03-16 22:05:04 +00:00
f56f0606f1 Merge pull request #22 from quamotion/fixes/appveyor
Update AppVeyor build script
2017-03-16 22:03:47 +00:00
65a932dfd7 Merge branch 'master' into fixes/appveyor 2017-03-16 22:02:51 +00:00
b2a1f093b0 Merge pull request #23 from quamotion/features/netcore
Support NETStandard 1.3, 1.6
2017-03-16 21:54:15 +00:00
Frederik Carlier
7982cad715 Support NETStandard 1.3, 1.6 2017-03-07 16:27:19 +01:00
Frederik Carlier
4f31fc611f Fix Push-Artificat 2017-03-07 15:01:57 +01:00
Frederik Carlier
e0d0baa985 Update version number 2017-03-07 14:59:12 +01:00
Frederik Carlier
bed10a35ca Allow version number suffixes 2017-03-07 14:55:24 +01:00
Frederik Carlier
1399b4ba2a Fix AppVeyor script 2017-03-07 14:52:02 +01:00
Frederik Carlier
e20798c746 Fix path to .nuspec file 2017-03-07 14:46:19 +01:00
Frederik Carlier
fb29bb8131 Update .gitignore file 2017-03-07 14:46:02 +01:00
Frederik Carlier
b07e637c6d Add AppVeyour build script 2017-03-07 14:45:48 +01:00
Frederik Carlier
b4974acba9 Don't reuse object IDs for NSNumber objects
Make the constructors and Write methods public
2017-03-07 14:43:56 +01:00
Frederik Carlier
8dc5f8ba24 Make sure that the NSString which represents keys in a NSDictionary is always the same value, by caching the string to NSString conversion in a dictionary 2017-03-07 14:43:22 +01:00
Frederik Carlier
6c95260157 Maintain binary compatibility with the Apple format: disable optimizations and add the same UID, NSArray and NSString values multiple times to the property list file. 2017-03-07 14:40:09 +01:00
Frederik Carlier
275f7fdd8f Use a property for Content instead of GetContent/SetContent 2017-03-07 14:38:19 +01:00
e071148e2b Updated code to correclty support and compile using .NET Core RC4 (and Visual Studio 2017). May break compatibility with VS2015. Older .NET Core will not be supported. Fixes #13
Signed-off-by: Natalia Portillo <claunia@claunia.com>
2017-02-22 21:25:31 +00:00
c646d1beb2 Merge pull request #12 from quamotion/fixes/dtd-processing
Ignore DTD when reading XML PList documents
2016-07-09 14:25:56 +01:00
Frederik Carlier
fb7e431ac8 Ignore DTD when reading XML PList documents 2016-06-28 20:42:59 +02:00
64dc55d047 Merge pull request #8 from quamotion/fixes/xml-formatting
XML format compatibility with Apple
2016-06-24 22:04:12 +01:00
036227e346 Merge pull request #9 from quamotion/fixes/date-handling
Fix date handling
2016-06-24 22:03:49 +01:00
Frederik Carlier
03c95ce192 Minor fixes in how property lists are serialized to XML, to maintain compatibility with the Apple format:
- NSNumber of "0/real" is serialized as "0.0"
- Data values are not indented
- Newline at the end of the file
- Always use \r as newline
2016-06-22 13:13:55 +02:00
Frederik Carlier
c2f15567c7 Fix the datetime test (use the correct UTC value) 2016-06-22 13:11:52 +02:00
Frederik Carlier
dfee77b724 When converting dates to strings, always convert them to UTC first. 2016-06-22 13:11:52 +02:00
Frederik Carlier
1ff1bcde3b Parse dates as UTC dates. 2016-06-22 13:11:52 +02:00
2148034a71 Merge pull request #11 from quamotion/fixes/create-new-file
Always create a new file when writing to disk.
2016-06-22 05:10:45 +01:00
10e92e31db Merge pull request #10 from quamotion/fixes/0-length-stream
Fix issues with 0-length streams
2016-06-22 05:10:40 +01:00
18e9e294e2 Merge pull request #7 from quamotion/fixes/nsarray-recursion
Fix recursive call in NSArray.GetEnumerator
2016-06-22 05:10:27 +01:00
b9aa325825 Merge pull request #6 from quamotion/fixes/nsnumber-from-xml
NSNumber: Keep track of the original number type when parsing from XML
2016-06-22 05:10:22 +01:00
Frederik Carlier
bf031fadab Always create a new file when writing to disk. 2016-06-03 16:04:22 +02:00
Frederik Carlier
66ac10e4be Make sure to always specify CultureInfo when parsing numbers. 2016-06-03 15:39:54 +02:00
Frederik Carlier
12418b7284 Fix issue when handling 0-length streams. 2016-05-25 00:37:44 +02:00
Frederik Carlier
3c4e3257f2 NSNumber: Keep track of the original number type when parsing from XML 2016-05-24 23:43:00 +02:00
Frederik Carlier
e432c71e26 Fix recursive call in NSArray.GetEnumerator 2016-05-24 22:55:24 +02:00
6571783fab Merge pull request #4 from quamotion/fixes/dotnetcore
.NET Core Compatibility
2016-05-23 00:35:49 +01:00
Frederik Carlier
a58ff42cef Add .NET Core compatibility to the README file 2016-05-23 00:19:07 +02:00
Frederik Carlier
5d16fb0275 Don't use the $ syntax 2016-05-22 19:35:17 +02:00
Frederik Carlier
55c515bd39 Add more recent Mono releases (from the 3.x and 4.x branch) 2016-05-22 19:35:10 +02:00
Frederik Carlier
ec6d00342f Update unit tests after updates to work on .NET Core 2016-05-22 19:12:44 +02:00
Frederik Carlier
22737bb9d2 Convert.ToBase64String: Formatting parameters are no longer supported 2016-05-22 19:12:43 +02:00
Frederik Carlier
8f04882f98 Work around DocumentType which is no longer available on .NET Core 2016-05-22 19:12:43 +02:00
Frederik Carlier
bdf4351d1d Remove Synchronized attribute - method uses no global resources 2016-05-22 19:12:42 +02:00
Frederik Carlier
844d9f3b12 Remove the BinarySerialization. It's not available anymore on .NET Core, and if you want to serialize a .NET object to byte[] - let the caller specify how it should be done (and pass the byte[] array itself) 2016-05-22 19:12:41 +02:00