Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/libcbor/dist Import libcbor from: https://githu...



details:   https://anonhg.NetBSD.org/src/rev/ec2a38dd9d98
branches:  trunk
changeset: 969839:ec2a38dd9d98
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 03 00:34:28 2020 +0000

description:
Import libcbor from: https://github.com/PJK/libcbor.git

diffstat:

 external/mit/libcbor/dist/.clang-format                                          |   151 +
 external/mit/libcbor/dist/.travis-qemu.sh                                        |   137 +
 external/mit/libcbor/dist/.travis.yml                                            |    60 +
 external/mit/libcbor/dist/CHANGELOG.md                                           |    74 +
 external/mit/libcbor/dist/CMakeLists.txt                                         |   133 +
 external/mit/libcbor/dist/CNAME                                                  |     1 +
 external/mit/libcbor/dist/Doxyfile                                               |  2417 ++++++++++
 external/mit/libcbor/dist/LICENSE.md                                             |    21 +
 external/mit/libcbor/dist/README.md                                              |   113 +
 external/mit/libcbor/dist/appveyor.yml                                           |    27 +
 external/mit/libcbor/dist/clang-format.sh                                        |    10 +
 external/mit/libcbor/dist/cppcheck_suppressions.txt                              |     4 +
 external/mit/libcbor/dist/demo/hello_cbor.c                                      |    13 +
 external/mit/libcbor/dist/doc/Makefile                                           |   180 +
 external/mit/libcbor/dist/doc/doxy_frontpage.md                                  |    37 +
 external/mit/libcbor/dist/doc/make.bat                                           |   242 +
 external/mit/libcbor/dist/doc/source/api.rst                                     |    39 +
 external/mit/libcbor/dist/doc/source/api/decoding.rst                            |    53 +
 external/mit/libcbor/dist/doc/source/api/encoding.rst                            |    23 +
 external/mit/libcbor/dist/doc/source/api/item_reference_counting.rst             |    41 +
 external/mit/libcbor/dist/doc/source/api/item_types.rst                          |    41 +
 external/mit/libcbor/dist/doc/source/api/type_0_1.rst                            |    91 +
 external/mit/libcbor/dist/doc/source/api/type_2.rst                              |    66 +
 external/mit/libcbor/dist/doc/source/api/type_3.rst                              |    55 +
 external/mit/libcbor/dist/doc/source/api/type_4.rst                              |    62 +
 external/mit/libcbor/dist/doc/source/api/type_5.rst                              |    44 +
 external/mit/libcbor/dist/doc/source/api/type_6.rst                              |    21 +
 external/mit/libcbor/dist/doc/source/api/type_7.rst                              |    76 +
 external/mit/libcbor/dist/doc/source/changelog.rst                               |     4 +
 external/mit/libcbor/dist/doc/source/conf.py                                     |   296 +
 external/mit/libcbor/dist/doc/source/development.rst                             |   143 +
 external/mit/libcbor/dist/doc/source/getting_started.rst                         |   200 +
 external/mit/libcbor/dist/doc/source/img/win_1.png                               |   Bin 
 external/mit/libcbor/dist/doc/source/img/win_2.png                               |   Bin 
 external/mit/libcbor/dist/doc/source/img/win_3.png                               |   Bin 
 external/mit/libcbor/dist/doc/source/img/win_4.png                               |   Bin 
 external/mit/libcbor/dist/doc/source/img/win_5.png                               |   Bin 
 external/mit/libcbor/dist/doc/source/img/win_6.png                               |   Bin 
 external/mit/libcbor/dist/doc/source/index.rst                                   |    40 +
 external/mit/libcbor/dist/doc/source/internal.rst                                |   126 +
 external/mit/libcbor/dist/doc/source/requirements.txt                            |     5 +
 external/mit/libcbor/dist/doc/source/rfc_conformance.rst                         |    17 +
 external/mit/libcbor/dist/doc/source/streaming.rst                               |    13 +
 external/mit/libcbor/dist/doc/source/streaming/decoding.rst                      |    91 +
 external/mit/libcbor/dist/doc/source/streaming/encoding.rst                      |     4 +
 external/mit/libcbor/dist/doc/source/tests.rst                                   |    39 +
 external/mit/libcbor/dist/doc/source/using.rst                                   |   173 +
 external/mit/libcbor/dist/docs/CNAME                                             |     1 +
 external/mit/libcbor/dist/docs/doxygen/allocators_8c.html                        |   202 +
 external/mit/libcbor/dist/docs/doxygen/allocators_8c_source.html                 |    88 +
 external/mit/libcbor/dist/docs/doxygen/annotated.html                            |   101 +
 external/mit/libcbor/dist/docs/doxygen/arrays_8c.html                            |   499 ++
 external/mit/libcbor/dist/docs/doxygen/arrays_8c_source.html                     |   115 +
 external/mit/libcbor/dist/docs/doxygen/arrays_8h.html                            |   497 ++
 external/mit/libcbor/dist/docs/doxygen/arrays_8h_source.html                     |    93 +
 external/mit/libcbor/dist/docs/doxygen/bc_s.png                                  |   Bin 
 external/mit/libcbor/dist/docs/doxygen/bdwn.png                                  |   Bin 
 external/mit/libcbor/dist/docs/doxygen/builder__callbacks_8c.html                |   864 +++
 external/mit/libcbor/dist/docs/doxygen/builder__callbacks_8c_source.html         |   178 +
 external/mit/libcbor/dist/docs/doxygen/builder__callbacks_8h.html                |   809 +++
 external/mit/libcbor/dist/docs/doxygen/builder__callbacks_8h_source.html         |   114 +
 external/mit/libcbor/dist/docs/doxygen/bytestrings_8c.html                       |   477 +
 external/mit/libcbor/dist/docs/doxygen/bytestrings_8c_source.html                |   116 +
 external/mit/libcbor/dist/docs/doxygen/bytestrings_8h.html                       |   475 +
 external/mit/libcbor/dist/docs/doxygen/bytestrings_8h_source.html                |    96 +
 external/mit/libcbor/dist/docs/doxygen/callbacks_8c.html                         |   462 +
 external/mit/libcbor/dist/docs/doxygen/callbacks_8c_source.html                  |   111 +
 external/mit/libcbor/dist/docs/doxygen/callbacks_8h.html                         |  1070 ++++
 external/mit/libcbor/dist/docs/doxygen/callbacks_8h_source.html                  |   142 +
 external/mit/libcbor/dist/docs/doxygen/cbor_8c.html                              |   175 +
 external/mit/libcbor/dist/docs/doxygen/cbor_8c_source.html                       |   226 +
 external/mit/libcbor/dist/docs/doxygen/cbor_8h.html                              |   185 +
 external/mit/libcbor/dist/docs/doxygen/cbor_8h_source.html                       |    98 +
 external/mit/libcbor/dist/docs/doxygen/classes.html                              |    88 +
 external/mit/libcbor/dist/docs/doxygen/closed.png                                |   Bin 
 external/mit/libcbor/dist/docs/doxygen/common_8c.html                            |   716 ++
 external/mit/libcbor/dist/docs/doxygen/common_8c_source.html                     |   146 +
 external/mit/libcbor/dist/docs/doxygen/common_8h.html                            |  1074 ++++
 external/mit/libcbor/dist/docs/doxygen/common_8h_source.html                     |   109 +
 external/mit/libcbor/dist/docs/doxygen/customdoxygen.css                         |  1401 +++++
 external/mit/libcbor/dist/docs/doxygen/data_8h.html                              |   479 +
 external/mit/libcbor/dist/docs/doxygen/data_8h_source.html                       |   170 +
 external/mit/libcbor/dist/docs/doxygen/dir_3ebe94c85f6786bf802771098c1d09bb.html |   108 +
 external/mit/libcbor/dist/docs/doxygen/dir_68267d1309a1af8e8297ef4c3efbcdba.html |    95 +
 external/mit/libcbor/dist/docs/doxygen/dir_cb565ba51d82ea933604984cbab6233d.html |   139 +
 external/mit/libcbor/dist/docs/doxygen/doc.png                                   |   Bin 
 external/mit/libcbor/dist/docs/doxygen/doxy__frontpage_8md.html                  |    78 +
 external/mit/libcbor/dist/docs/doxygen/doxy__frontpage_8md_source.html           |    76 +
 external/mit/libcbor/dist/docs/doxygen/doxygen.css                               |  1508 ++++++
 external/mit/libcbor/dist/docs/doxygen/doxygen.png                               |   Bin 
 external/mit/libcbor/dist/docs/doxygen/dynsections.js                            |   104 +
 external/mit/libcbor/dist/docs/doxygen/encoders_8c.html                          |   310 +
 external/mit/libcbor/dist/docs/doxygen/encoders_8c_source.html                   |    86 +
 external/mit/libcbor/dist/docs/doxygen/encoders_8h.html                          |   310 +
 external/mit/libcbor/dist/docs/doxygen/encoders_8h_source.html                   |    86 +
 external/mit/libcbor/dist/docs/doxygen/encoding_8c.html                          |  1137 ++++
 external/mit/libcbor/dist/docs/doxygen/encoding_8c_source.html                   |   118 +
 external/mit/libcbor/dist/docs/doxygen/encoding_8h.html                          |  1098 ++++
 external/mit/libcbor/dist/docs/doxygen/encoding_8h_source.html                   |   108 +
 external/mit/libcbor/dist/docs/doxygen/files.html                                |   123 +
 external/mit/libcbor/dist/docs/doxygen/floats__ctrls_8c.html                     |   832 +++
 external/mit/libcbor/dist/docs/doxygen/floats__ctrls_8c_source.html              |   128 +
 external/mit/libcbor/dist/docs/doxygen/floats__ctrls_8h.html                     |   830 +++
 external/mit/libcbor/dist/docs/doxygen/floats__ctrls_8h_source.html              |   106 +
 external/mit/libcbor/dist/docs/doxygen/folderclosed.png                          |   Bin 
 external/mit/libcbor/dist/docs/doxygen/folderopen.png                            |   Bin 
 external/mit/libcbor/dist/docs/doxygen/functions.html                            |   351 +
 external/mit/libcbor/dist/docs/doxygen/functions_vars.html                       |   351 +
 external/mit/libcbor/dist/docs/doxygen/globals.html                              |   229 +
 external/mit/libcbor/dist/docs/doxygen/globals_c.html                            |  1040 ++++
 external/mit/libcbor/dist/docs/doxygen/globals_d.html                            |    79 +
 external/mit/libcbor/dist/docs/doxygen/globals_defs.html                         |   113 +
 external/mit/libcbor/dist/docs/doxygen/globals_enum.html                         |    98 +
 external/mit/libcbor/dist/docs/doxygen/globals_eval.html                         |   185 +
 external/mit/libcbor/dist/docs/doxygen/globals_func.html                         |   175 +
 external/mit/libcbor/dist/docs/doxygen/globals_func_c.html                       |   875 +++
 external/mit/libcbor/dist/docs/doxygen/globals_t.html                            |    82 +
 external/mit/libcbor/dist/docs/doxygen/globals_type.html                         |   125 +
 external/mit/libcbor/dist/docs/doxygen/globals_u.html                            |    82 +
 external/mit/libcbor/dist/docs/doxygen/globals_vars.html                         |    92 +
 external/mit/libcbor/dist/docs/doxygen/index.html                                |   106 +
 external/mit/libcbor/dist/docs/doxygen/ints_8c.html                              |   874 +++
 external/mit/libcbor/dist/docs/doxygen/ints_8c_source.html                       |   122 +
 external/mit/libcbor/dist/docs/doxygen/ints_8h.html                              |   874 +++
 external/mit/libcbor/dist/docs/doxygen/ints_8h_source.html                       |   107 +
 external/mit/libcbor/dist/docs/doxygen/jquery.js                                 |    87 +
 external/mit/libcbor/dist/docs/doxygen/loaders_8c.html                           |   267 +
 external/mit/libcbor/dist/docs/doxygen/loaders_8c_source.html                    |    96 +
 external/mit/libcbor/dist/docs/doxygen/loaders_8h.html                           |   244 +
 external/mit/libcbor/dist/docs/doxygen/loaders_8h_source.html                    |    89 +
 external/mit/libcbor/dist/docs/doxygen/maps_8c.html                              |   446 +
 external/mit/libcbor/dist/docs/doxygen/maps_8c_source.html                       |   115 +
 external/mit/libcbor/dist/docs/doxygen/maps_8h.html                              |   445 +
 external/mit/libcbor/dist/docs/doxygen/maps_8h_source.html                       |    95 +
 external/mit/libcbor/dist/docs/doxygen/memory__utils_8c.html                     |   245 +
 external/mit/libcbor/dist/docs/doxygen/memory__utils_8c_source.html              |    88 +
 external/mit/libcbor/dist/docs/doxygen/memory__utils_8h.html                     |   220 +
 external/mit/libcbor/dist/docs/doxygen/memory__utils_8h_source.html              |    83 +
 external/mit/libcbor/dist/docs/doxygen/menu.js                                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/menudata.js                               |    63 +
 external/mit/libcbor/dist/docs/doxygen/nav_f.png                                 |   Bin 
 external/mit/libcbor/dist/docs/doxygen/nav_g.png                                 |   Bin 
 external/mit/libcbor/dist/docs/doxygen/nav_h.png                                 |   Bin 
 external/mit/libcbor/dist/docs/doxygen/open.png                                  |   Bin 
 external/mit/libcbor/dist/docs/doxygen/search/all_0.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_0.js                           |    56 +
 external/mit/libcbor/dist/docs/doxygen/search/all_1.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_1.js                           |    12 +
 external/mit/libcbor/dist/docs/doxygen/search/all_10.html                        |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_10.js                          |    12 +
 external/mit/libcbor/dist/docs/doxygen/search/all_11.html                        |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_11.js                          |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/all_12.html                        |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_12.js                          |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/all_2.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_2.js                           |    11 +
 external/mit/libcbor/dist/docs/doxygen/search/all_3.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_3.js                           |   281 +
 external/mit/libcbor/dist/docs/doxygen/search/all_4.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_4.js                           |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/all_5.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_5.js                           |     9 +
 external/mit/libcbor/dist/docs/doxygen/search/all_6.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_6.js                           |     9 +
 external/mit/libcbor/dist/docs/doxygen/search/all_7.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_7.js                           |    10 +
 external/mit/libcbor/dist/docs/doxygen/search/all_8.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_8.js                           |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/all_9.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_9.js                           |     8 +
 external/mit/libcbor/dist/docs/doxygen/search/all_a.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_a.js                           |    10 +
 external/mit/libcbor/dist/docs/doxygen/search/all_b.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_b.js                           |     8 +
 external/mit/libcbor/dist/docs/doxygen/search/all_c.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_c.js                           |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/all_d.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_d.js                           |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/all_e.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_e.js                           |    19 +
 external/mit/libcbor/dist/docs/doxygen/search/all_f.html                         |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/all_f.js                           |    12 +
 external/mit/libcbor/dist/docs/doxygen/search/classes_0.html                     |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/classes_0.js                       |    16 +
 external/mit/libcbor/dist/docs/doxygen/search/classes_1.html                     |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/classes_1.js                       |    11 +
 external/mit/libcbor/dist/docs/doxygen/search/close.png                          |   Bin 
 external/mit/libcbor/dist/docs/doxygen/search/defines_0.html                     |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_0.js                       |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_1.html                     |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_1.js                       |     8 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_2.html                     |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_2.js                       |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_3.html                     |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_3.js                       |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_4.html                     |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/defines_4.js                       |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/enums_0.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/enums_0.js                         |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/enums_1.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/enums_1.js                         |     8 +
 external/mit/libcbor/dist/docs/doxygen/search/enumvalues_0.html                  |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/enumvalues_0.js                    |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/enumvalues_1.html                  |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/enumvalues_1.js                    |    34 +
 external/mit/libcbor/dist/docs/doxygen/search/files_0.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_0.js                         |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/files_1.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_1.js                         |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/files_2.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_2.js                         |     9 +
 external/mit/libcbor/dist/docs/doxygen/search/files_3.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_3.js                         |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/files_4.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_4.js                         |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/files_5.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_5.js                         |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/files_6.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_6.js                         |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/files_7.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_7.js                         |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/files_8.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_8.js                         |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/files_9.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_9.js                         |    11 +
 external/mit/libcbor/dist/docs/doxygen/search/files_a.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_a.js                         |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/files_b.html                       |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/files_b.js                         |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/functions_0.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/functions_0.js                     |    29 +
 external/mit/libcbor/dist/docs/doxygen/search/functions_1.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/functions_1.js                     |   206 +
 external/mit/libcbor/dist/docs/doxygen/search/mag_sel.png                        |   Bin 
 external/mit/libcbor/dist/docs/doxygen/search/nomatches.html                     |    12 +
 external/mit/libcbor/dist/docs/doxygen/search/search.css                         |   271 +
 external/mit/libcbor/dist/docs/doxygen/search/search.js                          |   791 +++
 external/mit/libcbor/dist/docs/doxygen/search/search_l.png                       |   Bin 
 external/mit/libcbor/dist/docs/doxygen/search/search_m.png                       |   Bin 
 external/mit/libcbor/dist/docs/doxygen/search/search_r.png                       |   Bin 
 external/mit/libcbor/dist/docs/doxygen/search/searchdata.js                      |    39 +
 external/mit/libcbor/dist/docs/doxygen/search/typedefs_0.html                    |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/typedefs_0.js                      |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/typedefs_1.html                    |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/typedefs_1.js                      |    17 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_0.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_0.js                     |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_1.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_1.js                     |     9 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_10.html                  |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_10.js                    |     8 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_11.html                  |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_11.js                    |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_12.html                  |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_12.js                    |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_2.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_2.js                     |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_3.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_3.js                     |    11 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_4.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_4.js                     |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_5.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_5.js                     |     5 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_6.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_6.js                     |     7 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_7.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_7.js                     |     8 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_8.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_8.js                     |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_9.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_9.js                     |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_a.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_a.js                     |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_b.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_b.js                     |     8 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_c.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_c.js                     |     4 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_d.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_d.js                     |     6 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_e.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_e.js                     |    11 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_f.html                   |    26 +
 external/mit/libcbor/dist/docs/doxygen/search/variables_f.js                     |     8 +
 external/mit/libcbor/dist/docs/doxygen/serialization_8c.html                     |   602 ++
 external/mit/libcbor/dist/docs/doxygen/serialization_8c_source.html              |   187 +
 external/mit/libcbor/dist/docs/doxygen/serialization_8h.html                     |   592 ++
 external/mit/libcbor/dist/docs/doxygen/serialization_8h_source.html              |    93 +
 external/mit/libcbor/dist/docs/doxygen/splitbar.png                              |   Bin 
 external/mit/libcbor/dist/docs/doxygen/stack_8c.html                             |   171 +
 external/mit/libcbor/dist/docs/doxygen/stack_8c_source.html                      |    94 +
 external/mit/libcbor/dist/docs/doxygen/stack_8h.html                             |   181 +
 external/mit/libcbor/dist/docs/doxygen/stack_8h_source.html                      |    92 +
 external/mit/libcbor/dist/docs/doxygen/streaming_8c.html                         |   148 +
 external/mit/libcbor/dist/docs/doxygen/streaming_8c_source.html                  |    99 +
 external/mit/libcbor/dist/docs/doxygen/streaming_8h.html                         |   148 +
 external/mit/libcbor/dist/docs/doxygen/streaming_8h_source.html                  |    86 +
 external/mit/libcbor/dist/docs/doxygen/strings_8c.html                           |   544 ++
 external/mit/libcbor/dist/docs/doxygen/strings_8c_source.html                    |   118 +
 external/mit/libcbor/dist/docs/doxygen/strings_8h.html                           |   542 ++
 external/mit/libcbor/dist/docs/doxygen/strings_8h_source.html                    |    97 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__array__metadata.html        |   149 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__bytestring__metadata.html   |   131 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__decoder__context.html       |   173 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__float__ctrl__metadata.html  |   131 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__int__metadata.html          |   113 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__map__metadata.html          |   149 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__stack.html                  |   131 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__stack__record.html          |   149 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__string__metadata.html       |   149 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__tag__metadata.html          |   132 +
 external/mit/libcbor/dist/docs/doxygen/struct__cbor__unicode__status.html        |   131 +
 external/mit/libcbor/dist/docs/doxygen/structcbor__callbacks.html                |   599 ++
 external/mit/libcbor/dist/docs/doxygen/structcbor__decoder__result.html          |   137 +
 external/mit/libcbor/dist/docs/doxygen/structcbor__error.html                    |   137 +
 external/mit/libcbor/dist/docs/doxygen/structcbor__indefinite__string__data.html |   150 +
 external/mit/libcbor/dist/docs/doxygen/structcbor__item__t.html                  |   179 +
 external/mit/libcbor/dist/docs/doxygen/structcbor__load__result.html             |   137 +
 external/mit/libcbor/dist/docs/doxygen/structcbor__pair.html                     |   131 +
 external/mit/libcbor/dist/docs/doxygen/sync_off.png                              |   Bin 
 external/mit/libcbor/dist/docs/doxygen/sync_on.png                               |   Bin 
 external/mit/libcbor/dist/docs/doxygen/tab_a.png                                 |   Bin 
 external/mit/libcbor/dist/docs/doxygen/tab_b.png                                 |   Bin 
 external/mit/libcbor/dist/docs/doxygen/tab_h.png                                 |   Bin 
 external/mit/libcbor/dist/docs/doxygen/tab_s.png                                 |   Bin 
 external/mit/libcbor/dist/docs/doxygen/tabs.css                                  |     1 +
 external/mit/libcbor/dist/docs/doxygen/tags_8c.html                              |   271 +
 external/mit/libcbor/dist/docs/doxygen/tags_8c_source.html                       |    97 +
 external/mit/libcbor/dist/docs/doxygen/tags_8h.html                              |   271 +
 external/mit/libcbor/dist/docs/doxygen/tags_8h_source.html                       |    87 +
 external/mit/libcbor/dist/docs/doxygen/unicode_8c.html                           |   207 +
 external/mit/libcbor/dist/docs/doxygen/unicode_8c_source.html                    |    90 +
 external/mit/libcbor/dist/docs/doxygen/unicode_8h.html                           |   164 +
 external/mit/libcbor/dist/docs/doxygen/unicode_8h_source.html                    |    89 +
 external/mit/libcbor/dist/docs/doxygen/union__cbor__double__helper.html          |   131 +
 external/mit/libcbor/dist/docs/doxygen/union__cbor__float__helper.html           |   131 +
 external/mit/libcbor/dist/docs/doxygen/unioncbor__item__metadata.html            |   221 +
 external/mit/libcbor/dist/docs/index.html                                        |   114 +
 external/mit/libcbor/dist/docs/index.html.erb                                    |   114 +
 external/mit/libcbor/dist/docs/params.json                                       |     1 +
 external/mit/libcbor/dist/docs/release_meta.rb                                   |    13 +
 external/mit/libcbor/dist/docs/stylesheets/github-light.css                      |   115 +
 external/mit/libcbor/dist/docs/stylesheets/normalize.css                         |   424 +
 external/mit/libcbor/dist/docs/stylesheets/stylesheet.css                        |   245 +
 external/mit/libcbor/dist/examples/CMakeLists.txt                                |    24 +
 external/mit/libcbor/dist/examples/cjson2cbor.c                                  |   145 +
 external/mit/libcbor/dist/examples/create_items.c                                |    33 +
 external/mit/libcbor/dist/examples/data/floats.cbor                              |   Bin 
 external/mit/libcbor/dist/examples/data/indef_string.cbor                        |     1 +
 external/mit/libcbor/dist/examples/data/integer.cbor                             |     1 +
 external/mit/libcbor/dist/examples/data/json_example.json                        |     6 +
 external/mit/libcbor/dist/examples/data/map.cbor                                 |   Bin 
 external/mit/libcbor/dist/examples/data/nested_array.cbor                        |     1 +
 external/mit/libcbor/dist/examples/data/tagged_date.cbor                         |     1 +
 external/mit/libcbor/dist/examples/hello.c                                       |    16 +
 external/mit/libcbor/dist/examples/readfile.c                                    |    78 +
 external/mit/libcbor/dist/examples/sort.c                                        |    41 +
 external/mit/libcbor/dist/examples/streaming_parser.c                            |    58 +
 external/mit/libcbor/dist/misc/bytes.rb                                          |     3 +
 external/mit/libcbor/dist/misc/file_to_bytes.rb                                  |     5 +
 external/mit/libcbor/dist/misc/hooks/pre-commit                                  |    29 +
 external/mit/libcbor/dist/misc/repeat.rb                                         |     3 +
 external/mit/libcbor/dist/misc/seq.rb                                            |     3 +
 external/mit/libcbor/dist/oss-fuzz/build.sh                                      |    28 +
 external/mit/libcbor/dist/oss-fuzz/cbor_load_fuzzer.cc                           |    37 +
 external/mit/libcbor/dist/refresh_templates.sh                                   |     4 +
 external/mit/libcbor/dist/release.sh                                             |    88 +
 external/mit/libcbor/dist/src/CMakeLists.txt                                     |    34 +
 external/mit/libcbor/dist/src/allocators.c                                       |    19 +
 external/mit/libcbor/dist/src/cbor.c                                             |   347 +
 external/mit/libcbor/dist/src/cbor.h                                             |    67 +
 external/mit/libcbor/dist/src/cbor/arrays.c                                      |   135 +
 external/mit/libcbor/dist/src/cbor/arrays.h                                      |   113 +
 external/mit/libcbor/dist/src/cbor/bytestrings.c                                 |   117 +
 external/mit/libcbor/dist/src/cbor/bytestrings.h                                 |   129 +
 external/mit/libcbor/dist/src/cbor/callbacks.c                                   |   116 +
 external/mit/libcbor/dist/src/cbor/callbacks.h                                   |   186 +
 external/mit/libcbor/dist/src/cbor/common.c                                      |   160 +
 external/mit/libcbor/dist/src/cbor/common.h                                      |   292 +
 external/mit/libcbor/dist/src/cbor/configuration.h.in                            |    15 +
 external/mit/libcbor/dist/src/cbor/data.h                                        |   232 +
 external/mit/libcbor/dist/src/cbor/encoding.c                                    |   192 +
 external/mit/libcbor/dist/src/cbor/encoding.h                                    |   107 +
 external/mit/libcbor/dist/src/cbor/floats_ctrls.c                                |   183 +
 external/mit/libcbor/dist/src/cbor/floats_ctrls.h                                |   204 +
 external/mit/libcbor/dist/src/cbor/internal/builder_callbacks.c                  |   377 +
 external/mit/libcbor/dist/src/cbor/internal/builder_callbacks.h                  |    81 +
 external/mit/libcbor/dist/src/cbor/internal/encoders.c                           |    98 +
 external/mit/libcbor/dist/src/cbor/internal/encoders.h                           |    36 +
 external/mit/libcbor/dist/src/cbor/internal/loaders.c                            |    80 +
 external/mit/libcbor/dist/src/cbor/internal/loaders.h                            |    36 +
 external/mit/libcbor/dist/src/cbor/internal/memory_utils.c                       |    44 +
 external/mit/libcbor/dist/src/cbor/internal/memory_utils.h                       |    39 +
 external/mit/libcbor/dist/src/cbor/internal/stack.c                              |    32 +
 external/mit/libcbor/dist/src/cbor/internal/stack.h                              |    41 +
 external/mit/libcbor/dist/src/cbor/internal/unicode.c                            |    94 +
 external/mit/libcbor/dist/src/cbor/internal/unicode.h                            |    32 +
 external/mit/libcbor/dist/src/cbor/ints.c                                        |   191 +
 external/mit/libcbor/dist/src/cbor/ints.h                                        |   209 +
 external/mit/libcbor/dist/src/cbor/maps.c                                        |   125 +
 external/mit/libcbor/dist/src/cbor/maps.h                                        |   111 +
 external/mit/libcbor/dist/src/cbor/serialization.c                               |   286 +
 external/mit/libcbor/dist/src/cbor/serialization.h                               |   126 +
 external/mit/libcbor/dist/src/cbor/streaming.c                                   |   667 ++
 external/mit/libcbor/dist/src/cbor/streaming.h                                   |    36 +
 external/mit/libcbor/dist/src/cbor/strings.c                                     |   133 +
 external/mit/libcbor/dist/src/cbor/strings.h                                     |   151 +
 external/mit/libcbor/dist/src/cbor/tags.c                                        |    43 +
 external/mit/libcbor/dist/src/cbor/tags.h                                        |    64 +
 external/mit/libcbor/dist/src/libcbor.pc.in                                      |    11 +
 external/mit/libcbor/dist/test/CMakeLists.txt                                    |    17 +
 external/mit/libcbor/dist/test/assertions.c                                      |    46 +
 external/mit/libcbor/dist/test/assertions.h                                      |    21 +
 external/mit/libcbor/dist/test/bad_inputs_test.c                                 |   121 +
 external/mit/libcbor/dist/test/callbacks_test.c                                  |    40 +
 external/mit/libcbor/dist/test/cbor_serialize_test.c                             |   323 +
 external/mit/libcbor/dist/test/cbor_stream_decode_test.c                         |   547 ++
 external/mit/libcbor/dist/test/copy_test.c                                       |   207 +
 external/mit/libcbor/dist/test/cpp_linkage_test.cpp                              |    11 +
 external/mit/libcbor/dist/test/data/callbacks.cbor                               |   Bin 
 external/mit/libcbor/dist/test/data/callbacks.diag                               |     1 +
 external/mit/libcbor/dist/test/data/pretty.cbor                                  |     3 +
 external/mit/libcbor/dist/test/data/pretty.diag                                  |     1 +
 external/mit/libcbor/dist/test/fuzz_test.c                                       |    87 +
 external/mit/libcbor/dist/test/memory_allocation_test.c                          |   282 +
 external/mit/libcbor/dist/test/pretty_printer_test.c                             |    43 +
 external/mit/libcbor/dist/test/stream_expectations.c                             |   304 +
 external/mit/libcbor/dist/test/stream_expectations.c.erb                         |   199 +
 external/mit/libcbor/dist/test/stream_expectations.h                             |   147 +
 external/mit/libcbor/dist/test/type_0_encoders_test.c                            |    74 +
 external/mit/libcbor/dist/test/type_0_test.c                                     |   147 +
 external/mit/libcbor/dist/test/type_1_encoders_test.c                            |    75 +
 external/mit/libcbor/dist/test/type_1_test.c                                     |   102 +
 external/mit/libcbor/dist/test/type_2_encoders_test.c                            |    41 +
 external/mit/libcbor/dist/test/type_2_test.c                                     |   327 +
 external/mit/libcbor/dist/test/type_3_encoders_test.c                            |    41 +
 external/mit/libcbor/dist/test/type_3_test.c                                     |   242 +
 external/mit/libcbor/dist/test/type_4_encoders_test.c                            |    55 +
 external/mit/libcbor/dist/test/type_4_test.c                                     |   127 +
 external/mit/libcbor/dist/test/type_5_encoders_test.c                            |    40 +
 external/mit/libcbor/dist/test/type_5_test.c                                     |   190 +
 external/mit/libcbor/dist/test/type_6_encoders_test.c                            |    35 +
 external/mit/libcbor/dist/test/type_6_test.c                                     |   101 +
 external/mit/libcbor/dist/test/type_7_encoders_test.c                            |   106 +
 external/mit/libcbor/dist/test/type_7_test.c                                     |   107 +
 external/mit/libcbor/dist/test/unicode_test.c                                    |    41 +
 445 files changed, 56805 insertions(+), 0 deletions(-)

