Age | Commit message (Collapse) | Author |
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-jxr-plugin-3.3.2
Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.1 to 3.3.2
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-surefire-report-plugin-3.2.5
Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.2.3 to 3.2.5
|
|
Bumps [org.apache.maven.plugins:maven-surefire-report-plugin](https://github.com/apache/maven-surefire) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.3...surefire-3.2.5)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-report-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [org.apache.maven.plugins:maven-jxr-plugin](https://github.com/apache/maven-jxr) from 3.3.1 to 3.3.2.
- [Commits](https://github.com/apache/maven-jxr/compare/jxr-3.3.1...jxr-3.3.2)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-jxr-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-compiler-plugin-3.12.1
Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.1
|
|
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.11.0 to 3.12.1.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.11.0...maven-compiler-plugin-3.12.1)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-project-info-reports-plugin-3.5.0
Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.4.5 to 3.5.0
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-surefire-report-plugin-3.2.3
Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.2.2 to 3.2.3
|
|
Bumps [org.apache.maven.plugins:maven-surefire-report-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.2...surefire-3.2.3)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-report-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.6.3
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3
|
|
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.6.2...maven-javadoc-plugin-3.6.3)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/github_actions/actions/setup-java-4
Bump actions/setup-java from 3 to 4
|
|
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [org.apache.maven.plugins:maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.4.5 to 3.5.0.
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.4.5...maven-project-info-reports-plugin-3.5.0)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-project-info-reports-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Add a couple of encodeToBytes() examples to the README
|
|
c-rack/dependabot/maven/org.jacoco-jacoco-maven-plugin-0.8.11
Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-jxr-plugin-3.3.1
Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.0 to 3.3.1
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-pmd-plugin-3.21.2
Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.0 to 3.21.2
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-surefire-report-plugin-3.2.2
Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.1.2 to 3.2.2
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.6.2
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.2
|
|
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.5.0 to 3.6.2.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.5.0...maven-javadoc-plugin-3.6.2)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [org.apache.maven.plugins:maven-surefire-report-plugin](https://github.com/apache/maven-surefire) from 3.1.2 to 3.2.2.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.2)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-report-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [org.apache.maven.plugins:maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.21.0 to 3.21.2.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.21.0...maven-pmd-plugin-3.21.2)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [org.apache.maven.plugins:maven-jxr-plugin](https://github.com/apache/maven-jxr) from 3.3.0 to 3.3.1.
- [Commits](https://github.com/apache/maven-jxr/compare/jxr-3.3.0...jxr-3.3.1)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-jxr-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.10...v0.8.11)
---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Demonstrate how to use CborEncoder.encodeToBytes() and
DataItem.encodeToBytes().
|
|
Encode to bytes
|
|
Refactor the many instances of encoding CBOR to a byte array to make use
of the new helpers for doing just that task.
|
|
It's common to encode CBOR to a byte array so provide utility methods in
CborEncoder and on DataItem to make it really simple.
These methods don't throw exceptions as only exceptions from the encoder
will be from the OutputStream but a ByteArrayOutputStream doesn't
actually throw so the exception can be ignored. An AssertionError is
thrown in the unexpected event that an exception did somehow get caught.
The alternative to ignoring the exception would be to have a shadow
implementation of the encoder that directly uses the
ByteArrayOutputStream methods that are declared not to throw so the
shadow implementatino can also declare methods that don't throw. This
would result in duplication so it didn't seem worth the maintenance
cost.
|
|
Merge the encoder implementation into a single class rather than having
to instantiate 11 classes that hold the same state. This class uses an
OutputStream abstraction for outputing CBOR items to an underlying
stream.
The CborReader interface is unchanged and the CborOutputStream is not
made part of the library's public interface.
|
|
Use the CborEncoder interface rather than other interfaces from the
encoder package. This will allow for changes to the encoder
implementation.
|
|
Get rid of the enum variant that is used for invalid major types that
cannot be decoded or encoded.
Move the decoder exception to be thrown when trying to parse the invalid
major type rather than returning INVALID and then throwing the
exception.
Remove handling of this enum variant in the encoder which is also make
to throw an AssertionError in the accidental case of a
non-exhaustive switch statement.
|
|
Get rid of the enum variant used for unallocated special types as it
cannot be decoded or encoded.
Move the decoder exception to be thrown when trying to parse an
unallocated special type rather than returning UNALLOCAED and then
throwing the exception.
Remove the handling of this enum varient in the encoder which is also
made to throw an AssertionError in the accidental case of a
non-exhaustive switch statement.
|
|
Make the special value encoder assume that objects are instances of the
classes from this library. This is consistent with the encoder for data
items and removes a source of checked exceptions that can only arise
from misuse of the library.
|
|
The items are assumed to be instances of the classes from this library
so make that behaviour explicit in the tests.
|
|
Bump actions/checkout from 3 to 4
|
|
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-project-info-reports-plugin-3.4.5
Bump maven-project-info-reports-plugin from 3.4.4 to 3.4.5
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-surefire-report-plugin-3.1.2
Bump maven-surefire-report-plugin from 3.1.0 to 3.1.2
|
|
Bumps [maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.4.4 to 3.4.5.
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.4.4...maven-project-info-reports-plugin-3.4.5)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-project-info-reports-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [maven-surefire-report-plugin](https://github.com/apache/maven-surefire) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.0...surefire-3.1.2)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-report-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-project-info-reports-plugin-3.4.4
Bump maven-project-info-reports-plugin from 3.4.3 to 3.4.4
|
|
Bumps [maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.4.3 to 3.4.4.
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.4.3...maven-project-info-reports-plugin-3.4.4)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-project-info-reports-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-source-plugin-3.3.0
Bump maven-source-plugin from 3.2.1 to 3.3.0
|
|
Bumps [maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.2.1 to 3.3.0.
- [Commits](https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.2.1...maven-source-plugin-3.3.0)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-source-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-pmd-plugin-3.21.0
Bump maven-pmd-plugin from 3.20.0 to 3.21.0
|
|
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.20.0 to 3.21.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.20.0...maven-pmd-plugin-3.21.0)
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
c-rack/dependabot/maven/org.jacoco-jacoco-maven-plugin-0.8.10
Bump jacoco-maven-plugin from 0.8.9 to 0.8.10
|
|
c-rack/dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.1.0
Bump maven-gpg-plugin from 3.0.1 to 3.1.0
|