diff --git a/CBOR.nuspec b/CBOR.nuspec index ca8c5090..298cd4a3 100644 --- a/CBOR.nuspec +++ b/CBOR.nuspec @@ -2,10 +2,10 @@ PeterO.Cbor - $version$ + 2.3.0 CBOR - $author$ - $author$ + Peter Occil + Peter Occil http://creativecommons.org/publicdomain/zero/1.0/ https://github.com/peteroupc/CBOR false @@ -16,9 +16,14 @@ A C# implementation of Concise Binary Object Representation (CBOR), a data serialization format. This implementation can also convert between CBOR and JSON. -In version 2.2: -- Portable Class Library compatibility expanded -- Add option to always use definite length string encoding when generating CBOR objects +In version 2.3: +- The C# version of the library now also targets "dotnet", which should make it compatible with platform .NET runtime +environments such as the upcoming cross-platform "coreclr" runtime. +- Added GetUtf8Bytes overload to DataUtilities +- Fixed line break bug when setting lenientLineBreaks to true in the PeterO.Cbor.DataUtilities.WriteUtf8 method +- In BigInteger, fixed divideAndRemainder method, added certain methods and made other methods obsolete +- Many additions to the documentation +- Other bug fixes See the project page for release notes on previous versions: https://github.com/peteroupc/CBOR Written by Peter O. in 2013-2015. Any copyright is released to the Public Domain. diff --git a/CBORDocs/CBORDocs.csproj b/CBORDocs/CBORDocs.csproj index 6b4dbc9b..b31c85af 100644 --- a/CBORDocs/CBORDocs.csproj +++ b/CBORDocs/CBORDocs.csproj @@ -42,8 +42,9 @@ - - ..\packages\NuDoc.0.4.1308.1316\lib\net35\ClariusLabs.NuDoc.dll + + ..\packages\NuDoq.1.2.5\lib\net35\NuDoq.dll + True @@ -71,11 +72,4 @@ - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - diff --git a/CBORDocs/DocGenerator.cs b/CBORDocs/DocGenerator.cs index 771dbbb2..06d24d92 100644 --- a/CBORDocs/DocGenerator.cs +++ b/CBORDocs/DocGenerator.cs @@ -3,7 +3,7 @@ using System.Linq; using System.Reflection; using System.Text; -using ClariusLabs.NuDoc; +using NuDoq; namespace PeterO.DocGen { /// A documentation generator. diff --git a/CBORDocs/DocVisitor.cs b/CBORDocs/DocVisitor.cs index 0df2af04..b9340a95 100644 --- a/CBORDocs/DocVisitor.cs +++ b/CBORDocs/DocVisitor.cs @@ -13,7 +13,7 @@ Any copyright is dedicated to the Public Domain. using System.Text; using System.Text.RegularExpressions; -using ClariusLabs.NuDoc; +using NuDoq; namespace PeterO.DocGen { /// A documentation visitor. @@ -484,7 +484,7 @@ public override void VisitExample(Example example) { this.WriteLine("\r\n\r\n"); } - public override void VisitException(ClariusLabs.NuDoc.Exception exception) { + public override void VisitException(NuDoq.Exception exception) { using (var ch = this.Change(this.exceptionStr)) { var cref = exception.Cref; if (cref.StartsWith("T:", StringComparison.Ordinal)) { diff --git a/CBORDocs/SummaryVisitor.cs b/CBORDocs/SummaryVisitor.cs index ab4235ad..9e023074 100644 --- a/CBORDocs/SummaryVisitor.cs +++ b/CBORDocs/SummaryVisitor.cs @@ -13,7 +13,7 @@ Any copyright is dedicated to the Public Domain. using System.Text; using System.Text.RegularExpressions; -using ClariusLabs.NuDoc; +using NuDoq; namespace PeterO.DocGen { internal class SummaryVisitor : Visitor, IComparer { diff --git a/CBORDocs/TypeVisitor.cs b/CBORDocs/TypeVisitor.cs index d3b94c50..d43be70b 100644 --- a/CBORDocs/TypeVisitor.cs +++ b/CBORDocs/TypeVisitor.cs @@ -13,7 +13,7 @@ Any copyright is dedicated to the Public Domain. using System.Text; using System.Text.RegularExpressions; -using ClariusLabs.NuDoc; +using NuDoq; namespace PeterO.DocGen { internal class TypeVisitor : Visitor, IComparer { diff --git a/CBORDocs/packages.config b/CBORDocs/packages.config index 87b05362..be03cce9 100644 --- a/CBORDocs/packages.config +++ b/CBORDocs/packages.config @@ -1,5 +1,5 @@ - - + + diff --git a/CBORDocs2/CBORDocs2.csproj b/CBORDocs2/CBORDocs2.csproj index 338dbc8a..7b0294d2 100644 --- a/CBORDocs2/CBORDocs2.csproj +++ b/CBORDocs2/CBORDocs2.csproj @@ -41,7 +41,6 @@ - @@ -58,11 +57,4 @@ --> - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - diff --git a/CBORDocs2/packages.config b/CBORDocs2/packages.config deleted file mode 100644 index 4820e412..00000000 --- a/CBORDocs2/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/CBORTest/TestCommon.cs b/CBORTest/TestCommon.cs index 9d590227..6c9a837b 100644 --- a/CBORTest/TestCommon.cs +++ b/CBORTest/TestCommon.cs @@ -469,8 +469,8 @@ public static string ObjectMessages( object o1, object o2, String s) { - CBORObject co1 = o1 as CBORObject; - CBORObject co2 = o2 as CBORObject; + var co1 = o1 as CBORObject; + var co2 = o2 as CBORObject; if (co1 != null) { TestCommon.ObjectMessages(co1, co2, s); } diff --git a/README.md b/README.md index 2bd37afd..df48a58c 100644 --- a/README.md +++ b/README.md @@ -233,6 +233,16 @@ The following are some clarifications to RFC 7049. Release Notes ----------- +In version 2.3: + +- The C# version of the library now also targets "dotnet", which should make it compatible with platform .NET runtime +environments such as the upcoming cross-platform "coreclr" runtime. +- Added GetUtf8Bytes overload to DataUtilities +- Fixed line break bug when setting lenientLineBreaks to true in the PeterO.Cbor.DataUtilities.WriteUtf8 method +- In BigInteger, fixed divideAndRemainder method, added certain methods and made other methods obsolete +- Many additions to the documentation +- Other bug fixes + In version 2.2: - Portable Class Library compatibility expanded - Add option to always use definite length string encoding when generating CBOR objects