Age | Commit message (Collapse) | Author |
|
am: 03dfd17ecc
Change-Id: I69fc3adce5f3a3150b3130c2aae893c81bb2b8e6
|
|
Bug: 33166666
Test: gerrit uploader
Change-Id: Ic33d4d6c7a207e62f00890c1dcece6b5ae79aaf4
|
|
implement alignment-safe ntoh16p() && ntoh32p()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cn-create: add cn_cbor_float_create and cn_cbor_double_create
|
|
|
|
|
|
|
|
test: Fix declaration of main method
|
|
|
|
am: 8bfe1c1ec2
Change-Id: Ic7463e49012a1a001051719fbc05904da627c1e3
|
|
am: e198fd1609
Change-Id: I0e76125eb55d56c1980121feeda04de126754ba8
|
|
am: 971af5a0a6
Change-Id: Iad8e4aee7ba301983023adef6d00c2a90e130554
|
|
am: 8a9d358531
Change-Id: I4140da4f2effcdd77979049fa6645f93aa7ad47e
|
|
am: dd6fcf75d7
Change-Id: I67c835b995247e4e34e2eaf30ea7c975009fa76b
|
|
am: 3798baae63
Change-Id: I88dff63df6e103fe8a285218eec83160db49ef7a
|
|
|
|
Change-Id: Ia6a46e0ead462959993307dcc3d0dfbca045ce2e
|
|
|
|
fix compilation error with gcc 7.2.0
|
|
|
|
Make Travis cmake builds less interesting, hopefully faster as well
|
|
|
|
Declare a byte version of the data (uint8_t *).
|
|
Declare a byte version of the data field. This fixes Issue #40
|
|
Add Slack notifications for Travis builds
|
|
|
|
|
|
Travis CI integration
|
|
|
|
|
|
Make clear that cn_cbor_free is there to free the root of a CBOR item tree.
Get rid of a number of gratuitous const qualifiers.
|
|
|
|
cn_cbor_free to ensure we're at the root. Freeing NULL is still allowed as a no-op.
|
|
|
|
Rename cbor_encoder_write() to cn_cbor_encoder_write()
|
|
The public API prefixes all symbols with cn_cbor_, so it seems
reasonable to rename cbor_encoder_write() to cn_cbor_encoder_write().
|
|
Make floats optional (fixes #8, also fixes #21, #22)
|
|
When set, the preprocessor symbol CBOR_NO_FLOAT will be set to 1.
|
|
When support for floats is switched off, some parser tests do not
show the expected results. This modification makes some tests check
for the expected error code CN_CBOR_ERR_FLOAT_NOT_SUPPORTED and
switches off a few other.
|
|
When CBOR_NO_FLOAT is defined at build time, support for floating
point types is switched off.
When trying to parse a data item of type 7 and additional information
25 to 27 (i.e., items starting with 0xf9 to 0xfb), the parser will
return the new error code CN_CBOR_ERR_FLOAT_NOT_SUPPORTED.
|
|
|
|
malloc.
|
|
|
|
|