Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: TSonono/tinycbor

Tags

v0.5.2

Toggle v0.5.2's commit message
TinyCBOR release 0.5.2

This is a bugfix release. Important bugs fixed in this release:
- Fixed the detection of the byte order with the INTEGRITY compiler
- Fixed building with CBOR_NO_FLOATING_POINT and CBOR_NO_HALF_FLOAT_TYPE
- Changed the type for all flags variables from int to uin32_t
  (for platforms where int isn't 32-bit)
- Fixed some C89/C90 issues in the code: notably, TinyCBOR headers now
  do compile with such a compiler (provided <stdint.h> is present)
- Fixed the freestanding (no FILE*) build
- Made sure the shared library build of TinyCBOR links to the math library
- intel#136 Fixed the installation of tinycbor-version.h header

The maintainer would like to thank Koen Zandberg for contributions in this
release.

Signed-off-by: Thiago Macieira <[email protected]>

v0.5.1

Toggle v0.5.1's commit message
TinyCBOR release 0.5.1

This is a bugfix release. Important bugs fixed in this release:
- Fixed a memory leak in the functions converting to JSON if fprintf failed
- Fixed a crash in json2cbor if realloc() failed
- Fixed a compile error on 32-bit (x86) Windows
- Fixed the build with very old GCC (4.4)

Signed-off-by: Thiago Macieira <[email protected]>

v0.5.0

Toggle v0.5.0's commit message
TinyCBOR release 0.5.0

TinyCBOR 0.5 contains numerous fixes and new API compared to 0.4. The
main feature in this release is the CBOR Validation API, which can be
used to perform a deeper validation of the contents than the simple
syntax correctness that the main parser API provides. In particular, the
API can be used to confirm that a given CBOR data type was encoded using
either the Canonical Format (RFC 7049 section 3.9) and the Strict Mode
(section 3.10). The API can also be used to confirm CBOR Text Strings
carry properly-encoded UTF-8 text, a verification that the main parser
does not perform.

Starting in this release, the TINYCBOR_VERSION macro will be defined to
the current version number.

This release also has the possibility of building TinyCBOR as a shared
library on Unix systems. It is automatically enabled on systems detected
to use the ELF executable format. To disable it, pass BUILD_SHARED=0 to
make; to enable it on other systems, pass BUILD_SHARED=1. To disable the
static library, pass BUILD_STATIC=0 to make. Note that TinyCBOR does not
guarantee binary compatibility across releases.

Other relevant changes include:

 - The list of known tags includes the tags used for CBOR Object Signing
   and Encryption (COSE - RFC 8152).
 - The functions taking FILE* are now conditional on a hosted C
   environment. They are not declared for freestanding C environments.

Note: the zero-copy string functions announced with the 0.5-beta1
release have been removed for further development. A new zery-copy
string access API will be provided in the 0.6 release.

The project maintainer would like to thank the following people for
contributing to this release:
 Bertrand Roussel
 George Nash
 Erich Keane
 Fabrice Fontaine
 Vipul Rahane

Signed-off-by: Thiago Macieira <[email protected]>

v0.5-beta1

Toggle v0.5-beta1's commit message
TinyCBOR release 0.5 (beta1)

This is a beta release of TinyCBOR 0.5. Beta releases may have bugs and
the API is still subject to change.

TinyCBOR 0.5 contains numerous fixes and new API compared to 0.4. The
main feature in this release is the CBOR Validation API, which can be
used to perform a deeper validation of the contents than the simple
syntax correctness that the main parser API provides. In particular, the
API can be used to confirm that a given CBOR data type was encoded using
either the Canonical Format (RFC 7049 section 3.9) and the Strict Mode
(section 3.10). The API can also be used to confirm CBOR Text Strings
carry properly-encoded UTF-8 text, a verification that the main parser
does not perform.

Starting in this release, the TINYCBOR_VERSION macro will be defined to
the current version number.

Other relevant changes include:

 - The list of known tags includes the tags used for CBOR Object Signing
   and Encryption (COSE - RFC 8152).
 - A new pair of functions cbor_value_get_{text,byte}_string_chunk can
   be used to obtain a direct pointer to the string data, without any
   memory allocation or memcpy (zero copy).
 - the functions taking FILE* are now conditional on a hosted C
   environment. They are not declared for freestanding C environments.

The project maintainer would like to thank the following people for
contributing to this release:
 Alex Radutskiy
 Bertrand Roussel
 Erich Keane
 Fabrice Fontaine
 Philippe Coval
 Vipul Rahane

v0.4.2

Toggle v0.4.2's commit message
TinyCBOR release 0.4.2

This is a bugfix release. Important bugs fixed in this release:
 - Fixed builds against a static cJSON
 - Fixed MSVC builds
 - Fixed builds on freestanding C implementation (no FILE* API)
 - Fixed the return value of cbor_encoder_close_container when a previous OOM
   condition had been detected
 - Fixed the build in strict C89 mode (no C99 extensions)

Signed-off-by: Thiago Macieira <[email protected]>

v0.4.1

Toggle v0.4.1's commit message
TinyCBOR release 0.4.1

This is a bug-fix release. There is no new functionality on top of
v0.4.

Bugs fixed:
 - intel#54 Failure to build with newest cJSON upstream
 - Stack corruption when memcpy doesn't use the same calling convention
 - Warnings with GCC -pedantic in cbor.h
 - a number of buildsystem bugs

Signed-off-by: Thiago Macieira <[email protected]>

v0.4

Toggle v0.4's commit message
TinyCBOR release 0.4

This is a feature release of TinyCBOR. New API in this release:
 - cbor_encoder_get_buffer_size
 - cbor_encoder_get_extra_bytes_needed
 - cbor_value_is_half_float
 - cbor_value_is_float
 - cbor_value_is_double

This release contains numerous bugfixes and simple fixes for warnings
generated with some compilers, under certain conditions. The public API
headers should now produce no warnings with Microsoft's compiler, even at
level 4 warnings.

Important: the anonymous union member of struct CborEncoder is no longer
anonymous, to fix compatibility with C89 compilers. Code that accessed the
members in that structure directly should instead use the API added for that
purpose (cbor_encoder_get_buffer_size and cbor_encoder_get_extra_bytes_needed).

Signed-off-by: Thiago Macieira <[email protected]>

v0.3.2

Toggle v0.3.2's commit message
TinyCBOR release v0.3.2

This is a bug-fix release. There is no new functionality on top of
v0.3 or v0.3.1. This release fixes a build incompatibility with old GNU
Make (< 0.4) and finally fixes stdint.h macros with Arduino.

Bugs fixed:
 - intel#36: libtinycbor.a created as a directory on some buildsystem

-- 
Changes:
Fabrice Fontaine (1):
      Give a name to unnamed union in CborEncoder

Thiago Macieira (1):
      Fix "make distcheck" when TMPDIR isn't set

v0.3.1

Toggle v0.3.1's commit message
TinyCBOR release v0.3.1

This is a bug-fix release. There is no new functionality on top of
v0.3. This release is meant to fix the build when using a Bourne shell
that isn't Bash.

Bugs fixed:
 - intel#32: Build fails due to fd > 9 in shell redirection
 - intel#34: Use of non-POSIX "echo -e" shell

--
Changes:
Fabrice Fontaine (1):
      Fix compilation error due to file descriptor

Thiago Macieira (1):
      Use printf instead of echo -e in Makefile.configure

v0.2.1

Toggle v0.2.1's commit message
Retroactively releasing TinyCBOR 0.2.1

This is an intermediate release of TinyCBOR v0.2 without the buildsystem
updates that entered 0.3.