Commit Graph

249 Commits

Author SHA1 Message Date
Frederik Carlier
0e334f995d NSString: Use SecurityElement.Escape to escape XML characters 2025-01-08 20:47:15 +01:00
a0b698a815 Merge pull request #79 from qmfrederik/updates/nuget
Update target frameworks, NuGet dependencies, add GitHub CI
2025-01-08 18:57:29 +00:00
Frederik Carlier
79418c6b1a Add GitHub CI 2025-01-08 19:43:12 +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
36b907e6ef Merge pull request #73 from wewewer123/patch-1
Update README.md
2022-11-25 08:30:31 +00:00
wewewer123
d8163c2ebf Update README.md
fixed a simple issue in the read example
2022-10-03 19:27:22 +02:00
aec9675375 Bump version. 2021-04-30 13:08:04 +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
a72e7ad0e4 Add JetBrains project files. 2021-04-30 12:28:41 +01:00
61c67800ba Update gitignore. 2021-04-30 12:28:13 +01:00
874c8f0850 Add editorconfig file. 2021-04-30 12:26:15 +01:00
f379872dac Merge pull request #70 from quamotion/features/net5.0
Add .NET 5.0 support
2021-04-30 12:22:20 +01:00
Frederik Carlier
65cee57929 Travis: Use .NET 5.0 2021-04-21 13:02:40 +02:00
Frederik Carlier
b5b9d5189e Replace CoreJob with SimpleJob(RuntimeMoniker.NetCoreApp50) 2021-04-21 13:02:02 +02:00
Frederik Carlier
ad0f8aa915 Update README 2021-04-21 12:08:40 +02: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
658caee3ad Merge pull request #68 from bash/patch-1
Enable syntax highlighting for code snippets
2020-08-24 23:47:29 +01:00
b97e989089 Merge pull request #62 from quamotion/fixes/drop-net-core-1
Drop netstandard1.x and netcoreapp1.x
2020-08-24 23:12:02 +01:00
03462a8b74 Merge pull request #66 from quamotion/fixes/xml-uid-deserialize
XmlPropertyListParser: Support deserializing UID values
2020-08-24 23:11:14 +01:00
Frederik Carlier
1a96a36138 Remove unneeded step 2020-08-19 17:41:17 +02:00
Frederik Carlier
10a8138432 Fix BenchmarkDotNet path 2020-08-19 17:33:11 +02:00
Frederik Carlier
b515ce2453 Build with Visual Studio 2019 2020-08-19 17:28:56 +02:00
Frederik Carlier
c51328af91 Drop netstandard1.x and netcoreapp1.x 2020-08-19 17:26:00 +02:00
Ruben Schmidmeister
e16fd79e30 Enable syntax highlighting for code snippets 2020-08-12 15:20:02 +02:00
Frederik Carlier
ffe39d9143 Use Visual Studio 2019 image 2020-04-27 23:09:55 +02:00
Frederik Carlier
997e9c3b4c XmlPropertyListParser: Support deserializing UID values 2020-04-27 23:02:49 +02:00
7f98f27448 Merge pull request #65 from quamotion/fixes/uid-xml
Update XML representation of UIDs
2020-04-23 18:54:23 +01:00
Frederik Carlier
18dbcc3148 Update XML representation of UIDs 2020-04-23 00:01:27 +02:00
45c043b395 Bump version. 2020-03-30 17:04:00 +01:00
2a69b63870 Add targeting for .NET Core 3.x. 2020-03-30 17:01:45 +01:00
36df1ea2ee Merge pull request #63 from reima/feature/nsdate-cleanup
Minor NSDate parsing and formatting cleanups
2019-10-19 19:13:26 +01:00
342b0a3b1a Merge pull request #64 from reima/feature/travis-dotnet-2.2
Fix Travis build
2019-10-19 19:13:07 +01:00
Matthias Reitinger
f11542ed1d Fix checkout of master branch on Travis. 2019-10-15 11:12:55 +02:00
Matthias Reitinger
522c5e6bdf Update Ubuntu dist to latest LTS release in Travis. 2019-10-15 09:52:14 +02:00
Matthias Reitinger
53b590e2b8 Fix .NET Core version in Travis. 2019-10-15 09:49:00 +02:00
Matthias Reitinger
3d27c13d73 Use invariant culture for formatting NSDate. 2019-10-15 08:55:07 +02:00
Matthias Reitinger
2e80020d00 Simplify NSDate.ParseDateString. 2019-10-15 08:51:34 +02:00
2566d63668 Set version to 2.0. Fixes #61 2019-09-21 00:53:20 +01:00
c914aa4f83 Set compatibility with .NET Core 2.2. 2019-09-21 00:43:14 +01:00
4d41f12b3e Merge pull request #60 from quamotion/fixes/write-byte
Use Stream.WriteByte, and don't allocate a new byte array
2019-06-12 18:37:27 +01:00
e90305388c Merge pull request #59 from quamotion/fixes/math-pow
Use 1 << exp instead of Math.Pow(2, exp)
2019-06-12 18:37:18 +01: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
f9343208c9 Merge pull request #56 from quamotion/features/bigint
NSNumber: support some exotic formats
2019-06-12 18:36:33 +01:00
Frederik Carlier
467c9810c2 Don't forget to increment count. 2019-06-12 17:21:25 +02:00
Frederik Carlier
6fce83de96 Use Stream.WriteByte, and don't allocate a new byte array 2019-06-12 17:12:17 +02:00
Frederik Carlier
40dbb464a3 Use 1 << exp instead of Math.Pow(2, exp) 2019-06-12 17:00:03 +02: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