Skip to content

QCBOR v1.3

Latest
Compare
Choose a tag to compare
@laurencelundblade laurencelundblade released this 26 Apr 01:10
· 10 commits to master since this release
1eba85d

This is a fully backwards compatible update that everyone should pick up. The majority of lines changed were only for documentation and code tidiness. Some small bugs are fixed and one feature addition.

  • Floating-point conversion between half, single and double-precision for subnormal values and NaN payloads is completed. These are relatively obscure unused parts of IEEE754 floats.
  • QCBOREncode_GetErrorState() can now be called after QCBOREncode_Finish() and it will always return the correct error.
  • User-defined error codes are now supported. The error state can be set with the new function QCBORDecode_SetError().
  • Fixed a rare condition where QCBORDecode_ VGetNext() would not set the Item.uDataType to QCBOR_TYPE_NONE on error.
  • Function naming changed to better avoid name collision. This includes internal functions. This is to compensate for C not having name spaces like C++.
  • Documentation correctly describes mixing of traversal cursor used by GetNext with fetch by label in entered maps
  • Some increase in test coverage
  • A bunch of "TODO:" items were addressed. Most result in no change to the code, just changes to documentation and test coverage.