Commit Graph

268 Commits

Author SHA1 Message Date
6cca4f6ee3 Update .editorconfig file. 2025-08-07 21:53:39 +01:00
73e499bc13 Add codealike file. 2025-08-07 21:52:32 +01:00
071ee282e7 Update project files. 2025-08-07 21:52:16 +01:00
1e1ee837cb Add discord plugin configuration. 2025-08-07 21:51:40 +01:00
7939141dc3 Merge pull request #83 from pkillboredom/pkillboredom-handle-list-of-maps
Allow NSObject Wrap to handle lists of maps/dicts.
2025-06-25 01:33:40 +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
9deb855acf Merge pull request #81 from qmfrederik/features/nbgv
Add NerdBank.GitVersioning support
2025-01-28 02:16:34 +00:00
504aaab048 Merge pull request #80 from qmfrederik/fixes/string-escaping
NSString: Use SecurityElement.Escape to escape XML characters
2025-01-28 02:16:13 +00:00
Johann Studanski
d83ebcaf66 Remove superfluous using 2025-01-27 18:25:33 +01: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
12794730dc Apply some auto-formatting changes 2025-01-24 14:16:46 +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
Johann Studanski
eca9239b5c Fix typo 2025-01-21 19:59:07 +01:00
Johann Studanski
9e53befd46 Add call to preprocessors in the plist parsers 2025-01-21 19:58:45 +01:00
Johann Studanski
e4a29b7e2a Basic value preprocessor implementation 2025-01-21 19:54:52 +01:00
Frederik Carlier
0d30b8f444 Add NerdBank.GitVersioning support
This commit adds [NerdBank.GitVersioning](https://www.nuget.org/packages/Nerdbank.GitVersioning), which gives every build of plist-cil a unique version number.

The base version number is stored in `version.json` (e.g. 2.2) and is incremented by 1 every time a commit is added.  Builds off branches contain a `+g{commit}` suffix, indicating that these builds are prerelease.

This makes it easier to keep track of different versions of plist-cil.
2025-01-08 21:09:37 +01:00
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