e102ab86fb
Update copyright year.
2025-08-07 22:37:13 +01:00
5f6bf00855
General refactor and clean-up.
2025-08-07 22:31:12 +01:00
c3671c38c0
Update to .NET 9.0.
2025-08-07 22:00:31 +01:00
bdef14e782
Update dependencies.
2025-08-07 21:58:42 +01:00
Luke Tomkus
742e1fa57a
Allow NSObject Wrap to handle lists of maps/dicts.
...
Add corresponding test case.
2025-04-27 15:26:10 -04:00
cf62f6c3d1
Merge pull request #82 from JohannStudanskiEnscape/ValuePreprocessor
...
Integrate a way to set up custom value preprocessors
2025-03-09 02:29:18 +00:00
Johann Studanski
b507a380fb
Cleanup for NSString and NSDate, too
2025-01-27 18:21:22 +01:00
Johann Studanski
44f0fcc763
More cleanup, handle binary parsing more cleanly
2025-01-27 18:06:12 +01:00
Johann Studanski
462668f605
Some cleanup around the ValuePreprocessor
2025-01-23 17:04:01 +01:00
Johann Studanski
864cca7e7d
Add basic unit tests, a little cleanup
2025-01-21 20:14:00 +01:00
Frederik Carlier
0e334f995d
NSString: Use SecurityElement.Escape to escape XML characters
2025-01-08 20:47:15 +01:00
Frederik Carlier
c2f1a50919
Update target frameworks, NuGet dependencies
...
This commit:
- Updates the .NET versions which are being targetted to:
* .NET 4.6.2 (.NET 4.5 has been out of support for a very long time)
* net6.0 and net8.0, net5.0 and netstandard have been out of support for a very long time
- Updates the various NuGet packages which are referenced to the latest version
2025-01-08 19:38:39 +01:00
19756723a3
Code refactor and clean-up to follow new C# 9 conventions and features where applicable.
2021-04-30 13:06:04 +01:00
Frederik Carlier
4f74157938
Add .NET 5.0 support
...
While we're at it, clean up the conditional compliation constants and dependencies:
- Define `SPAN_NATIVE` on all platforms _except_ `net45` and `netstandard2.0` (so it's defined automatically on new .NET versions)
- Only add `System.Memory` dependency on `net45` and `netstandard2.0`.
- Fix `NATIVE_SPAN` typo
- Remove obsolete `NETCORE` preprocessor variable.
2021-04-21 12:03:00 +02:00
Frederik Carlier
997e9c3b4c
XmlPropertyListParser: Support deserializing UID values
2020-04-27 23:02:49 +02:00
Frederik Carlier
18dbcc3148
Update XML representation of UIDs
2020-04-23 00:01:27 +02:00
a039fc690c
Merge pull request #58 from quamotion/fixes/uid-touint64
...
Add UID.ToUInt64() method
2019-06-12 18:37:08 +01:00
8694497045
Merge pull request #57 from quamotion/fixes/uid-remove-deprecated
...
UID: Remove deprecated members
2019-06-12 18:36:48 +01:00
Frederik Carlier
4ae00a54cb
Add UID.ToUInt64()
2019-06-12 15:15:10 +02:00
Frederik Carlier
ee4f4728be
UID: Remove deprecated members
2019-06-12 15:13:27 +02:00
Frederik Carlier
e5fa322513
Add unit tests for the various constructors
2019-06-02 00:35:19 +02:00
Frederik Carlier
b9c41214c4
Support reading 16-byte (128-bit) NSNumber values, as well as non-power-of-2 sized values
2019-06-02 00:05:18 +02:00
c109d2c76b
Code cleanup and refactor.
2018-07-09 19:57:08 +01:00
Frederik Carlier
6a96ff142c
Add NS.string as primitive
2018-06-26 17:10:44 +02:00
Frederik Carlier
a035dd5056
Update list of serialization primitives
2018-06-26 15:56:42 +02:00
Frederik Carlier
a89a7ad5e8
Consider booleans to be serialization 'primitives' as well
2018-06-26 13:59:12 +02:00
e1b3f8f73f
Merge pull request #43 from quamotion/fixes/uid
...
Refactor the UID class
2018-06-22 20:16:52 +01:00
Frederik Carlier
8fdd1388fe
Fix roundtripping of binary data, add unit test
2018-06-20 12:59:57 +02:00
Frederik Carlier
2b4fe6595e
Refactur UIDs
2018-06-19 22:54:05 +02:00
Frederik Carlier
e4eebf93f4
Fix unit tests
2018-06-19 17:23:57 +02:00
Frederik Carlier
46d56b5cc2
Add unit tests
2018-06-19 17:16:08 +02:00
Frederik Carlier
5cc5100df9
Fix indentation, add unit test
2018-05-23 08:03:18 +02:00
Frederik Carlier
835656b733
Fix path
2018-05-23 08:03:18 +02:00
Frederik Carlier
5bb8322610
Update csproj file
2018-05-23 08:03:18 +02:00
Frederik Carlier
274ab519e7
Correctly roundtrip long binary values
2018-05-23 08:02:28 +02:00
c8a33496cf
Merge pull request #35 from quamotion/fixes/xunit-warnings
...
Fix build warnings
2018-05-22 21:13:50 +01:00
Frederik Carlier
a5828d3d20
Fix build warnings
2018-05-22 22:02:06 +02:00
Frederik Carlier
4cfa99edb8
Fix paths
2018-05-22 21:07:31 +02:00
Frederik Carlier
15d53adf8e
Test parsing and serialization of real numbers with > 5 decimals
2018-05-22 21:07:30 +02:00
Frederik Carlier
22b977bb20
Fix paths
2018-05-22 16:31:06 +02:00
Frederik Carlier
7241b5d202
Don't build net45, net40 on Linux
2018-05-22 16:28:12 +02:00
Frederik Carlier
674d57ea07
Skip test for scenario which is not implemented
2018-05-22 14:58:17 +02:00
Frederik Carlier
c6a5be0f62
Support netcoreapp2.0 and netstandard2.0
2018-05-22 14:45:32 +02:00
67b73b4319
Ignore line endings on test.
2017-05-20 02:53:39 +01:00
114fd9b2fc
.NET has some kind of bug with DST. On winter time, TestXml() works. On summer time, TestXml() fails by the amount modified by time savings. Workaround it.
2017-05-20 02:34:00 +01:00
673825548f
Consider all ASCIIPropertyLists as UTF8 on opening, instead of considering them ASCII. Fixes #15 .
2017-05-20 02:27:53 +01:00
Frederik Carlier
d9670db803
Migrate to xUnit
2017-03-16 23:37:42 +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
64dc55d047
Merge pull request #8 from quamotion/fixes/xml-formatting
...
XML format compatibility with Apple
2016-06-24 22:04:12 +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