Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-22Add fixed length bytes to alltypes test case (issue #244)Petteri Aimonen
2015-01-11Add oneofs to AllTypes test casePetteri Aimonen
2014-12-26Move malloc support to tests/common directoryPetteri Aimonen
2014-08-10Separate field iterator logic from pb_decode to pb_common.Petteri Aimonen
2014-05-17Fix bug in alltypes test case that made fuzzing difficult.Petteri Aimonen
2014-03-16Documentation updatesPetteri Aimonen
2014-03-15Finish the alltypes_pointer testcase, use valgrind if available.Petteri Aimonen
2014-03-15Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.Petteri Aimonen
This makes the internal logic much simpler, and also keeps the datatypes more similar between STATIC/POINTER cases. It will still be a bit cumbersome to use because of variable length array member. Macros PB_BYTES_ARRAY_T(n) and PB_BYTES_ARRAY_T_ALLOCSIZE(n) have been added to make life a bit easier. This has the drawback that it is no longer as easy to use externally allocated byte array as input for bytes field in pointer mode. However, this is still easy to do using callbacks, so it shouldn't be a large issue.
2014-03-12Add pb_release() functionPetteri Aimonen
2014-03-10More fixes for dynamic allocationPetteri Aimonen
2014-02-24Beginnings of malloc support in pb_decodePetteri Aimonen
2013-12-29Fix build on WindowsPetteri Aimonen
2013-12-29Bring alltypes_pointer testcase up to datePetteri Aimonen
2013-12-29Improve alltypes_pointer test casePetteri Aimonen
2013-12-29Organize allocation logic in generator, add pb_bytes_ptr_t.Petteri Aimonen
Allocation decision is now made before the field data type is decided. This way the data type decisions can more cleanly account for the allocation type, i.e. FT_DEFAULT logic etc. Added pb_bytes_ptr_t for pointer-allocated bytes-fields. There is no point generating separate structs for these, as they would all be of the same type.
2013-12-29Generating and encoding messages with dynamic allocaitonMartin Donath