Skip to content

Tags: albert3021/tinycbor

Tags

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 <thiago.macieira@intel.com>

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 <thiago.macieira@intel.com>

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.

v0.3

Toggle v0.3's commit message
TinyCBOR release 0.3

The major feature in version 0.3 is the completion of the TinyCBOR
documentation. To generate it, run
    make docs
The documentation is available online at
    https://01org.github.io/tinycbor/0.3

This release contains compile fixes for builds on Windows with Microsoft
Visual Studio's compiler. It also moved the code calling malloc() to
outside cborparser.c, so that file can be compiled on C Freestanding
environments that do not have malloc() and free().

This release also completes the API that was declared in cbor.h but never
implemented. New APIs in this release are:
 - cbor_encoder_get_buffer_size
 - cbor_encoder_get_extra_bytes_needed
 - cbor_value_calculate_string_length
 - cbor_value_get_int64_checked
 - cbor_value_get_int_checked

--
Changes:
David Antler (1):
      Add reference to header file for Windows.

Mike Colagrosso (1):
      parser: Set the length to 0 on error in extract_length()

Otavio Pontes (3):
      Fix compilation for systems without math.h header
      Remove from cborparser.c file the dependency on stdlib header
      Fix _BSD_SOURCE is deprecated warning

Thiago Macieira (17):
      Fix intel#16: sizeof(struct {}) is not allowed in C++
      Add missing #include
      Fix and test the functions getting the sizes of containers
      Finish open_memstream for older glibc without it
      Fix a parsing issue caused by pointer wraparounds
      Fix warnings printed by the Microsoft compiler at -W3
      Fix a few more MSVC level 3 warnings
      Fix compilation when using a C compiler that doesn't understand "inline"
      Fix compilation in C89 mode: variables can't be declared in for stmt
      Convert C++/C99 style comments to C89
      Update qmake build files
      Finish TinyCBOR documentation
      Add cbor_encoder_get_buffer_size and get_extra_bytes_needed
      Parsing: Add cbor_value_get_next_byte()
      CborValue: add missing convenience FP cbor_value_is_xxxx functions
      CborValue: fix mis-named cbor_value_is_{null,undefined}
      Parsing: implement the missing cbor_value_get_int{,64}_checked functions

v0.2

Toggle v0.2's commit message
TinyCBOR release 0.2

The major feature in this release is the CBOR-to-JSON and JSON-to-CBOR
conversion tools. Conversion from CBOR to JSON is done by passing the -j
option to the existing cbordump tool, while the reverse conversion is
done by the new json2cbor tool. Both tools accept the -M switch to
annotate the JSON output and parse it so the orignal CBOR types are
restored. This is specially useful for tagged objects and CBOR Byte
Strings.

A minor feature was the implementation of IEEE 754 half-float
support. Another is the ability to check whether the number of items
added to arrays and maps when encoding to CBOR was the expected value.

And TinyCBOR got a buildsystem. So now you can simply type make && make
install.

New APIs in this release:
 - cbor_encode_negative_int
 - cbor_encode_text_stringz
 - cbor_encoder_close_container_checked
 - cbor_value_get_raw_integer
 - cbor_value_to_json_advance
 - cbor_value_to_json

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>

v0.1

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