diffs (truncated from 58532 to 300 lines):

diff -r 47d9e48bf93e -r ec2a38dd9d98 external/mit/libcbor/dist/.clang-format
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libcbor/dist/.clang-format   Tue Mar 03 00:34:28 2020 +0000
@@ -0,0 +1,151 @@
+---
+Language:        Cpp
+# BasedOnStyle:  Google
+AccessModifierOffset: -1
+AlignAfterOpenBracket: Align
+AlignConsecutiveAssignments: false
+AlignConsecutiveDeclarations: false
+AlignEscapedNewlines: Left
+AlignOperands:   true
+AlignTrailingComments: true
+AllowAllParametersOfDeclarationOnNextLine: true
+AllowShortBlocksOnASingleLine: false
+AllowShortCaseLabelsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: All
+AllowShortIfStatementsOnASingleLine: true
+AllowShortLoopsOnASingleLine: true
+AlwaysBreakAfterDefinitionReturnType: None
+AlwaysBreakAfterReturnType: None
+AlwaysBreakBeforeMultilineStrings: true
+AlwaysBreakTemplateDeclarations: true
+BinPackArguments: true
+BinPackParameters: true
+BraceWrapping:   
+  AfterClass:      false
+  AfterControlStatement: false
+  AfterEnum:       false
+  AfterFunction:   false
+  AfterNamespace:  false
+  AfterObjCDeclaration: false
+  AfterStruct:     false
+  AfterUnion:      false
+  AfterExternBlock: false
+  BeforeCatch:     false
+  BeforeElse:      false
+  IndentBraces:    false
+  SplitEmptyFunction: true
+  SplitEmptyRecord: true
+  SplitEmptyNamespace: true
+BreakBeforeBinaryOperators: None
+BreakBeforeBraces: Attach
+BreakBeforeInheritanceComma: false
+BreakInheritanceList: BeforeColon
+BreakBeforeTernaryOperators: true
+BreakConstructorInitializersBeforeComma: false
+BreakConstructorInitializers: BeforeColon
+BreakAfterJavaFieldAnnotations: false
+BreakStringLiterals: true
+ColumnLimit:     80
+CommentPragmas:  '^ IWYU pragma:'
+CompactNamespaces: false
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+ConstructorInitializerIndentWidth: 4
+ContinuationIndentWidth: 4
+Cpp11BracedListStyle: true
+DerivePointerAlignment: true
+DisableFormat:   false
+ExperimentalAutoDetectBinPacking: false
+FixNamespaceComments: true
+ForEachMacros:   
+  - foreach
+  - Q_FOREACH
+  - BOOST_FOREACH
+IncludeBlocks:   Preserve
+IncludeCategories: 
+  - Regex:           '^<ext/.*\.h>'
+    Priority:        2
+  - Regex:           '^<.*\.h>'
+    Priority:        1
+  - Regex:           '^<.*'
+    Priority:        2
+  - Regex:           '.*'
+    Priority:        3
+IncludeIsMainRegex: '([-_](test|unittest))?$'
+IndentCaseLabels: true
+IndentPPDirectives: None
+IndentWidth:     2
+IndentWrappedFunctionNames: false
+JavaScriptQuotes: Leave
+JavaScriptWrapImports: true
+KeepEmptyLinesAtTheStartOfBlocks: false
+MacroBlockBegin: ''
+MacroBlockEnd:   ''
+MaxEmptyLinesToKeep: 1
+NamespaceIndentation: None
+ObjCBinPackProtocolList: Never
+ObjCBlockIndentWidth: 2
+ObjCSpaceAfterProperty: false
+ObjCSpaceBeforeProtocolList: true
+PenaltyBreakAssignment: 2
+PenaltyBreakBeforeFirstCallParameter: 1
+PenaltyBreakComment: 300
+PenaltyBreakFirstLessLess: 120
+PenaltyBreakString: 1000
+PenaltyBreakTemplateDeclaration: 10
+PenaltyExcessCharacter: 1000000
+PenaltyReturnTypeOnItsOwnLine: 200
+PointerAlignment: Left
+RawStringFormats: 
+  - Language:        Cpp
+    Delimiters:      
+      - cc
+      - CC
+      - cpp
+      - Cpp
+      - CPP
+      - 'c++'
+      - 'C++'
+    CanonicalDelimiter: ''
+    BasedOnStyle:    google
+  - Language:        TextProto
+    Delimiters:      
+      - pb
+      - PB
+      - proto
+      - PROTO
+    EnclosingFunctions: 
+      - EqualsProto
+      - EquivToProto
+      - PARSE_PARTIAL_TEXT_PROTO
+      - PARSE_TEST_PROTO
+      - PARSE_TEXT_PROTO
+      - ParseTextOrDie
+      - ParseTextProtoOrDie
+    CanonicalDelimiter: ''
+    BasedOnStyle:    google
+ReflowComments:  true
+SortIncludes:    true
+SortUsingDeclarations: true
+SpaceAfterCStyleCast: false
+SpaceAfterTemplateKeyword: true
+SpaceBeforeAssignmentOperators: true
+SpaceBeforeCpp11BracedList: false
+SpaceBeforeCtorInitializerColon: true
+SpaceBeforeInheritanceColon: true
+SpaceBeforeParens: ControlStatements
+SpaceBeforeRangeBasedForLoopColon: true
+SpaceInEmptyParentheses: false
+SpacesBeforeTrailingComments: 2
+SpacesInAngles:  false
+SpacesInContainerLiterals: true
+SpacesInCStyleCastParentheses: false
+SpacesInParentheses: false
+SpacesInSquareBrackets: false
+Standard:        Auto
+StatementMacros: 
+  - Q_UNUSED
+  - QT_REQUIRE_VERSION
+TabWidth:        8
+UseTab:          Never
+...
+
diff -r 47d9e48bf93e -r ec2a38dd9d98 external/mit/libcbor/dist/.travis-qemu.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libcbor/dist/.travis-qemu.sh Tue Mar 03 00:34:28 2020 +0000
@@ -0,0 +1,137 @@
+#!/bin/bash
+# Based on a test script from avsm/ocaml repo https://github.com/avsm/ocaml
+# Adapted from https://www.tomaz.me/2013/12/02/running-travis-ci-tests-on-arm.html
+
+set -e
+
+CHROOT_DIR=/tmp/arm-chroot
+MIRROR=http://archive.raspbian.org/raspbian
+VERSION=wheezy
+CHROOT_ARCH=armhf
+
+# Debian package dependencies for the host
+HOST_DEPENDENCIES="debootstrap qemu-user-static binfmt-support sbuild"
+
+# Debian package dependencies for the chrooted environment
+GUEST_DEPENDENCIES="cmake git clang-format"
+
+function setup_arm_chroot {
+       # Host dependencies
+       sudo apt-get install -qq -y ${HOST_DEPENDENCIES}
+
+       # Create chrooted environment
+       sudo mkdir ${CHROOT_DIR}
+       sudo debootstrap --foreign --no-check-gpg --include=fakeroot,build-essential \
+               --arch=${CHROOT_ARCH} ${VERSION} ${CHROOT_DIR} ${MIRROR}
+       sudo cp /usr/bin/qemu-arm-static ${CHROOT_DIR}/usr/bin/
+       sudo chroot ${CHROOT_DIR} ./debootstrap/debootstrap --second-stage
+       sudo sbuild-createchroot --arch=${CHROOT_ARCH} --foreign --setup-only \
+               ${VERSION} ${CHROOT_DIR} ${MIRROR}
+
+       # Create file with environment variables which will be used inside chrooted
+       # environment
+       echo "export ARCH=${ARCH}" > envvars.sh
+       echo "export TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR}" >> envvars.sh
+       chmod a+x envvars.sh
+
+       # Install dependencies inside chroot
+       sudo chroot ${CHROOT_DIR} apt-get update
+       sudo chroot ${CHROOT_DIR} apt-get --allow-unauthenticated install \
+               -qq -y ${GUEST_DEPENDENCIES}
+
+       # Create build dir and copy travis build files to our chroot environ    ment
+       sudo mkdir -p ${CHROOT_DIR}/${TRAVIS_BUILD_DIR}
+       sudo rsync -a ${TRAVIS_BUILD_DIR}/ ${CHROOT_DIR}/${TRAVIS_BUILD_DIR}/
+
+       # Indicate chroot environment has been set up
+       sudo touch ${CHROOT_DIR}/.chroot_is_done
+
+       # Call ourselves again which will cause tests to run
+       sudo chroot ${CHROOT_DIR} bash -c "cd ${TRAVIS_BUILD_DIR} && ./.travis-qemu.sh"
+}
+
+
+if [ "${ARCH}" = "arm" ]; then
+       if [ -e "/.chroot_is_done" ]; then
+               # We are inside ARM chroot
+               echo "Running inside chrooted environment, will execute only tests"
+
+               . ./envvars.sh
+
+               # We need CMocka since the executables are dynamically linked
+               git clone git://git.cryptomilk.org/projects/cmocka.git
+               mkdir cmocka_build && cd cmocka_build
+               cmake ../cmocka
+               make VERBOSE=1
+               make install
+               cd ..
+
+               # Hack: We don't have the right CMake (takes too long to compile), but this works
+               ctest -VV
+       else
+               # Compilation on QEMU is too slow and times out on Travis. Crosscompile at the host
+               echo "Initial execution on ARM environment, will crosscompile"
+               arm-linux-gnueabihf-gcc-4.6 -v
+
+               # Crosscompile CMocka
+               pushd ${HOME}
+               git clone git://git.cryptomilk.org/projects/cmocka.git
+               mkdir cmocka_build && cd cmocka_build
+               cmake ../cmocka \
+                               -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc-4.6
+               make VERBOSE=1
+               sudo make install
+               cd ..
+               rm -rf cmocka cmocka_build
+               popd
+
+               # Crosscompile libcbor
+               cmake ${SOURCE} \
+                               -DCBOR_CUSTOM_ALLOC=ON \
+                               -DCMAKE_BUILD_TYPE=Debug \
+                               -DWITH_TESTS=ON \
+                               -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc-4.6
+               make VERBOSE=1
+
+               # ARM test run, need to set up chrooted environment first
+               echo "Setting up chrooted ARM environment"
+               setup_arm_chroot
+       fi
+else
+       # Proceed as normal
+       gem install coveralls-lcov
+       pushd ${HOME}
+       git clone git://git.cryptomilk.org/projects/cmocka.git
+       mkdir cmocka_build && cd cmocka_build
+       cmake ../cmocka
+       make -j 2
+       sudo make install
+       cd ..
+       rm -rf cmocka cmocka_build
+       popd
+
+       echo "Running tests"
+       cppcheck . --error-exitcode=1 --suppressions cppcheck_suppressions.txt --force
+
+       clang-format -version
+       clang-format-8 -version
+       ./clang-format.sh
+       git diff-index --quiet HEAD
+
+       cmake \
+               -DCBOR_CUSTOM_ALLOC=ON \
+               -DCMAKE_BUILD_TYPE=Debug \
+               -DSANITIZE=OFF \
+               -DWITH_TESTS=ON \
+               -DCMAKE_PREFIX_PATH=${HOME}/usr/local \
+               .
+       make VERBOSE=1
+
+       ctest -VV
+
+       ctest -T memcheck | tee memcheck.out
+       if grep -q 'Memory Leak\|IPW\|Uninitialized Memory Conditional\|Uninitialized Memory Read' memcheck.out; then
+               exit 1
+       fi
+fi
+
diff -r 47d9e48bf93e -r ec2a38dd9d98 external/mit/libcbor/dist/.travis.yml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libcbor/dist/.travis.yml     Tue Mar 03 00:34:28 2020 +0000
@@ -0,0 +1,60 @@



Home | Main Index | Thread Index | Old Index