GitHub / intel/tinycbor / commits
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 49d3a238 |
CI: enable VS2026 in AppVeyor
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | 23 days ago | |
| 9441b2ca |
Bump actions/checkout from 6 to 7
Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: Thiago Macieira <t****a@i****m> |
2 months ago | |
| 76d7a29c |
compilersupport: fix build with GCC < 11
Signed-off-by: Florian Larysch <f****l@n****e> |
Florian Larysch <f****l@n****e>
Committed by: Thiago Macieira <t****a@i****m> |
5 months ago | |
| aa3420c9 |
CMake: don't depend on C++ compiler for main build
Signed-off-by: Florian Larysch <f****l@n****e> |
Florian Larysch <f****l@n****e>
Committed by: Thiago Macieira <t****a@i****m> |
5 months ago | |
| c2c569fb |
install json2cbor
Signed-off-by: Florian Larysch <f****l@n****e> |
Florian Larysch <l****h@f****h>
Committed by: Thiago Macieira <t****a@i****m> |
5 months ago | |
| ff7a23a8 |
CI: Disable building the tools for macOS small
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | 7 months ago | |
| 9487c1b3 |
CI: update the macOS images to more modern versions
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | 7 months ago | |
| 09496c64 |
compilersupport: add support for C23's `nullptr`
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | 9 months ago | |
| 91d1c50d |
compilersupport: fix compilation in C23 mode
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | 9 months ago | |
| 0cd8b054 |
cbortojson: don't hardcode OS support for fopencookie()
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | 9 months ago | |
| 17362494 |
Bump actions/checkout from 5 to 6
Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: Thiago Macieira <t****a@i****m> |
9 months ago | |
| 48a22bdd |
fix build on i386 without SSE2
Signed-off-by: Florian Larysch <f****l@n****e> |
Florian Larysch <f****l@n****e>
Committed by: Thiago Macieira <t****a@i****m> |
about 1 year ago | |
| 3982a3e8 |
Bump actions/checkout from 4 to 5
Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: Thiago Macieira <t****a@i****m> |
about 1 year ago | |
| 8c72b3e9 | fix installdir in cmake build |
jhlee525 <b****0@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| 0e224320 | change cmake_source_dir to project_source_dir so that FetchContent can work f... |
jhlee525 <b****0@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| 45e46410 |
Fix build with GCC < 11: [[fallthrough]] is supported but not allowed in C
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 1bbc17b0 |
CMake: generate and install the tinycbor.pc pkgconfig file
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| e96a3fb4 |
Remove VERSION file
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 6442e749 |
CMake: add build of examples
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| ef6f9234 |
simplereader: Fix warning about use of pointer variable after free()
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 7a3b6ab7 |
CMake: fix the option() order
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 7b607eb5 |
Remove the old Makefile and qmake buildsystem files
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 814b8eac |
CMake: add the other, Qt-based tests
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| ff33012d |
CMake: enable building the tools
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 09e80842 |
CMake: use BUILD_TESTING to control whether we shall enable testing
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| be2ff257 |
Add newline to tinycbor-export.h define CBOR_API
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 4682eaa1 | Pretty: ensure recursionsLeft is not zero before decrementing it |
Nicolas Iooss <n****s@l****r>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| f9650257 | Pretty: fix Undefined Behavior with NaN floats |
Nicolas Iooss <n****s@l****r>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| 0e2b305e |
tst_Encoder: stop using QVariant::Type in favour of QMetaType::Type
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| cb58547a |
CI: enable -Werror
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| e0b0be8c |
CI: add an ASan step and split the small-build from test runs
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 6d31efad | CBOR-to-JSON: fix integer overflow when computing allocation size |
Nicolas Iooss <n****s@l****r>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| 628dee0d | CBOR-to-JSON: fix memory leak when parsing invalid CBOR |
Nicolas Iooss <n****s@l****r>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| 8684cdef |
Move the source-selection macros to a common header
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| d0a6def0 |
CBOR-to-JSON: fix UB in converting out-of-bounds FP to integer
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 52cc7153 |
CMake: add option() to control the main library features
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| b91dc8af |
CI: switch testing to using CMake
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| a1f8bd27 |
CMake: reformat the file a little
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 85835b68 |
CMake: enable compiler warnings for the library build
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 060da248 |
CMake: link shared libraries with -z defs (a.k.a. --no-undefined)
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 5132bd45 |
Update to say version 0.7.0
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 3444a63e |
CMake: rename the CMake files to "TinyCBOR"
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| c3f5fac2 |
CMake: build the shared library using hidden visibility
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 39be8706 |
CMake: update to say version 7.0
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| ca1b419b |
CMake: force building the library as C99
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 582423c9 | CMake: Fix build: add new sources since CMakeLists.txt was created | Thiago Macieira <t****a@i****m> | over 1 year ago | |
| c52d731e |
cbor.h: let tinycbor-export.h define CBOR_API
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 6d932c01 |
CMake: generate tinycbor-version.h
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| c60b710f |
tst_Parser: fix build: define CBOR_PARSER_MAX_RECURSIONS
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 5bdc6ea3 | Always init CborEncoder::data in cbor_encoder_init_writer() |
Marc Mutz <m****z@q****o>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| b2dbc005 |
CI: Remove .travis.yml file
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 53ff130a |
tst_Parser: replace Q_ASSERT(false) with Q_UNREACHABLE()
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| ba42254b |
Enable CI checking in the dev branch too
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 0f3008d5 |
AppVeyor: replace Qt 5.13+MSVC 2017 with Qt 6.8+MSVC 2022
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 4050fa58 |
tst_Parser: add some testing rows for floating point data
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 92a02529 |
compilersupport_p.h: add a macro for the fallthrough attribute
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 64da0f47 |
CBOR-to-JSON: print integers with full precision
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 1577f3b5 |
tst_ToJson: add a test for the ExpectedBase64url tag too
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| e072bc1d |
CBOR-to-JSON: do properly escape JSON strings
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| e6924451 |
CBOR-to-JSON: Limit how deep we process nested containers
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 1 year ago | |
| 1bcde877 |
Use cbor_value_get_next_byte instead of accessing structure directly
Signed-off-by: linraymond2006 <l****6@g****m> |
linraymond2006 <l****6@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| aa86c9d0 | Corrected syntax error in examples/simplereader.c |
LinRaymond2006 <l****6@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| 2dde97f0 | Prevent a -Wundef warning |
Giuseppe D'Angelo <g****o@k****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 1 year ago | |
| 2fc4c35f |
json2cbor: don't use the buffer variable after realloc()
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | almost 2 years ago | |
| c0aad2fb |
cborparser_dup_string: don't modify *buffer until success
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | almost 2 years ago | |
| 26c63e3d |
CI: add 'permissions' token to the GitHub actions file
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| 7520449b | add required SECURITY.md file for OSSF Scorecard compliance |
Robert Dower <r****r@i****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 2 years ago | |
| 4df5e4f7 |
Tests: disable the C90 test
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| ccdd9c1c |
CI: unbreak macOS: need to have CXX set
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| db9f29d4 |
CI/Makefile: do allow Qt 6
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| ffc3bd6f |
CI: remove Valgrind on macOS: it doesn't work
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| 24de1b06 |
CI: Get Homebrew to use a bottle (precompiled) Qt
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| 64ce7adf |
CI: Run the configure step in verbose mode and print the config output
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| 268a61ed |
Makefile: disable cJSON support when building without math support
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 2 years ago | |
| b768196e | follow-up commit to 75eaa19 |
lightyear15 <g****8@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 2 years ago | |
| 0d553827 |
Makefile: Fix build with Clang
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | almost 3 years ago | |
| c8e12e90 | CI: add dependabot configuration |
Peter A. Jonsson <j****a@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
almost 3 years ago | |
| 4dcad260 | CI: add Github CI |
Peter A. Jonsson <j****a@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
almost 3 years ago | |
| 65a41470 | Fix Doxygen warnings |
Peter A. Jonsson <j****a@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
almost 3 years ago | |
| 8b3e97d6 | Update .appveyor.yml from QT v6.1 --> v6.5 |
Brian <m****e@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
almost 3 years ago | |
| 37d1a6de | Add CMake support |
Samuel Debionne <s****e@e****r>
Committed by: Thiago Macieira <t****a@i****m> |
about 3 years ago | |
| 04b306c4 | Use internal linkage for data.cpp files |
Piotr Wierciński <l****y@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
about 3 years ago | |
| aee4f97f | tst_Encoder: port away from Q_FOREACH |
Marc Mutz <m****z@q****o>
Committed by: Thiago Macieira <t****a@i****m> |
about 3 years ago | |
| fd2f6cf9 |
tinycbor: fix build with gcc-13
Signed-off-by: Thiago Macieira <t****a@i****m> |
Martin Jansa <M****a@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 3 years ago | |
| 0b2e66d2 | Added possibility to include external config file. |
piotreklc60 <p****0@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 3 years ago | |
| 3cba6b11 | Use _Float16 for half conversions if available |
Kal Conley <k****y@d****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 3 years ago | |
| 24556933 | fix(pretty): advance to the end of the iterator if recursion limit was hit |
Nicolas Chataing <n****g@l****r>
Committed by: Thiago Macieira <t****a@i****m> |
over 3 years ago | |
| 9c57e53a |
Tools: fix JSON misspelling in cbordump
Signed-off-by: Nicolas Iooss <n****s@l****r> |
Nicolas Iooss <n****s@l****r>
Committed by: Thiago Macieira <t****a@i****m> |
over 3 years ago | |
| cd3cfc3b | Add support for ICCARM |
Frederic-Philippe Metz <m****z@m****t>
Committed by: Thiago Macieira <t****a@i****m> |
almost 4 years ago | |
| e27261ed |
Parser/Validation: Add a test for good data
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | almost 4 years ago | |
| 9e97d078 |
fix(validation): check CompleteData after iteration
Signed-off-by: Thiago Macieira <t****a@i****m> |
Florian Warzecha <f****a@w****m>
Committed by: Thiago Macieira <t****a@i****m> |
almost 4 years ago | |
| 75eaa19e | Facilitate replacement of standard library memory management functions |
Andy Huffman <a****n@a****m>
Committed by: Thiago Macieira <t****a@i****m> |
about 4 years ago | |
| 590c28a0 | Removed `#define _POSIX_C_SOURCE`s where `#define _GNU_SOURCE` was also defin... |
Khyber Sen <k****n@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
about 4 years ago | |
| 0a488a57 | use cbor_ntohll instead of ntohl directly |
mkm <m****m@n****m>
Committed by: Thiago Macieira <t****a@i****m> |
about 4 years ago | |
| 22c29808 | If the buffer pointer is a null pointer then don't apply an offset to it |
Hamilton Chapman <h****n@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 4 years ago | |
| 02a7efcf |
Makefile: add -Werror=discarded-qualifiers to the C flags
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | over 4 years ago | |
| 5f26eaf8 |
Makefile: add DISABLE_WERROR
Signed-off-by: Fabrice Fontaine <f****e@g****m> |
Fabrice Fontaine <f****e@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
over 4 years ago | |
| 6176e0a2 | Makefile: Use file name instead of file descriptor for .config target |
Alfie Fresta <a****a@g****m>
Committed by: Thiago Macieira <t****a@i****m> |
almost 5 years ago | |
| 6e3333eb |
Encoder: add unit test for cbor_encode_raw
Signed-off-by: Thiago Macieira <t****a@i****m> |
Thiago Macieira <t****a@i****m> | almost 5 years ago | |
| 10f73992 | .gitignore: ignore the c90 test too | Thiago Macieira <t****a@i****m> | almost 5 years ago |